Commit 4baf0e0b authored by Johannes Berg's avatar Johannes Berg Committed by Jakub Kicinski

um: vector: adjust to coalesce API changes

The API changes were propagated to most drivers, but clearly
arch/um/drivers/ was missed, perhaps due to looking only at
the drivers/ folder. Fix that.

Fixes: f3ccfda1 ("ethtool: extend coalesce setting uAPI with CQE mode")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20210827094759.f3ab06684bd0.I985181cc00fe017cfe6413d9e1bb720cbe852e6d@changeidSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 49d6baea
...@@ -1488,7 +1488,9 @@ static void vector_get_ethtool_stats(struct net_device *dev, ...@@ -1488,7 +1488,9 @@ static void vector_get_ethtool_stats(struct net_device *dev,
} }
static int vector_get_coalesce(struct net_device *netdev, static int vector_get_coalesce(struct net_device *netdev,
struct ethtool_coalesce *ec) struct ethtool_coalesce *ec,
struct kernel_ethtool_coalesce *kernel_coal,
struct netlink_ext_ack *extack)
{ {
struct vector_private *vp = netdev_priv(netdev); struct vector_private *vp = netdev_priv(netdev);
...@@ -1497,7 +1499,9 @@ static int vector_get_coalesce(struct net_device *netdev, ...@@ -1497,7 +1499,9 @@ static int vector_get_coalesce(struct net_device *netdev,
} }
static int vector_set_coalesce(struct net_device *netdev, static int vector_set_coalesce(struct net_device *netdev,
struct ethtool_coalesce *ec) struct ethtool_coalesce *ec,
struct kernel_ethtool_coalesce *kernel_coal,
struct netlink_ext_ack *extack)
{ {
struct vector_private *vp = netdev_priv(netdev); struct vector_private *vp = netdev_priv(netdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment