Re: NETIF_F_IP_CSUM v NETIF_F_HW_CSUM ?

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

 



Thanks for response.

On Sunday, February 23, 2003, at 06:32 AM, Rask Ingemann Lambertsen wrote:


I'm trying to understand what is actually meant by the comments in
<skbuff.h> regarding checksuming on receive and output.
Me too. I find the comments to be vague and ambiguous.

OUTPUT:
What is not clear to me is what the difference on output is between
NETIF_F_HW_CSUM and NETIF_F_IP_CSUM.
NETIF_F_HW_CSUM means that the device can checksum any packet that uses a checksumming algorithm like the one used for TCP/IP and UDP/IP, while a NETIF_F_IP_CSUM device can only do so for TCP and UDP on top of IPv4.
What would be examples of this? TCP/UDP inside of IPV6? Are there other examples? And is the expectation that the controller automatically figures out where the TCP/UDP headers are or they are told to the controller as some offset from a known location?

The comments in skbuff.h tell you to record the checksum at a specific place. Does this mean that you should modify the skb given to dev->hard_start_xmit()?

- kumar

-
: 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