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)
commit0363466866d901fbc658f4e63dd61e7cc93dd0af
tree5d2b3f272bb00b51a310ce4fa330817b82c8d346
parent02932ce9e2c136e6fab2571c8e0dd69ae8ec9853
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