[Intel-wired-lan] [PATCH S22 11/16] ice: Add stats for Rx drops at the port level
Bowers, AndrewX
andrewx.bowers at intel.com
Tue Jul 2 22:56:41 UTC 2019
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Wednesday, June 26, 2019 2:20 AM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Creeley, Brett <brett.creeley at intel.com>
> Subject: [Intel-wired-lan] [PATCH S22 11/16] ice: Add stats for Rx drops at the
> port level
>
> From: Brett Creeley <brett.creeley at intel.com>
>
> Currently we are not reporting dropped counts at the port level to ethtool or
> netlink. This was found when debugging Rx dropped issues and the total
> packets sent did not equal the total packets received minus the rx_dropped,
> which was very confusing. To determine dropped counts at the port level we
> need to read the PRTRPB_RDPC register.
> To fix reporting we will store the dropped counts in the PF's rx_discards. This
> will be reported to netlink by storing it in the PF VSI's rx_missed_errors
> signaling that the receiver missed the packet. Also, we will report this to
> ethtool in the rx_dropped.nic field.
>
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_hw_autogen.h | 1 +
> drivers/net/ethernet/intel/ice/ice_main.c | 6 ++++++
> 2 files changed, 7 insertions(+)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list