diff options
author | Jesse Gross <jesse@nicira.com> | 2011-01-09 01:23:34 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-10 02:35:35 -0500 |
commit | 02932ce9e2c136e6fab2571c8e0dd69ae8ec9853 (patch) | |
tree | fd79af457060855375d9297755c48f5105912638 /drivers/net/e1000e/netdev.c | |
parent | 91ecb63c074d802f8cf103f1dafb4aed24d0f24c (diff) |
net offloading: Convert skb_need_linearize() to use precomputed features.
This switches skb_need_linearize() to use the features that have
been centrally computed. In doing so, this fixes a problem where
scatter/gather should not be used because the card does not support
checksum offloading on that type of packet. On device registration
we only check that some form of checksum offloading is available if
scatter/gatther is enabled but we must also check at transmission
time. Examples of this include IPv6 or vlan packets on a NIC that
only supports IPv4 offloading.
Signed-off-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/netdev.c')
0 files changed, 0 insertions, 0 deletions