[Intel-wired-lan] [PATCH S44 07/14] ice: Refactor Rx checksum checks

Bowers, AndrewX andrewx.bowers at intel.com
Tue May 26 20:24:38 UTC 2020


> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Friday, May 15, 2020 5:42 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S44 07/14] ice: Refactor Rx checksum
> checks
> 
> From: Anirudh Venkataramanan <anirudh.venkataramanan at intel.com>
> 
> 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 at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_txrx_lib.c | 27 ++++++++-----------
>  1 file changed, 11 insertions(+), 16 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list