]> www.infradead.org Git - linux-platform-drivers-x86.git/commit
ice: Refactor Rx checksum checks
authorAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Sat, 16 May 2020 00:42:19 +0000 (17:42 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 May 2020 01:00:35 +0000 (18:00 -0700)
commit13f90b393f7338e6a2b2646fa1b677cc8b50cd23
tree4ebf0ac0f79afedf3a5d97ad5aa4de5e6dc50984
parent7e34786a74e14038faadabb24b0d7f4436961c6b
ice: Refactor Rx checksum checks

We don't need both rx_status and rx_error parameters, as the latter is
a subset of the former. Remove rx_error completely and check the right bit
in rx_status.

Rename rx_status to rx_status0, and rx_status_err1 to
rx_status1. This naming more closely reflects the specification.

Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_txrx_lib.c