datapath: Compute checksum in skb_gso_segment() if needed
authorThomas Graf <tgraf@suug.ch>
Tue, 17 Dec 2013 01:03:45 +0000 (17:03 -0800)
committerJesse Gross <jesse@nicira.com>
Tue, 17 Dec 2013 01:03:45 +0000 (17:03 -0800)
commit1d04cd4e722c63e8d5564c6c993b04a891f1e867
tree65b510a75f0118bcc595c9363b558ac5eed35706
parent533bea51e95c69ad2c6d8589a11ae25e4dc8db37
datapath: Compute checksum in skb_gso_segment() if needed

The copy & csum optimization is no longer present with zerocopy
enabled. Compute the checksum in skb_gso_segment() directly by
dropping the HW CSUM capability from the features passed in.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c