linux-stable/drivers
Alexei Lazar dec9d873bd net/mlx5e: Update and set Xon/Xoff upon port speed set
[ Upstream commit d24341740f ]

Xon/Xoff sizes are derived from calculations that include
the port speed.
These settings need to be updated and applied whenever the
port speed is changed.
The port speed is typically set after the physical link goes down
and is negotiated as part of the link-up process between the two
connected interfaces.
Xon/Xoff parameters being updated at the point where the new
negotiated speed is established.

Fixes: 0696d60853 ("net/mlx5e: Receive buffer configuration")
Signed-off-by: Alexei Lazar <alazar@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Link: https://patch.msgid.link/20250825143435.598584-11-mbloch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-09-04 15:30:24 +02:00
..
accel
accessibility
acpi ACPI: EC: Add device to acpi_ec_no_wakeup[] qurik list 2025-09-04 15:30:19 +02:00
amba
android
ata ata: libata-scsi: Return aborted command when missing sense and result TF 2025-08-28 16:28:42 +02:00
atm atm: atmtcp: Prevent arbitrary write in atmtcp_recv_control(). 2025-09-04 15:30:21 +02:00
auxdisplay
base topology: Set capacity_freq_ref in all cases 2025-08-28 16:28:42 +02:00
bcma
block
bluetooth
bus
cache
cdrom
cdx cdx: Fix off-by-one error in cdx_rpmsg_probe() 2025-08-28 16:28:45 +02:00
char
clk
clocksource
comedi comedi: Fix use of uninitialized memory in do_insn_ioctl() and do_insnlist_ioctl() 2025-08-28 16:28:45 +02:00
connector
counter
cpufreq cpufreq: Use the fixed and coherent frequency for scaling capacity 2025-08-28 16:28:42 +02:00
cpuidle cpuidle: governors: menu: Avoid selecting states with too much latency 2025-08-28 16:28:45 +02:00
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware
fpga fpga: zynq_fpga: Fix the wrong usage of dma_map_sgtable() 2025-08-28 16:28:45 +02:00
fsi
gnss
gpio
gpu drm/nouveau: remove unused memory target test 2025-09-04 15:30:22 +02:00
greybus
hid HID: input: report battery status changes immediately 2025-09-04 15:30:21 +02:00
hsi
hte
hv
hwmon
hwspinlock
hwtracing
i2c
i3c
idle
iio iio: imu: inv_icm42600: change invalid data error to -EBUSY 2025-08-28 16:28:47 +02:00
infiniband RDMA/bnxt_re: Fix to initialize the PBL array 2025-08-28 16:28:48 +02:00
input
interconnect
iommu iommu/amd: Avoid stack buffer overflow from kernel cmdline 2025-08-28 16:28:48 +02:00
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md
media
memory
memstick memstick: Fix deadlock by moving removing flag earlier 2025-08-28 16:28:43 +02:00
message
mfd
misc
mmc mmc: sdhci-pci-gli: GL9763e: Mask the replay timer timeout of AER 2025-08-28 16:28:46 +02:00
most most: core: Drop device reference after usage in get_channel() 2025-08-28 16:28:45 +02:00
mtd
mux
net net/mlx5e: Update and set Xon/Xoff upon port speed set 2025-09-04 15:30:24 +02:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of of: dynamic: Fix use after free in of_changeset_add_prop_helper() 2025-09-04 15:30:18 +02:00
opp
parisc
parport
pci PCI: imx6: Add IMX8MM_EP and IMX8MP_EP fixed 256-byte BAR 4 in epc_features 2025-08-28 16:28:44 +02:00
pcmcia
peci
perf
phy
pinctrl pinctrl: STMFX: add missing HAS_IOMEM dependency 2025-09-04 15:30:18 +02:00
platform
pmdomain
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 s390/sclp: Fix SCCB present check 2025-08-28 16:28:43 +02:00
sbus
scsi scsi: core: sysfs: Correct sysfs attributes access rights 2025-09-04 15:30:19 +02:00
sh
siox
slimbus
soc soc: qcom: mdt_loader: Fix error return values in mdt_header_valid() 2025-08-28 16:28:43 +02:00
soundwire
spi spi: spi-fsl-lpspi: Clamp too high speed_hz 2025-08-28 16:28:47 +02:00
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty
ufs scsi: ufs: exynos: Fix programming of HCI_UTRL_NEXUS_TYPE 2025-08-28 16:28:44 +02:00
uio
usb usb: typec: maxim_contaminant: disable low power mode when reading comparator values 2025-08-28 16:28:47 +02:00
vdpa
vfio
vhost vhost/net: Protect ubufs with rcu read lock in vhost_net_ubuf_put() 2025-09-04 15:30:20 +02:00
video
virt
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile