net: hns3: batch tx doorbell operation
mainline inclusion from mainline-v5.10-rc1 commit f6061a05 category: feature bugzilla: NA CVE: NA ---------------------------- Use netdev_xmit_more() to defer the tx doorbell operation when the skb is passed to the driver continuously. By doing this we can improve the overall xmit performance by avoid some doorbell operations. Also, the tx_err_cnt stat is not used, so rename it to tx_more stat. Signed-off-by:Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by:
Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Yonglong Liu <liuyonglong@huawei.com> Reviewed-by:
li yongxin <liyongxin1@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Showing
- drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_stat.c 3 additions, 3 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_stat.c
- drivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_stat.h 1 addition, 1 deletiondrivers/net/ethernet/hisilicon/hns3/hns3_cae/hns3_cae_stat.h
- drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 41 additions, 10 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3_enet.c
- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h 1 addition, 1 deletiondrivers/net/ethernet/hisilicon/hns3/hns3_enet.h
- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 1 addition, 1 deletiondrivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
Please register or sign in to comment