netdev
[Top] [All Lists]

Re: zerocopy changes in 3c59x.c

To: Andrew Morton <andrewm@xxxxxxxxxx>
Subject: Re: zerocopy changes in 3c59x.c
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Fri, 26 Jan 2001 03:33:49 -0800 (PST)
Cc: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>, "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>
In-reply-to: <3A714788.82C064BD@xxxxxxxxxx>
References: <3A714788.82C064BD@xxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
Andrew Morton writes:
 > And why do we do this:
 > 
 >             vp->stats.rx_compressed++;
 > 
 > each time we send a frame with hardware checksum?  This is the
 > transmit path, not the receive path.  It seems we're abusing
 > some ppp-related stats here.  What's up?

Every zerocopy driver does this, rx_compressed counts HW csummed
transmit packets, and tx_compressed counts transmit packets
containing more than one buffer.

Later,
David S. Miller
davem@xxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>