net: hns3: add ethtool_ops.get_coalesce support to PF
This patch adds ethtool_ops.get_coalesce support to PF. Whilst our hardware supports per queue values, external interfaces support only a single shared value. As such we use the values for queue 0. Signed-off-by:Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by:
Peng Li <lipeng321@huawei.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/hisilicon/hns3/hnae3.h 2 additions, 0 deletionsdrivers/net/ethernet/hisilicon/hns3/hnae3.h
- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h 1 addition, 0 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3_enet.h
- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 37 additions, 0 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
Please register or sign in to comment