linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
Lipeng c3b6f755fd net: hns3: fix the bug when reuse command description in hclge_add_mac_vlan_tbl
When reusing a command description read from HW, driver should set
IN_VLD bit, WR bit and NO_INTR bit. If IN_VLD bit and NO_INTR bit
are not set, the command fails and driver prints error message:

[  135.261284] hns3 0000:7d:00.0: cmdq execute failed for get_mac_vlan_cmd_status,status=2.
[  135.270983] hns3 0000:7d:00.0: add mac addr failed for cmd_send, ret =-5.

This patch fixes the bug.
Fixes: 46a3df9 (net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support)

Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-26 17:25:35 +09:00
..
hns3pf net: hns3: fix the bug when reuse command description in hclge_add_mac_vlan_tbl 2017-10-26 17:25:35 +09:00
hnae3.c net: hns3: Fixes the premature exit of loop when matching clients 2017-09-19 16:06:49 -07:00
hnae3.h net: hns3: Add mqprio hardware offload support in hns3 driver 2017-10-19 12:45:45 +01:00
Makefile net: hns3: Add HNS3 driver to kernel build framework & MAINTAINERS 2017-08-03 15:08:18 -07:00