aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/huawei/hinic/hinic_port.h
diff options
context:
space:
mode:
authorXue Chaojing <xuechaojing@huawei.com>2019-06-18 06:20:52 +0000
committerDavid S. Miller <davem@davemloft.net>2019-06-18 21:52:27 -0400
commiteb8ce9ac167146b0679859ba69c492ee1403a0f0 (patch)
treeb89fff126416f64f0da2afad470a32c391cf7923 /drivers/net/ethernet/huawei/hinic/hinic_port.h
parenthinic: add rss support (diff)
downloadlinux-dev-eb8ce9ac167146b0679859ba69c492ee1403a0f0.tar.xz
linux-dev-eb8ce9ac167146b0679859ba69c492ee1403a0f0.zip
hinic: move ethtool code into hinic_ethtool
This patch moves ethtool code from hinic_main.c to hinic_ethtool.c Signed-off-by: Xue Chaojing <xuechaojing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/huawei/hinic/hinic_port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/huawei/hinic/hinic_port.h b/drivers/net/ethernet/huawei/hinic/hinic_port.h
index 6eff0fd9b8ec..a7cc164684ea 100644
--- a/drivers/net/ethernet/huawei/hinic/hinic_port.h
+++ b/drivers/net/ethernet/huawei/hinic/hinic_port.h
@@ -337,4 +337,6 @@ int hinic_rss_cfg(struct hinic_dev *nic_dev, u8 rss_en, u8 template_id);
int hinic_rss_template_alloc(struct hinic_dev *nic_dev, u8 *tmpl_idx);
int hinic_rss_template_free(struct hinic_dev *nic_dev, u8 tmpl_idx);
+
+void hinic_set_ethtool_ops(struct net_device *netdev);
#endif