]> git.baikalelectronics.ru Git - kernel.git/commit
net offloading: Convert checksums to use centrally computed features.
authorJesse Gross <jesse@nicira.com>
Sun, 9 Jan 2011 06:23:35 +0000 (06:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jan 2011 07:35:35 +0000 (23:35 -0800)
commit569cc7a5b7dd4affe0a370ecfd82b94a2f3bd314
tree5d2b3f272bb00b51a310ce4fa330817b82c8d346
parent70779b561d2701dee5adda44c47ba352138ca262
net offloading: Convert checksums to use centrally computed features.

In order to compute the features for other offloads (primarily
scatter/gather), we need to first check the ability of the NIC to
offload the checksum for the packet.  Since we have already computed
this, we can directly use the result instead of figuring it out
again.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c