tx_interrupt - identifying packet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I wonder HOW could i know which packet was sent with tx_interrupt... to
collect stats on time that sending process takes

I added field to skbuff that is filled for each and every packet - so every
packet is numbered. Unfortunatelly when packet is sent to NIC for
transmission over ethernet cable there is no skb allocated for this packet
any longer.
So HOW can i tell how long tx_interrupt is processed for let's say 56th,
132nd, 239th packet etc.

I mean is there a variable in tx_interrupt() that i can check for which
packet tx_interrupt was called??? some variable that (in some way) controlls
packets being sent?

I am speaking of http://lxr.linux.no/source/drivers/net/8139too.c#L1721
routine in 8139too.c in 2.4.20 kernel.


regards

adam



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux