aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
diff options
context:
space:
mode:
authorLipeng <lipeng321@huawei.com>2017-10-24 21:02:09 +0800
committerDavid S. Miller <davem@davemloft.net>2017-10-26 17:25:35 +0900
commit7036d26f328f12a323069eb16d965055b4cb3795 (patch)
treeae68395b833f24b42ccbc3f7d10e1178e754bfcf /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
parentMerge branch 'dsa-dont-unmask-port-bitmaps' (diff)
downloadlinux-dev-7036d26f328f12a323069eb16d965055b4cb3795.tar.xz
linux-dev-7036d26f328f12a323069eb16d965055b4cb3795.zip
net: hns3: fix the bug of hns3_set_txbd_baseinfo
The SC bits of TX BD mean switch control. For this area, value 0 indicates no switch control, the packet is routed according to the forwarding table. Value 1 indicates that the packet is transmitted to the network bypassing the forwarding table. As HNS3 driver need support VF later, VF conmunicate with its own PF need forwarding table. This patch sets SC bits of TX BD 0 and use forwarding table. Fixes: 76ad4f0 (net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC) Signed-off-by: Lipeng <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions