linux-stable/drivers
Horatiu Vultur 17b20911fb net: lan966x: Fix the rx drop counter
[ Upstream commit f8c1c66b99 ]

Currently the rx drop is calculated as the sum of multiple HW drop
counters. The issue is that not all the HW drop counters were added for
the rx drop counter. So if for example you have a police that drops
frames, they were not see in the rx drop counter.
Fix this by updating how the rx drop counter is calculated. It is
required to add also RX_RED_PRIO_* HW counters.

Fixes: 12c2d0a5b8 ("net: lan966x: add ethtool configuration and statistics")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://lore.kernel.org/r/20221019083056.2744282-1-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-04 00:00:29 +09:00
..
accessibility
acpi ACPI: PCC: Fix unintentional integer overflow 2022-11-04 00:00:24 +09:00
amba
android
ata ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS 2022-10-29 10:08:30 +02:00
atm
auxdisplay
base
bcma
block drbd: only clone bio if we have a backing device 2022-10-29 10:08:35 +02:00
bluetooth Bluetooth: btintel: Mark Intel controller to support LE_STATES quirk 2022-10-21 12:39:08 +02:00
bus
cdrom
char random: use arch_get_random*_early() in random_init() 2022-11-04 00:00:22 +09:00
clk clk: tegra: Fix Tegra PWM parent clock 2022-10-26 12:53:31 +02:00
clocksource clocksource/drivers/timer-gxp: Add missing error handling in gxp_timer_probe 2022-10-21 12:39:00 +02:00
comedi
connector
counter counter: 104-quad-8: Fix race getting function mode and direction 2022-11-04 00:00:23 +09:00
cpufreq cpufreq: intel_pstate: hybrid: Use known scaling factor for P-cores 2022-11-04 00:00:20 +09:00
cpuidle cpuidle: riscv-sbi: Fix CPU_PM_CPU_IDLE_ENTER_xyz() macro usage 2022-10-21 12:38:56 +02:00
crypto crypto: cavium - prevent integer overflow loading firmware 2022-10-21 12:39:01 +02:00
cxl
dax
dca
devfreq
dio
dma dmaengine: dw-edma: Remove runtime PM support 2022-10-21 12:39:26 +02:00
dma-buf udmabuf: Set ubuf->sg = NULL if the creation of sg table fails 2022-10-21 12:39:13 +02:00
edac
eisa
extcon
firewire
firmware efi: ssdt: Don't free memory if ACPI table was loaded successfully 2022-10-26 12:22:57 +02:00
fpga
fsi fsi: master-ast-cf: Fix missing of_node_put in fsi_master_acf_probe 2022-10-21 12:39:26 +02:00
gnss
gpio
gpu drm/msm/a6xx: Fix kvzalloc vs state_kcalloc usage 2022-11-04 00:00:26 +09:00
greybus
hid HID: magicmouse: Do not set BTN_MOUSE on double report 2022-10-29 10:08:32 +02:00
hsi HSI: ssi_protocol: fix potential resource leak in ssip_pn_open() 2022-10-21 12:39:23 +02:00
hte
hv
hwmon hwmon/coretemp: Handle large core ID value 2022-10-29 10:08:30 +02:00
hwspinlock
hwtracing coresight: cti: Fix hang in cti_disable_hw() 2022-11-04 00:00:22 +09:00
i2c i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter 2022-10-29 10:08:29 +02:00
i3c
idle
iio iio: adxl367: Fix unsafe buffer attributes 2022-11-04 00:00:20 +09:00
infiniband RDMA/rxe: Delete error messages triggered by incoming Read requests 2022-10-21 12:39:21 +02:00
input
interconnect
iommu iommu/vt-d: Clean up si_domain in the init_dmars() error path 2022-10-29 10:08:35 +02:00
ipack
irqchip
isdn
leds
macintosh
mailbox mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sg 2022-10-21 12:38:55 +02:00
mcb
md dm: remove unnecessary assignment statement in alloc_dev() 2022-10-29 10:08:34 +02:00
media media: sun8i-rotate: Add a Kconfig dependency on RESET_CONTROLLER 2022-11-04 00:00:26 +09:00
memory
memstick
message
mfd mfd: da9061: Fix Failed to set Two-Wire Bus Mode. 2022-10-21 12:38:52 +02:00
misc
mmc mmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus 2022-11-04 00:00:23 +09:00
most
mtd mtd: rawnand: intel: Add missing of_node_put() in ebu_nand_probe() 2022-11-04 00:00:28 +09:00
mux
net net: lan966x: Fix the rx drop counter 2022-11-04 00:00:29 +09:00
nfc
ntb
nubus
nvdimm
nvme nvmet: fix workqueue MEM_RECLAIM flushing dependency 2022-10-29 10:08:34 +02:00
nvmem
of
opp
parisc
parport
pci
pcmcia
peci
perf
phy phy: qualcomm: call clk_disable_unprepare in the error handling 2022-10-21 12:38:49 +02:00
pinctrl pinctrl: ocelot: Fix incorrect trigger of the interrupt. 2022-11-04 00:00:28 +09:00
platform platform/x86/amd: pmc: remove CONFIG_DEBUG_FS checks 2022-11-04 00:00:16 +09:00
pnp
power power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type() 2022-10-21 12:39:22 +02:00
powercap powercap: intel_rapl: fix UBSAN shift-out-of-bounds issue 2022-10-21 12:39:04 +02:00
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator: core: Prevent integer underflow 2022-10-21 12:39:08 +02:00
remoteproc
reset
rpmsg
rtc
s390 s390/cio: fix out-of-bounds access on cio_ignore free 2022-11-04 00:00:24 +09:00
sbus
scsi scsi: qla2xxx: Use transport-defined speed mask for supported_speeds 2022-11-04 00:00:21 +09:00
sh
siox
slimbus slimbus: qcom-ngd: Add error handling in of_qcom_slim_ngd_register 2022-10-21 12:38:49 +02:00
soc
soundwire soundwire: intel: fix error handling on dai registration issues 2022-10-21 12:39:23 +02:00
spi spi: aspeed: Fix window offset of CE1 2022-11-04 00:00:28 +09:00
spmi spmi: pmic-arb: correct duplicate APID to PPID mapping logic 2022-10-21 12:38:53 +02:00
ssb
staging media: cedrus: Add a Kconfig dependency on RESET_CONTROLLER 2022-11-04 00:00:26 +09:00
target
tc
tee
thermal thermal: intel_powerclamp: Use first online CPU as control_cpu 2022-10-26 12:22:55 +02:00
thunderbolt thunderbolt: Add back Intel Falcon Ridge end-to-end flow control workaround 2022-10-21 12:39:07 +02:00
tty serial: 8250: Fix restoring termios speed after suspend 2022-10-21 12:38:50 +02:00
ufs
uio
usb xhci: Remove device endpoints from bandwidth list when freeing the device 2022-11-04 00:00:20 +09:00
vdpa
vfio
vhost
video fbdev/core: Avoid uninitialized read in aperture_remove_conflicting_pci_device() 2022-11-04 00:00:24 +09:00
virt
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile