netdev
[Top] [All Lists]

net_device_stats questions

To: linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
Subject: net_device_stats questions
From: rask@xxxxxxxxxx (Rask Ingemann Lambertsen)
Date: Tue, 1 Apr 2003 19:00:58 +0200
Reply-to: rask@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
Hi.

When updating net_device_stats.tx_bytes, should I just add skb->len (like e.g. 
tulip does) or add skb->len plus any padding (like e.g. 3c59x does)?

Let's say a TX heartbeat error occurs. Am I then supposed to update both 
net_device_stats.tx_errors and net_device_stats.tx_heartbeat_errors or just 
net_device_stats.tx_heartbeat_errors?

Which events should cause an update of net_device_stats.tx_aborted?

Regards,
Rask Ingemann Lambertsen



<Prev in Thread] Current Thread [Next in Thread>
  • net_device_stats questions, Rask Ingemann Lambertsen <=