net: hns3: support ndo_select_queue()
authorGuangbin Huang <huangguangbin2@huawei.com>
Tue, 6 Sep 2022 09:12:20 +0000 (17:12 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Sep 2022 15:20:14 +0000 (16:20 +0100)
commitf6e32724ca135239f404f2ed3cd2170dc4bd9b29
tree314b5dd6be7650d6baa220a19eccfc95cafa8843
parent0ba22bcb222d2761feccb46d0ee4eb9db1f53a7d
net: hns3: support ndo_select_queue()

To support tx packets to select queue according to its dscp field after
setting dscp and tc map relationship, this patch implements
ndo_select_queue() to set skb->priority according to the user's setting
dscp and priority map relationship.

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c