diff options
author | Roger Quadros <rogerq@kernel.org> | 2024-08-29 14:03:21 +0200 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-09-03 10:43:46 +0200 |
commit | 624d3291484f9cada10660f820db926c0bce7741 (patch) | |
tree | f6ff3809df5aa784aa860caa2c42eac3ca497aba /drivers/regulator/db8500-prcmu.c | |
parent | net: ethernet: ti: am65-cpsw: Fix NULL dereference on XDP_TX (diff) | |
download | linux-624d3291484f9cada10660f820db926c0bce7741.tar.xz linux-624d3291484f9cada10660f820db926c0bce7741.zip |
net: ethernet: ti: am65-cpsw: Fix RX statistics for XDP_TX and XDP_REDIRECT
We are not using ndev->stats for rx_packets and rx_bytes anymore.
Instead, we use per CPU stats which are collated in
am65_cpsw_nuss_ndo_get_stats().
Fix RX statistics for XDP_TX and XDP_REDIRECT cases.
Fixes: 8acacc40f733 ("net: ethernet: ti: am65-cpsw: Add minimal XDP support")
Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Julien Panis <jpanis@baylibre.com>
Reviewed-by: MD Danish Anwar <danishanwar@ti.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/regulator/db8500-prcmu.c')
0 files changed, 0 insertions, 0 deletions