RE: tx_interrupt - identifying packet

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

 




Perhaps you could create an array of length NUM_TX_DESC.  When a packet is
enqueued in the tx ring, copy your tag from the skb header into the
element of the array that parallels the tx buffer in the ring.  When
tx_interrupt occurs, read the tag back from the array.


which variable tells me about number of descriptor read (packet txed)?

as far as i understand DESC stands for descriptor and descriptor can be
mapped to single packet, right???

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