diff options
author | 2022-11-01 15:48:38 +0800 | |
---|---|---|
committer | 2022-11-04 10:06:52 +0000 | |
commit | cfdcb075048c1e886c45a9c9e681ed222f74ecb9 (patch) | |
tree | 71dd63fb77faac4783b5fea38a3113a39b085488 /drivers/net/macsec.c | |
parent | net: octeontx2-pf: mcs: consider MACSEC setting (diff) | |
download | wireguard-linux-cfdcb075048c1e886c45a9c9e681ed222f74ecb9.tar.xz wireguard-linux-cfdcb075048c1e886c45a9c9e681ed222f74ecb9.zip |
net: hns3: fix get wrong value of function hclge_get_dscp_prio()
As the argument struct hnae3_handle *h of function hclge_get_dscp_prio()
can be other client registered in hnae3 layer, we need to transform it
into hnae3_handle of local nic client to get right dscp settings for
other clients.
Fixes: dfea275e06c2 ("net: hns3: optimize converting dscp to priority process of hns3_nic_select_queue()")
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/macsec.c')
0 files changed, 0 insertions, 0 deletions