33 #include <linux/kernel.h>
34 #include <linux/ethtool.h>
35 #include <linux/netdevice.h>
39 static void ipoib_get_drvinfo(
struct net_device *netdev,
72 if (ret && ret != -
ENOSYS) {
73 ipoib_warn(priv,
"failed modifying CQ (%d)\n", ret);
83 static const struct ethtool_ops ipoib_ethtool_ops = {
84 .get_drvinfo = ipoib_get_drvinfo,
85 .get_coalesce = ipoib_get_coalesce,
86 .set_coalesce = ipoib_set_coalesce,