linux-stable/drivers
Chengchang Tang 487489c4c8 RDMA/hns: Fix CQ and QP cache affinity
commit 9e03dbea2b upstream.

Currently, the affinity between QP cache and CQ cache is not
considered when assigning QPN, it will affect the message rate of HW.

Allocate QPN from QP cache with better CQ affinity to get better
performance.

Fixes: 71586dd200 ("RDMA/hns: Create QP with selected QPN for bank load balance")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20230804012711.808069-5-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-06-16 13:32:37 +02:00
..
accessibility speakup: Fix sizeof() vs ARRAY_SIZE() bug 2024-06-16 13:31:59 +02:00
acpi ACPI: resource: Do IRQ override on TongFang GXxHRXx and GMxHGxx 2024-06-16 13:32:32 +02:00
amba
android binder: fix max_thread type inconsistency 2024-06-16 13:32:30 +02:00
ata ata: pata_legacy: make legacy_exit() work again 2024-06-16 13:32:32 +02:00
atm atm: idt77252: fix a memleak in open_card_ubr0 2024-02-23 08:42:19 +01:00
auxdisplay
base driver core: Introduce device_link_wait_removal() 2024-04-13 12:59:34 +02:00
bcma
block null_blk: Fix the WARNING: modpost: missing MODULE_DESCRIPTION() 2024-06-16 13:32:25 +02:00
bluetooth Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0bda:0x4853 2024-05-02 16:23:44 +02:00
bus bus: tegra-aconnect: Update dependency to ARCH_TEGRA 2024-03-26 18:21:50 -04:00
cdrom
char ppdev: Add an error check in register_device 2024-06-16 13:32:20 +02:00
clk clk: qcom: mmcc-msm8998: fix venus clock issue 2024-06-16 13:32:13 +02:00
clocksource
connector
counter
cpufreq cpufreq: exit() callback is optional 2024-06-16 13:32:05 +02:00
cpuidle
crypto crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak 2024-06-16 13:32:34 +02:00
dax
dca
devfreq PM / devfreq: Fix buffer overflow in trans_stat_show 2024-05-02 16:23:44 +02:00
dio
dma dmaengine: idma64: Add check for dma_set_max_seg_size 2024-06-16 13:32:16 +02:00
dma-buf dma-buf/sw-sync: don't enable IRQ from sync_print_obj() 2024-06-16 13:32:28 +02:00
edac EDAC/thunderx: Fix possible out-of-bounds string access 2024-01-25 14:37:39 -08:00
eisa
extcon extcon: max8997: select IRQ_DOMAIN instead of depending on it 2024-06-16 13:32:20 +02:00
firewire firewire: nosy: ensure user_length is taken into account when fetching packet contents 2024-05-17 11:48:08 +02:00
firmware firmware: dmi-id: add a release callback function 2024-06-16 13:32:16 +02:00
fpga fpga: region: add owner module and take its refcount 2024-06-16 13:32:19 +02:00
fsi
gnss
gpio gpio: crystalcove: Use -ENOTSUPP consistently 2024-05-17 11:48:05 +02:00
gpu drm/amdgpu: add error handle to avoid out-of-bounds 2024-06-16 13:32:32 +02:00
greybus
hid HID: intel-ish-hid: ipc: Add check for pci_alloc_irq_vectors 2024-06-16 13:32:08 +02:00
hsi
hv Drivers: hv: vmbus: Drop error message when 'No request id available' 2024-03-15 10:48:22 -04:00
hwmon hwmon: (shtc1) Fix property misspelling 2024-06-16 13:32:29 +02:00
hwspinlock
hwtracing intel_th: pci: Add Meteor Lake-S CPU support 2024-06-16 13:32:34 +02:00
i2c i2c: smbus: fix NULL function pointer dereference 2024-05-02 16:23:45 +02:00
i3c i3c: master: cdns: Update maximum prescaler value for i2c clock 2024-02-23 08:42:13 +01:00
ide
idle
iio iio: pressure: dps310: support negative temperature values 2024-06-16 13:32:18 +02:00
infiniband RDMA/hns: Fix CQ and QP cache affinity 2024-06-16 13:32:37 +02:00
input Input: pm8xxx-vibrator - correct VIB_MAX_LEVELS calculation 2024-06-16 13:32:22 +02:00
interconnect interconnect: Treat xlate() returning NULL node as an error 2024-01-05 15:12:26 +01:00
iommu iommu/vt-d: Allocate local memory for page request queue 2024-05-02 16:23:35 +02:00
ipack
irqchip irqchip/loongson-pch-msi: Fix off-by-one on allocation error path 2024-06-16 13:32:04 +02:00
isdn
leds leds: sgm3140: Add missing timer cleanup and flash gpio control 2024-03-26 18:22:00 -04:00
lightnvm
macintosh macintosh/via-macii: Fix "BUG: sleeping function called from invalid context" 2024-06-16 13:32:07 +02:00
mailbox mailbox: imx: fix suspend failue 2024-05-02 16:23:35 +02:00
mcb
md md/raid5: fix deadlock that raid5d() wait for itself to clear MD_SB_CHANGE_PENDING 2024-06-16 13:32:32 +02:00
media media: v4l2-core: hold videodev_lock until dev reg, finishes 2024-06-16 13:32:33 +02:00
memory
memstick
message
mfd mfd: altera-sysmgr: Call of_node_put() only when of_parse_phandle() takes a ref 2024-03-26 18:21:58 -04:00
misc mei: me: add lunar lake point M DID 2024-05-17 11:48:10 +02:00
mmc mmc: sdhci-acpi: Disable write protect detection on Toshiba WT10-A 2024-06-16 13:32:34 +02:00
most
mtd mtd: rawnand: hynix: fixed typo 2024-06-16 13:32:10 +02:00
mux
net wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path 2024-06-16 13:32:33 +02:00
nfc NFC: trf7970a: disable all regulators on removal 2024-05-02 16:23:41 +02:00
ntb
nubus
nvdimm
nvme nvmet: fix ns enable/disable possible hang 2024-06-16 13:32:28 +02:00
nvmem nvmem: meson-efuse: fix function pointer type mismatch 2024-04-13 12:58:28 +02:00
of of: dynamic: Synchronize of_changeset_destroy() with the devlink removals 2024-04-13 12:59:35 +02:00
opp OPP: debugfs: Fix warning around icc_get_name() 2024-03-26 18:21:53 -04:00
oprofile
parisc
parport parport: parport_serial: Add Brainboxes device IDs and geometry 2024-01-25 14:37:39 -08:00
pci PCI/EDR: Align EDR_PORT_LOCATE_DSM with PCI Firmware r3.3 2024-06-16 13:32:20 +02:00
pcmcia
perf
phy phy: tegra: xusb: Add API to retrieve the port number of phy 2024-04-13 12:58:29 +02:00
pinctrl pinctrl: core: handle radix_tree_insert() errors in pinctrl_register_one_pin() 2024-05-25 16:19:05 +02:00
platform platform/x86: touchscreen_dmi: Add an extra entry for a variant of the Chuwi Vi8 tablet 2024-04-13 12:59:50 +02:00
pnp PNP: ACPI: fix fortify warning 2024-02-23 08:42:03 +01:00
power power: rt9455: hide unused rt9455_boost_voltage_values 2024-05-17 11:47:59 +02:00
powercap
pps
ps3
ptp
pwm pwm: jz4740: Don't use dev_err_probe() in .request() 2024-01-25 14:37:52 -08:00
rapidio
ras
regulator regulator: bd71828: Don't overwrite runtime voltages 2024-06-16 13:32:25 +02:00
remoteproc remoteproc: stm32: fix phys_addr_t format string 2024-03-26 18:22:04 -04:00
reset reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning 2024-01-25 14:37:37 -08:00
rpmsg rpmsg: virtio: Free driver_override when rpmsg_remove() 2024-02-23 08:41:53 +01:00
rtc rtc: mt6397: select IRQ_DOMAIN instead of depending on it 2024-03-26 18:22:02 -04:00
s390 s390/ap: Fix crash in AP internal function modify_bitmap() 2024-06-16 13:32:36 +02:00
sbus
scsi scsi: ufs: ufs-qcom: Clear qunipro_g4_sel for HW major version > 5 2024-06-16 13:32:36 +02:00
sfi
sh
siox
slimbus slimbus: core: Remove usage of the deprecated ida_simple_xx() API 2024-04-13 12:58:29 +02:00
soc soc: mediatek: cmdq: Fix typo of CMDQ_JUMP_RELATIVE 2024-06-16 13:32:02 +02:00
soundwire soundwire: cadence: fix invalid PDI offset 2024-06-16 13:32:16 +02:00
spi spi: stm32: Don't warn about spurious interrupts 2024-06-16 13:32:29 +02:00
spmi
ssb
staging greybus: arche-ctrl: move device table to its right location 2024-06-16 13:32:17 +02:00
target scsi: target: Fix SELinux error when systemd-modules loads the target module 2024-05-17 11:48:04 +02:00
tc
tee tee: optee: Fix kernel panic caused by incorrect error handling 2024-04-13 12:58:53 +02:00
thermal
thunderbolt thunderbolt: Fix wake configurations after device unplug 2024-05-02 16:23:38 +02:00
tty serial: sh-sci: protect invalidating RXDMA on shutdown 2024-06-16 13:32:21 +02:00
uio uio: Fix use-after-free in uio_open 2024-01-25 14:37:38 -08:00
usb usb: gadget: u_audio: Clear uac pointer when freed. 2024-06-16 13:32:20 +02:00
vdpa
vfio vfio/fsl-mc: Block calling interrupt handler without trigger 2024-04-13 12:59:21 +02:00
vhost vhost: Add smp_rmb() in vhost_vq_avail_empty() 2024-05-02 16:23:35 +02:00
video fbdev: savage: Handle err return when savagefb_check_var failed 2024-06-16 13:32:34 +02:00
virt
virtio virtio: delete vq in vp_find_vqs_msix() when request_irq() fails 2024-06-16 13:32:27 +02:00
visorbus
vlynq
vme
w1
watchdog watchdog: rti_wdt: Set min_hw_heartbeat_ms to accommodate a safety margin 2024-06-16 13:32:35 +02:00
xen xen/events: close evtchn after mapping cleanup 2024-04-13 12:58:54 +02:00
zorro
Kconfig
Makefile