i40e/i40evf: Clean-up Rx packet checksum handling
authorAlexander Duyck <aduyck@mirantis.com>
Mon, 25 Jan 2016 05:17:22 +0000 (21:17 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Feb 2016 22:38:56 +0000 (14:38 -0800)
commitfad57330b6d0710fdf39dc1c2b28ccebb97ae8a1
treec7980cc06585c4db31f7595ece76a7a7f597dc22
parent529f1f652e3c3c6db6ab5a6e3a35469ddfd9575d
i40e/i40evf: Clean-up Rx packet checksum handling

This is mostly a minor clean-up for the Rx checksum path in order to avoid
some of the unnecessary conditional checks that were being applied.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c