Revision 0472e95ffeac8e61259eec17ab61608c6b35599d authored by Jian Shen on 29 September 2021, 09:35:52 UTC, committed by David S. Miller on 29 September 2021, 10:03:54 UTC
HCLGE_FLAG_MQPRIO_ENABLE is supposed to set when enable
multiple TCs with tc mqprio, and HCLGE_FLAG_DCB_ENABLE is
supposed to set when enable multiple TCs with ets. But
the driver mixed the flags when updating the tm configuration.

Furtherly, PFC should be available when HCLGE_FLAG_MQPRIO_ENABLE
too, so remove the unnecessary limitation.

Fixes: 5a5c90917467 ("net: hns3: add support for tc mqprio offload")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent d82650b
History
File Mode Size
preload
Kconfig -rw-r--r-- 2.6 KB
Makefile -rw-r--r-- 1.5 KB
arraymap.c -rw-r--r-- 35.6 KB
bpf_inode_storage.c -rw-r--r-- 6.9 KB
bpf_iter.c -rw-r--r-- 16.0 KB
bpf_local_storage.c -rw-r--r-- 16.8 KB
bpf_lru_list.c -rw-r--r-- 17.4 KB
bpf_lru_list.h -rw-r--r-- 2.1 KB
bpf_lsm.c -rw-r--r-- 6.5 KB
bpf_struct_ops.c -rw-r--r-- 16.7 KB
bpf_struct_ops_types.h -rw-r--r-- 202 bytes
bpf_task_storage.c -rw-r--r-- 8.2 KB
btf.c -rw-r--r-- 159.0 KB
cgroup.c -rw-r--r-- 51.8 KB
core.c -rw-r--r-- 62.7 KB
cpumap.c -rw-r--r-- 20.8 KB
devmap.c -rw-r--r-- 29.1 KB
disasm.c -rw-r--r-- 9.2 KB
disasm.h -rw-r--r-- 1.0 KB
dispatcher.c -rw-r--r-- 3.6 KB
hashtab.c -rw-r--r-- 62.7 KB
helpers.c -rw-r--r-- 35.2 KB
inode.c -rw-r--r-- 17.3 KB
local_storage.c -rw-r--r-- 14.5 KB
lpm_trie.c -rw-r--r-- 21.0 KB
map_in_map.c -rw-r--r-- 3.0 KB
map_in_map.h -rw-r--r-- 461 bytes
map_iter.c -rw-r--r-- 4.5 KB
net_namespace.c -rw-r--r-- 13.0 KB
offload.c -rw-r--r-- 16.3 KB
percpu_freelist.c -rw-r--r-- 4.7 KB
percpu_freelist.h -rw-r--r-- 1.1 KB
prog_iter.c -rw-r--r-- 2.4 KB
queue_stack_maps.c -rw-r--r-- 6.6 KB
reuseport_array.c -rw-r--r-- 8.6 KB
ringbuf.c -rw-r--r-- 12.7 KB
stackmap.c -rw-r--r-- 18.7 KB
syscall.c -rw-r--r-- 113.1 KB
sysfs_btf.c -rw-r--r-- 1.1 KB
task_iter.c -rw-r--r-- 14.6 KB
tnum.c -rw-r--r-- 5.1 KB
trampoline.c -rw-r--r-- 16.1 KB
verifier.c -rw-r--r-- 395.1 KB

back to top