summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/ipoib/ipoib_main.c
diff options
context:
space:
mode:
authorEli Cohen <eli@dev.mellanox.co.il>2008-04-17 06:09:32 +0200
committerRoland Dreier <rolandd@cisco.com>2008-04-17 06:09:32 +0200
commit82c24c18afc5e1c2a955bdc2762b19721283365c (patch)
tree2dd054b0738962daee6bdfd268c8b9fbb9fc466d /drivers/infiniband/ulp/ipoib/ipoib_main.c
parentmlx4_core: Increase max number of QPs to 128K (diff)
downloadlinux-82c24c18afc5e1c2a955bdc2762b19721283365c.tar.xz
linux-82c24c18afc5e1c2a955bdc2762b19721283365c.zip
IPoIB: Add basic ethtool support
Just add the infrastructure so we can add functionality later. Signed-off-by: Eli Cohen <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_main.c')
-rw-r--r--drivers/infiniband/ulp/ipoib/ipoib_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c
index 35a3643fb566..bd07f02cf02b 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_main.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c
@@ -951,6 +951,8 @@ static void ipoib_setup(struct net_device *dev)
dev->set_multicast_list = ipoib_set_mcast_list;
dev->neigh_setup = ipoib_neigh_setup_dev;
+ ipoib_set_ethtool_ops(dev);
+
netif_napi_add(dev, &priv->napi, ipoib_poll, 100);
dev->watchdog_timeo = HZ;