linux/drivers
Patrisious Haddad 0bdaab17a2 net/mlx5: Change POOL_NEXT_SIZE define value and make it global
[ Upstream commit 80df31f384 ]

Change POOL_NEXT_SIZE define value from 0 to BIT(30), since this define
is used to request the available maximum sized flow table, and zero doesn't
make sense for it, whereas some places in the driver use zero explicitly
expecting the smallest table size possible but instead due to this
define they end up allocating the biggest table size unawarely.

In addition move the definition to "include/linux/mlx5/fs.h" to expose the
define to IB driver as well, while appropriately renaming it.

Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250219085808.349923-3-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-05-29 11:02:40 +02:00
..
accel accel/ivpu: Fix fw log printing 2025-05-22 14:29:53 +02:00
accessibility treewide: remove unnecessary <linux/version.h> inclusion 2024-08-12 18:36:44 +09:00
acpi ACPI: PNP: Add Intel OC Watchdog IDs to non-PNP device list 2025-05-29 11:02:04 +02:00
amba ARM: 9416/1: amba: make amba_bustype constant 2024-09-04 15:01:17 +01:00
android binder: fix offset calculation in debug log 2025-05-09 09:50:29 +02:00
ata ata: libata-scsi: Fix ata_msense_control_ata_feature() 2025-05-02 07:59:09 +02:00
atm atm: idt77252: prevent use after free in dequeue_rx() 2024-08-12 10:41:44 +01:00
auxdisplay auxdisplay: charlcd: Partially revert "Move hwidth and bwidth to struct hd44780_common" 2025-05-29 11:02:24 +02:00
base x86/its: Enable Indirect Target Selection mitigation 2025-05-18 08:24:59 +02:00
bcma PCI: Rename CRS Completion Status to RRS 2024-09-10 19:52:30 -05:00
block loop: check in LO_FLAGS_DIRECT_IO in loop_default_blocksize 2025-05-29 11:02:39 +02:00
bluetooth Bluetooth: btmtksdio: Prevent enabling interrupts after IRQ handler removal 2025-05-29 11:02:07 +02:00
bus bus: mhi: host: Fix race between unprepare and queue_buf 2025-04-20 10:15:42 +02:00
cache cache: StarFive: Require a 64-bit system 2024-08-01 07:15:02 -07:00
cdrom cdrom: Avoid barrier_nospec() in cdrom_ioctl_media_changed() 2024-10-17 19:47:15 -06:00
cdx cdx: Fix possible UAF error in driver_override_show() 2025-03-13 13:02:15 +01:00
char tpm: Convert warn to dbg in tpm2_start_auth_session() 2025-05-29 11:02:04 +02:00
clk clk: imx8mp: inform CCF of maximum frequency of clocks 2025-05-29 11:02:33 +02:00
clocksource clocksource/drivers/timer-riscv: Stop stimecmp when cpu hotplug 2025-05-29 11:02:14 +02:00
comedi comedi: jr3_pci: Fix synchronous deletion of timer 2025-05-02 07:59:30 +02:00
connector connector/cn_proc: revert "connector: Fix proc_event_num_listeners count not cleared" 2024-02-13 11:15:44 +01:00
counter counter: microchip-tcb-capture: Fix undefined counter channel state on probe 2025-04-07 10:08:36 +02:00
cpufreq cpufreq: tegra186: Share policy per cluster 2025-05-29 11:02:25 +02:00
cpuidle cpuidle: menu: Avoid discarding useful information 2025-05-29 11:02:38 +02:00
crypto crypto: mxs-dcp - Only set OTP_KEY bit for OTP key 2025-05-29 11:02:26 +02:00
cxl cxl/core/regs.c: Skip Memory Space Enable check for RCD and RCH Ports 2025-05-02 07:59:08 +02:00
dax dax: delete a stale directory pmem 2024-12-05 14:02:13 +01:00
dca Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
devfreq PM / devfreq: imx-bus: Use of_property_present() 2024-09-05 01:23:56 +09:00
dio dio: Have dio_bus_match() callback take a const * 2024-07-10 15:38:14 +02:00
dma dmaengine: idxd: Refactor remove call with idxd_cleanup() helper 2025-05-22 14:29:52 +02:00
dma-buf dma-buf: insert memory barrier before updating num_fences 2025-05-22 14:29:47 +02:00
dpll dpll: Add an assertion to check freq_supported_num 2025-05-29 11:02:31 +02:00
edac EDAC/altera: Set DDR and SDMMC interrupt mask before registration 2025-05-09 09:50:30 +02:00
eisa driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
extcon Char/Misc and other driver changes for 6.12-rc1 2024-09-26 10:13:08 -07:00
firewire firewire: test: Fix potential null dereference in firewire kunit test 2025-02-08 09:57:57 +01:00
firmware firmware: arm_ffa: Set dma_mask for ffa devices 2025-05-29 11:02:35 +02:00
fpga fpga: altera-cvp: Increase credit timeout 2025-05-29 11:02:34 +02:00
fsi move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
gnss [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
gpio gpio: pca953x: fix IRQ storm on system wake up 2025-05-22 14:29:46 +02:00
gpu drm/amd/display: Fix mismatch type comparison 2025-05-29 11:02:37 +02:00
greybus greybus: gb-beagleplay: Add error handling for gb_greybus_init 2025-04-10 14:39:22 +02:00
hid HID: bpf: abort dispatch if device destroyed 2025-05-22 14:29:44 +02:00
hsi HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition 2025-04-20 10:16:02 +02:00
hte hte: tegra-194: add missing MODULE_DESCRIPTION() macro 2024-06-19 12:24:03 -07:00
hv Drivers: hv: vmbus: Remove vmbus_sendpacket_pagebuffer() 2025-05-22 14:29:48 +02:00
hwmon hwmon: (gpio-fan) Add missing mutex locks 2025-05-29 11:02:33 +02:00
hwspinlock hwspinlock: qcom: implement bust operation 2024-05-29 12:52:26 -07:00
hwtracing coresight-etb10: change etb_drvdata spinlock's type to raw_spinlock_t 2025-05-29 11:02:25 +02:00
i2c i2c: pxa: fix call balance of i2c->clk handling routines 2025-05-29 11:02:12 +02:00
i3c i3c: master: svc: Fix missing STOP for master request 2025-05-29 11:02:13 +02:00
idle intel_idle: Handle older CPUs, which stop the TSC in deeper C states, correctly 2025-03-07 18:25:42 +01:00
iio iio: light: opt3001: fix deadlock due to concurrent flag access 2025-05-22 14:29:53 +02:00
infiniband RDMA/uverbs: Propagate errors from rdma_lookup_get_uobject() 2025-05-29 11:02:19 +02:00
input Input: synaptics - enable InterTouch on TUXEDO InfinityBook Pro 14 v5 2025-05-18 08:24:51 +02:00
interconnect interconnect: qcom: icc-rpmh: probe defer incase of missing QoS clock dependency 2024-12-05 14:02:37 +01:00
iommu iommufd: Disallow allocating nested parent domain with fault ID 2025-05-29 11:02:31 +02:00
ipack driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
irqchip irqchip/qcom-mpm: Prevent crash when trying to handle non-wake GPIOs 2025-05-09 09:50:31 +02:00
isdn move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
leds leds: pwm-multicolor: Add check for fwnode_property_read_u32 2025-05-29 11:02:36 +02:00
macintosh move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
mailbox mailbox: use error ret code of of_parse_phandle_with_args() 2025-05-29 11:02:04 +02:00
mcb mcb: fix a double free bug in chameleon_parse_gdd() 2025-05-02 07:59:08 +02:00
md dm: fix unconditional IO throttle caused by REQ_PREFLUSH 2025-05-29 11:02:39 +02:00
media media: tc358746: improve calculation of the D-PHY timing registers 2025-05-29 11:02:39 +02:00
memory memory: omap-gpmc: drop no compatible check 2025-04-10 14:39:31 +02:00
memstick memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove 2025-04-07 10:08:36 +02:00
message scsi: fusion: Remove unused variable 'rc' 2024-12-05 14:02:10 +01:00
mfd mfd: tps65219: Remove TPS65219_REG_TI_DEV_ID check 2025-05-29 11:02:18 +02:00
misc misc: pci_endpoint_test: Give disabled BARs a distinct error code 2025-05-29 11:02:25 +02:00
mmc mmc: sdhci: Disable SD card clock before changing parameters 2025-05-29 11:02:21 +02:00
most Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
mtd mtd: rawnand: Add status chack in r852_ready() 2025-04-20 10:15:45 +02:00
mux mux: remove usage of the deprecated ida_simple_xx() API 2024-04-29 08:20:07 -07:00
net net/mlx5: Change POOL_NEXT_SIZE define value and make it global 2025-05-29 11:02:40 +02:00
nfc move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ntb ntb_hw_amd: Add NTB PCI ID for new gen CPU 2025-05-02 07:59:20 +02:00
nubus nubus: Make nubus_bus_type static and constant 2024-01-03 13:33:59 +01:00
nvdimm libnvdimm/labels: Fix divide error in nd_label_data_init() 2025-05-29 11:02:09 +02:00
nvme nvme-pci: acquire cq_poll_lock in nvme_poll_irqdisable 2025-05-22 14:29:41 +02:00
nvmem nvmem: qfprom: switch to 4-byte aligned reads 2025-05-29 11:01:58 +02:00
of of: resolver: Fix device node refcount leakage in of_resolve_phandles() 2025-05-02 07:58:55 +02:00
opp OPP: OF: Fix an OF node leak in _opp_add_static_v2() 2025-02-08 09:57:10 +01:00
parisc parisc: pdc_stable: Constify struct kobj_type 2024-09-09 08:53:17 +02:00
parport serial: 8250_pci: Share WCH IDs with parport_serial driver 2025-02-21 14:01:25 +01:00
pci PCI: brcmstb: Add a softdep to MIP MSI-X driver 2025-05-29 11:02:34 +02:00
pcmcia move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
peci move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
perf perf: arm_pmuv3: Call kvm_vcpu_pmu_resync_el0() before enabling counters 2025-05-29 11:02:34 +02:00
phy phy: rockchip: usbdp: Only verify link rates/lanes/voltage when the corresponding set flags are set 2025-05-29 11:02:21 +02:00
pinctrl pinctrl: sophgo: avoid to modify untouched bit when setting cv1800 pinconf 2025-05-29 11:02:35 +02:00
platform platform/x86: asus-wmi: Fix wlan_ctrl_by_user detection 2025-05-22 14:29:35 +02:00
pmdomain pmdomain: amlogic: fix T7 ISP secpower 2025-03-28 22:03:31 +01:00
pnp driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
power power: supply: max77693: Fix wrong conversion of charge input threshold value 2025-04-10 14:39:20 +02:00
powercap powercap: call put_device() on an error path in powercap_register_control_type() 2025-03-22 12:54:14 -07:00
pps pps: Fix a use-after-free 2025-02-08 09:58:16 +01:00
ps3 driver/ps3: Include <video/cmdline.h> for mode parsing 2023-02-20 14:56:51 +01:00
ptp ptp: ocp: Fix NULL dereference in Adva board SMA sysfs operations 2025-05-09 09:50:47 +02:00
pwm pwm: fsl-ftm: Handle clk_get_rate() returning 0 2025-04-20 10:15:28 +02:00
rapidio rapidio: fix an API misues when rio_add_net() fails 2025-03-13 13:01:58 +01:00
ras RAS/AMD/FMPM: Get masked address 2025-04-25 10:47:56 +02:00
regulator regulator: max20086: fix invalid memory access 2025-05-22 14:29:42 +02:00
remoteproc remoteproc: qcom_wcnss: Handle platforms with only single power domain 2025-05-29 11:02:29 +02:00
reset reset: rzg2l-usbphy-ctrl: Assign proper of node to the allocated device 2025-01-23 17:22:52 +01:00
rpmsg rpmsg: glink: use only lower 16-bits of param2 for CMD_OPEN name length 2024-12-05 14:02:25 +01:00
rtc rtc: ds1307: stop disabling alarms on probe 2025-05-29 11:02:27 +02:00
s390 s390/vfio-ap: Fix no AP queue sharing allowed message written to kernel log 2025-05-29 11:02:02 +02:00
sbus [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
scsi scsi: scsi_debug: First fixes for tapes 2025-05-29 11:02:39 +02:00
sh sh: intc: Fix use-after-free bug in register_intc_controller() 2024-12-05 14:03:10 +01:00
siox Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
slimbus slimbus: messaging: Free transaction ID in delayed interrupt scenario 2025-03-13 13:02:16 +01:00
soc soc: ti: k3-socinfo: Do not use syscon helper to build regmap 2025-05-29 11:02:36 +02:00
soundwire soundwire: slave: fix an OF node reference leak in soundwire slave device 2025-04-10 14:39:22 +02:00
spi spi: spi-mux: Fix coverity issue, unchecked return value 2025-05-29 11:02:16 +02:00
spmi spmi: pmic-arb: fix return path in for_each_available_child_of_node() 2024-12-09 10:41:03 +01:00
ssb driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
staging staging: vchiq_arm: Create keep-alive thread during probe 2025-05-29 11:02:09 +02:00
target scsi: target: iscsi: Fix timeout on deleted connection 2025-05-29 11:01:58 +02:00
tc driver core: have match() callback in struct bus_type take a const * 2024-07-03 15:16:54 +02:00
tee tee: optee: Fix supplicant wait loop 2025-02-27 04:30:21 -08:00
thermal thermal/drivers/qoriq: Power down TMU on system suspend 2025-05-29 11:02:07 +02:00
thunderbolt thunderbolt: Do not add non-active NVM if NVM upgrade is disabled for retimer 2025-05-29 11:02:16 +02:00
tty serial: sifive: lock port in startup()/shutdown() callbacks 2025-05-02 07:59:11 +02:00
ufs scsi: ufs: Introduce quirk to extend PA_HIBERN8TIME for UFS devices 2025-05-29 11:01:58 +02:00
uio uio_hv_generic: Fix sysfs creation path for ring buffer 2025-05-22 14:29:36 +02:00
usb usb: xhci: set page size to the xHCI-supported size 2025-05-29 11:02:28 +02:00
vdpa vdpa/mlx5: Fix mlx5_vdpa_get_config() endianness on big-endian machines 2025-05-29 11:02:38 +02:00
vfio vfio/pci: Handle INTx IRQ_NOTCONNECTED 2025-05-29 11:02:15 +02:00
vhost vhost-scsi: Return queue full for page alloc failures during copy 2025-05-29 11:02:38 +02:00
video fbdev: core: tileblit: Implement missing margin clearing for tileblit 2025-05-29 11:02:05 +02:00
virt drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl 2025-03-13 13:02:16 +01:00
virtio virtio_ring: Fix data race by tagging event_triggered as racy for KCSAN 2025-05-29 11:01:58 +02:00
w1 w1: fix NULL pointer dereference in probe 2025-04-10 14:39:22 +02:00
watchdog watchdog: aspeed: Update bootstatus handling 2025-05-29 11:02:25 +02:00
xen xen: Add support for XenServer 6.1 platform device 2025-05-29 11:02:18 +02:00
zorro Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
Kconfig - removed AR7 platform support 2023-11-10 09:19:46 -08:00
Makefile leds: Init leds class earlier 2024-09-04 17:24:58 -05:00