aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h
diff options
context:
space:
mode:
authorErez Shitrit <erezsh@mellanox.com>2017-05-15 13:32:28 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-06-19 18:40:20 +0300
commit076b0936e5fb8dd5513c1472a2c1d487b64d1580 (patch)
tree75b6a6043ac7e390d5c4ab9431d68ebcea07b93a /drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h
parentnet/mlx5e: Prevent PFC call for non ethernet ports (diff)
downloadlinux-dev-076b0936e5fb8dd5513c1472a2c1d487b64d1580.tar.xz
linux-dev-076b0936e5fb8dd5513c1472a2c1d487b64d1580.zip
net/mlx5e: IPoIB, Add ethtool support
Add support for the following: "ethtool -S" (statistics). "ethtool -i" (driver info). "ethtool -g/G" (rings parameters). "ethtool -l/L" (channels parameters). "ethtool -c/C" (coalesce options). Signed-off-by: Erez Shitrit <erezsh@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h
index 213191a78464..3553a06c8fa6 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.h
@@ -38,6 +38,8 @@
#define MLX5I_MAX_NUM_TC 1
+extern const struct ethtool_ops mlx5i_ethtool_ops;
+
/* ipoib rdma netdev's private data structure */
struct mlx5i_priv {
struct rdma_netdev rn; /* keep this first */