Re: [PATCH v2] netdev:bfin_mac: reclaim and free tx skb as soon as possible after transfer

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junchang Wang
Date: Thursday, June 3, 2010 - 1:57 am

Hi Eric,

On Thu, Jun 3, 2010 at 12:05 PM, Eric Dumazet <eric.dumazet@gmail.com> wrote:

Good suggestion for drivers. But I wonder whether there are stats for
received packets in core network stack.

I.e., can I replace "dev->stats.rx_packets++" and "dev->stats.rx_bytes
+= (skb->len);" with something already maintained by core stack? I
failed to find them.

Thanks.


-- 
--Junchang
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v2] netdev:bfin_mac: reclaim and free tx skb as ..., Junchang Wang, (Thu Jun 3, 1:57 am)