linux/drivers
Jijie Shao fa5564945f net: hns3: fix invalid mutex between tc qdisc and dcb ets command issue
We hope that tc qdisc and dcb ets commands can not be used crosswise.
If we want to use any of the commands to configure tc,
We must use the other command to clear the existing configuration.

However, when we configure a single tc with tc qdisc,
we can still configure it with dcb ets.
Because we use mqprio_active as the tag of tc qdisc configuration,
but with dcb ets, we do not check mqprio_active.

This patch fix this issue by check mqprio_active before
executing the dcb ets command. and add dcb_ets_active to
replace HCLGE_FLAG_DCB_ENABLE and HCLGE_FLAG_MQPRIO_ENABLE
at the hclge layer,

Fixes: cacde272dd ("net: hns3: Add hclge_dcb module for the support of DCB feature")
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-09-07 11:08:03 +02:00
..
accel One EPROBE_DEFER handling fix for the JDI LT070ME05000, a timing fix for 2023-08-18 06:08:58 +10:00
accessibility
acpi ACPI updates for 6.6-rc1 2023-08-28 17:58:39 -07:00
amba
android v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
ata ata,scsi: do not issue START STOP UNIT on resume 2023-08-02 17:01:12 +09:00
atm
auxdisplay auxdisplay: hd44780: move cursor home after clear display command 2023-08-19 21:53:49 +02:00
base regmap: Updates for v6.6 2023-08-29 09:26:04 -07:00
bcma
block Networking changes for 6.6. 2023-08-29 11:33:01 -07:00
bluetooth Bluetooth: btusb: Do not call kfree_skb() under spin_lock_irqsave() 2023-08-24 12:24:37 -07:00
bus Merge branch 'omap-for-v6.5/ti-sysc' into omap-for-v6.5/fixes 2023-08-02 10:49:57 +03:00
cdrom cdrom/gdrom: Fix build error 2023-06-29 08:09:31 -06:00
cdx
char This update includes the following changes: 2023-08-29 11:23:29 -07:00
clk clk: Fix slab-out-of-bounds error in devm_clk_release() 2023-08-22 15:25:18 -07:00
clocksource RISC-V Patches for the 6.5 Merge Window, Part 1 2023-06-30 09:37:26 -07:00
comedi comedi: make all 'class' structures const 2023-06-23 10:29:02 +02:00
connector connector/cn_proc: Allow non-root users access 2023-07-23 11:34:22 +01:00
counter First set of Counter fixes for 6.5 2023-08-04 15:17:29 +02:00
cpufreq ARM cpufreq updates for 6.6 2023-08-28 14:12:05 +02:00
cpuidle Merge branches 'pm-cpuidle' and 'pm-cpufreq' 2023-08-25 21:15:56 +02:00
crypto This update includes the following changes: 2023-08-29 11:23:29 -07:00
cxl cxl/memdev: Only show sanitize sysfs files when supported 2023-07-28 13:16:54 -06:00
dax dax: enable dax fault handler to report VM_FAULT_HWPOISON 2023-06-26 07:54:23 -06:00
dca
devfreq PM / devfreq: Fix leak in devfreq_dev_release() 2023-08-10 22:48:16 +09:00
dio
dma dmaengine: xilinx: xdma: Fix typo 2023-08-07 00:01:41 +05:30
dma-buf dma-buf/sw_sync: Avoid recursive lock during fence signal 2023-08-23 10:22:49 +02:00
edac Perf events changes for v6.6: 2023-08-28 16:35:01 -07:00
eisa EISA: Replace all non-returning strlcpy with strscpy 2023-07-27 10:04:42 -07:00
extcon
firewire firewire: net: fix use after free in fwnet_finish_incoming_packet() 2023-06-24 14:03:46 +09:00
firmware arm64 updates for 6.6 2023-08-28 17:34:54 -07:00
fpga Char/Misc and other driver subsystem updates for 6.5-rc1 2023-07-03 12:46:47 -07:00
fsi
gnss
gpio gpio updates for v6.6 2023-08-29 10:21:56 -07:00
gpu - Fix power consumption at s2idle on DG2 (Anshuman) 2023-08-25 09:12:02 +10:00
greybus
hid for-netdev 2023-07-13 19:13:24 -07:00
hsi hsi: omap_ssi: Explicitly include correct DT includes 2023-07-31 23:17:57 +02:00
hte
hv x86/hyperv: Improve code for referencing hyperv_pcpu_input_arg 2023-06-28 17:53:25 +00:00
hwmon hwmon updates for v6.6 2023-08-29 10:02:35 -07:00
hwspinlock
hwtracing Char/Misc and other driver subsystem updates for 6.5-rc1 2023-07-03 12:46:47 -07:00
i2c i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue 2023-08-14 18:17:13 +02:00
i3c
idle Perf events changes for v6.6: 2023-08-28 16:35:01 -07:00
iio iio: cros_ec: Fix the allocation size for cros_ec_command 2023-07-29 12:21:21 +01:00
infiniband Networking changes for 6.6. 2023-08-29 11:33:01 -07:00
input ARM: SoC changes for 6.5 2023-06-29 15:28:33 -07:00
interconnect interconnect: qcom: sa8775p: add enable_mask for bcm nodes 2023-07-11 15:44:43 +03:00
iommu iommufd: Set end correctly when doing batch carry 2023-07-27 11:27:20 -03:00
ipack
irqchip irqchip updates for v6.6 2023-08-28 11:33:03 +02:00
isdn mISDN: Update parameter type of dsp_cmx_send() 2023-08-03 18:08:32 -07:00
leds Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-08-24 10:51:39 -07:00
macintosh
mailbox mailbox: ti-msgmgr: Fill non-message tx data fields with 0x0 2023-06-30 17:35:45 -05:00
mcb
md dm cache policy smq: ensure IO doesn't prevent cleaner policy progress 2023-07-25 11:55:50 -04:00
media media fixes for v6.5-rc8 2023-08-24 19:10:53 -07:00
memory memory: tegra: make icc_set_bw return zero if BWMGR not supported 2023-07-25 22:09:20 +02:00
memstick
message
mfd spi: Updates for v6.6 2023-08-29 09:47:33 -07:00
misc hardening updates for v6.6-rc1 2023-08-28 12:59:45 -07:00
mmc mmc: atmel-mci: Move card detect gpio polarity quirk to gpiolib 2023-08-25 13:40:21 +02:00
most
mtd mtd: rawnand: fsl_upm: Fix an off-by one test in fun_exec_op() 2023-07-27 16:54:23 +02:00
mux
net net: hns3: fix invalid mutex between tc qdisc and dcb ets command issue 2023-09-07 11:08:03 +02:00
nfc NFC: nxp: add NXP1002 2023-08-30 18:32:24 -07:00
ntb ntb: hw: amd: Fix debugfs_create_dir error checking 2023-07-08 13:55:44 -04:00
nubus
nvdimm dax: enable dax fault handler to report VM_FAULT_HWPOISON 2023-06-26 07:54:23 -06:00
nvme block-6.5-2023-08-11 2023-08-11 12:14:08 -07:00
nvmem
of of/platform: increase refcount of fwnode 2023-08-21 16:12:28 -05:00
opp OPP: Fix argument name in doc comment 2023-08-18 10:55:49 +05:30
parisc parisc: Move proc_mckinley_root and proc_runway_root to sba_iommu 2023-08-10 22:22:03 +02:00
parport parport: gsc: remove DMA leftover code 2023-08-03 14:40:37 +02:00
pci pci-v6.5-fixes-1 2023-08-11 09:39:17 -07:00
pcmcia
peci
perf arm64 updates for 6.6 2023-08-28 17:34:54 -07:00
phy phy: hisilicon: Fix an out of bounds check in hisi_inno_phy_probe() 2023-07-24 16:23:37 +05:30
pinctrl spi: Updates for v6.6 2023-08-29 09:47:33 -07:00
platform Networking changes for 6.6. 2023-08-29 11:33:01 -07:00
pnp PNP: ACPI: Fix string truncation warning 2023-08-17 19:38:35 +02:00
power power: supply: qcom_pmi8998_charger: fix charger status 2023-08-03 02:23:42 +02:00
powercap Power management updates for 6.6-rc1 2023-08-28 18:04:39 -07:00
pps
ps3
ptp net: ptp: create a mock-up PTP Hardware Clock driver 2023-08-09 15:59:21 -07:00
pwm pwm: Changes for v6.5-rc1 2023-07-05 12:55:06 -07:00
rapidio
ras
regulator regulator: Updates for v6.6 2023-08-29 09:40:16 -07:00
remoteproc remoteproc updates for v6.5 2023-07-03 17:03:05 -07:00
reset ARM: SoC drivers for 6.5 2023-06-29 15:22:19 -07:00
rpmsg
rtc RTC for 6.5 2023-07-03 10:43:10 -07:00
s390 Networking changes for 6.6. 2023-08-29 11:33:01 -07:00
sbus oradax: make 'cl' a static const structure 2023-06-23 10:27:02 +02:00
scsi SCSI fixes on 20230827 2023-08-27 07:33:54 -07:00
sh
siox
slimbus
soc hardening updates for v6.6-rc1 2023-08-28 12:59:45 -07:00
soundwire Immutable branch between MFD, Pinctrl and soundwire due for the v6.6 merge window 2023-08-18 17:37:08 +01:00
spi spi: Updates for v6.6 2023-08-29 09:47:33 -07:00
spmi
ssb
staging Fix nomenclature for USB and PCI wireless devices 2023-08-25 12:56:49 +03:00
target SCSI misc on 20230708 2023-07-08 12:35:18 -07:00
tc
tee ARM: SoC drivers for 6.5 2023-06-29 15:22:19 -07:00
thermal Thermal control updates for 6.6-rc1 2023-08-28 18:26:45 -07:00
thunderbolt thunderbolt: Fix memory leak in tb_handle_dp_bandwidth_request() 2023-08-04 16:17:47 +03:00
tty serial: core: Fix serial core port id, including multiport devices 2023-08-11 21:19:22 +02:00
ufs scsi: ufs: ufs-qcom: Clear qunipro_g4_sel for HW major version > 5 2023-08-21 17:32:55 -04:00
uio
usb v6.6-vfs.ctime 2023-08-28 09:31:32 -07:00
vdpa Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-08-18 12:44:56 -07:00
vfio net/mlx5: Allocate completion EQs dynamically 2023-08-07 10:53:52 -07:00
vhost vhost-scsi: Rename vhost_scsi_iov_to_sgl 2023-08-10 15:24:28 -04:00
video fbdev: goldfishfb: Do not check 0 for platform_get_irq() 2023-08-15 23:39:33 +02:00
virt workqueue: Ordered workqueue creation cleanups 2023-06-27 16:46:06 -07:00
virtio virtio-mem: check if the config changed before fake offlining memory 2023-08-10 15:51:46 -04:00
vlynq
w1 connector/cn_proc: Add filtering to fix some bugs 2023-07-23 11:34:22 +01:00
watchdog watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub) 2023-06-26 14:30:07 +02:00
xen xen: privcmd: Add support for irqfd 2023-08-22 12:12:50 +02:00
zorro zorro: Include zorro.h in names.c 2023-08-21 13:27:44 +02:00
Kconfig
Makefile s390: use obj-y to descend into drivers/s390/ 2023-07-24 12:12:25 +02:00