diff options
author | Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> | 2020-05-16 03:42:19 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2020-05-28 04:00:35 +0300 |
commit | 13f90b393f7338e6a2b2646fa1b677cc8b50cd23 (patch) | |
tree | 4ebf0ac0f79afedf3a5d97ad5aa4de5e6dc50984 /drivers/net/ethernet/intel/i40e/i40e_main.c | |
parent | 7e34786a74e14038faadabb24b0d7f4436961c6b (diff) | |
download | linux-13f90b393f7338e6a2b2646fa1b677cc8b50cd23.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_main.c')
0 files changed, 0 insertions, 0 deletions