aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
diff options
context:
space:
mode:
authorJijie Shao <shaojijie@huawei.com>2024-03-07 09:01:12 +0800
committerDavid S. Miller <davem@davemloft.net>2024-03-08 12:01:32 +0000
commit03f92287b251de318f3b93f5c1e0cb6ccc87b011 (patch)
treee010af2cf84f72321a17a19c5f5d783ba2deb7a5 /drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
parentnet: hns3: fix kernel crash when 1588 is received on HIP08 devices (diff)
downloadwireguard-linux-03f92287b251de318f3b93f5c1e0cb6ccc87b011.tar.xz
wireguard-linux-03f92287b251de318f3b93f5c1e0cb6ccc87b011.zip
net: hns3: fix delete tc fail issue
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: Jijie Shao <shaojijie@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c')
0 files changed, 0 insertions, 0 deletions