net/enic: fix Tx IP and UDP/TCP checksum offload
authorJohn Daley <johndale@cisco.com>
Fri, 3 Jun 2016 00:22:57 +0000 (17:22 -0700)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 15 Jun 2016 15:13:56 +0000 (17:13 +0200)
commit821e5412a6a2e2766e811bf690831280f9a74818
tree7f291a0a02938fb194feccdbd3fe2cc09c73073d
parent486cd8919f9e97587cab1d5b5a20ed9c348ceea6
net/enic: fix Tx IP and UDP/TCP checksum offload

Private/conflicting ol_flags where used to enable UDP/TCP Tx
offloads. Use the common flags in PKT_TX_L4_MASK to support them.
When updating flags, also do some minor code rearranging for
slightly better performane.

Fixes: fefed3d1e62c ("enic: new driver")
Signed-off-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic.h
drivers/net/enic/enic_rxtx.c