From: Huazhong Tan <hidden> Date: 2021-04-17 07:09:40
This series includes some misc updates for the HNS3 ethernet driver.
Huazhong Tan (3):
net: hns3: remove a duplicate pf reset counting
net: hns3: cleanup inappropriate spaces in struct hlcgevf_tqp_stats
net: hns3: change the value of the SEPARATOR_VALUE macro in
hclgevf_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 2 --
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 2 +-
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 4 ++--
3 files changed, 3 insertions(+), 5 deletions(-)
--
2.7.4
From: Huazhong Tan <hidden> Date: 2021-04-17 07:09:44
The SEPARATOR_VALUE macro is used as separator when getting
the register value, but the value of this macro is different
between pf and vf, it is a bit confusing for the user, so
synchronize the value of vf with pf.
Signed-off-by: Huazhong Tan <redacted>
---
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Huazhong Tan <hidden> Date: 2021-04-17 07:09:44
When enter suspend mode the counter of pf reset will be increased
twice, since both hclge_prepare_general() and hclge_prepare_wait()
increase this counter. So remove the duplicate counting in
hclge_prepare_general().
Signed-off-by: Huazhong Tan <redacted>
---
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 2 --
1 file changed, 2 deletions(-)
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Sat, 17 Apr 2021 15:09:21 +0800 you wrote:
This series includes some misc updates for the HNS3 ethernet driver.
Huazhong Tan (3):
net: hns3: remove a duplicate pf reset counting
net: hns3: cleanup inappropriate spaces in struct hlcgevf_tqp_stats
net: hns3: change the value of the SEPARATOR_VALUE macro in
hclgevf_main.c
[...]