diff options
author | Jesse Gross <jesse@nicira.com> | 2011-01-09 06:23:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-09 23:35:35 -0800 |
commit | 02932ce9e2c136e6fab2571c8e0dd69ae8ec9853 (patch) | |
tree | fd79af457060855375d9297755c48f5105912638 /block/blk-iopoll.c | |
parent | 91ecb63c074d802f8cf103f1dafb4aed24d0f24c (diff) | |
download | op-kernel-dev-02932ce9e2c136e6fab2571c8e0dd69ae8ec9853.zip op-kernel-dev-02932ce9e2c136e6fab2571c8e0dd69ae8ec9853.tar.gz |
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 'block/blk-iopoll.c')
0 files changed, 0 insertions, 0 deletions