ethtool: extend coalesce setting uAPI with CQE mode
[linux-2.6-microblaze.git] / drivers / net / ethernet / freescale / gianfar_ethtool.c
index cc7d4f9..7b32ed2 100644 (file)
@@ -243,7 +243,9 @@ static unsigned int gfar_ticks2usecs(struct gfar_private *priv,
 /* Get the coalescing parameters, and put them in the cvals
  * structure.  */
 static int gfar_gcoalesce(struct net_device *dev,
-                         struct ethtool_coalesce *cvals)
+                         struct ethtool_coalesce *cvals,
+                         struct kernel_ethtool_coalesce *kernel_coal,
+                         struct netlink_ext_ack *extack)
 {
        struct gfar_private *priv = netdev_priv(dev);
        struct gfar_priv_rx_q *rx_queue = NULL;
@@ -280,7 +282,9 @@ static int gfar_gcoalesce(struct net_device *dev,
  * in order for coalescing to be active
  */
 static int gfar_scoalesce(struct net_device *dev,
-                         struct ethtool_coalesce *cvals)
+                         struct ethtool_coalesce *cvals,
+                         struct kernel_ethtool_coalesce *kernel_coal,
+                         struct netlink_ext_ack *extack)
 {
        struct gfar_private *priv = netdev_priv(dev);
        int i, err = 0;