]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cxgb4: reject overlapped queues in TC-MQPRIO offload
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Fri, 17 Jan 2020 12:51:47 +0000 (18:21 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jan 2020 15:12:53 +0000 (16:12 +0100)
commitb2383ad987a61bdd3a0a4ec3f343fbf0e3d9067b
tree360607943fde42228fd5a67d0fbe4b6827ab8824
parentc856e2b6fc5c675512e578225ade545c1834f3ee
cxgb4: reject overlapped queues in TC-MQPRIO offload

A queue can't belong to multiple traffic classes. So, reject
any such configuration that results in overlapped queues for a
traffic class.

Fixes: b1396c2bd675 ("cxgb4: parse and configure TC-MQPRIO offload")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c