net/enic: set L4 checksum flags for IPv6 packets
authorHyong Youb Kim <hyonkim@cisco.com>
Tue, 23 Jan 2018 01:05:27 +0000 (17:05 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:04:28 +0000 (10:04 +0100)
commitd26ddeaf1120e525f72e79546aa9d7164502f1d7
tree94bb42187ffe2411f7026bd1f37f9babdcba549e
parent1e81dbb5321b2bcfdba41a1f237d6534faef2c6e
net/enic: set L4 checksum flags for IPv6 packets

enic_cq_rx_to_pkt_flags() currently sets checksum good/bad flags only
for IPv4.  The hardware actually validates the TCP/UDP checksum of
IPv6 packets too. Set PKT_RX_L4_CKSUM_{GOOD,BAD} accordingly.

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_rxtx.c