• Jijie Shao's avatar
    net: hns3: fix delete tc fail issue · 03f92287
    Jijie Shao authored
    When the tc is removed during reset, hns3 driver will return a errcode.
    But kernel ignores this errcode, As a result,
    the driver status is inconsistent with the kernel status.
    
    This patch retains the deletion status when the deletion fails
    and continues to delete after the reset to ensure that
    the status of the driver is consistent with that of kernel.
    Signed-off-by: default avatarJijie Shao <shaojijie@huawei.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    03f92287
hclge_tm.h 7.11 KB