• L
    net: hns3: fix the bug of hns3_set_txbd_baseinfo · 7036d26f
    Lipeng 提交于
    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: 76ad4f0e (net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC)
    Signed-off-by: NLipeng <lipeng321@huawei.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    7036d26f
hns3_enet.c 74.2 KB