[Intel-wired-lan] [PATCH iwl-next v1] ice: Add a new counter for Rx EIPE errors
Pucha, HimasekharX Reddy
himasekharx.reddy.pucha at intel.com
Mon Jan 8 04:40:37 UTC 2024
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Jan Sokolowski
> Sent: Wednesday, January 3, 2024 7:41 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: netdev at vger.kernel.org; Sokolowski, Jan <jan.sokolowski at intel.com>; Kitszel, Przemyslaw <przemyslaw.kitszel at intel.com>; Glaza, Jan <jan.glaza at intel.com>; Aniruddha Paul <aniruddha.paul at intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v1] ice: Add a new counter for Rx EIPE errors
>
> From: Aniruddha Paul <aniruddha.paul at intel.com>
>
> HW incorrectly reports EIPE errors on encapsulated packets
> with L2 padding inside inner packet. HW shows outer UDP/IPV4
> packet checksum errors as part of the EIPE flags of the
> Rx descriptor. These are reported only if checksum offload
> is enabled and L3/L4 parsed flag is valid in Rx descriptor.
>
> When that error is reported by HW, we don't act on it
> instead of incrementing main Rx errors statistic as it
> would normally happen.
>
> Add a new statistic to count these errors since we still want
> to print them.
>
> Signed-off-by: Aniruddha Paul <aniruddha.paul at intel.com>
> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel at intel.com>
> Reviewed-by: Jan Glaza <jan.glaza at intel.com>
> Signed-off-by: Jan Sokolowski <jan.sokolowski at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice.h | 1 +
> drivers/net/ethernet/intel/ice/ice_ethtool.c | 1 +
> drivers/net/ethernet/intel/ice/ice_txrx_lib.c | 8 ++++++--
> 3 files changed, 8 insertions(+), 2 deletions(-)
>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha at intel.com> (A Contingent worker at Intel)
More information about the Intel-wired-lan
mailing list