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
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 325 bytes |
cgroup-internal.h | -rw-r--r-- | 8.6 KB |
cgroup-v1.c | -rw-r--r-- | 33.3 KB |
cgroup.c | -rw-r--r-- | 174.6 KB |
cpuset.c | -rw-r--r-- | 102.7 KB |
debug.c | -rw-r--r-- | 8.2 KB |
freezer.c | -rw-r--r-- | 7.8 KB |
legacy_freezer.c | -rw-r--r-- | 12.4 KB |
misc.c | -rw-r--r-- | 9.4 KB |
namespace.c | -rw-r--r-- | 3.4 KB |
pids.c | -rw-r--r-- | 9.0 KB |
rdma.c | -rw-r--r-- | 14.7 KB |
rstat.c | -rw-r--r-- | 12.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...