Netdev Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH net-next] um: vector: adjust to coalesce API changes
@ 2021-08-27  7:48 Johannes Berg
  2021-08-27 15:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Johannes Berg @ 2021-08-27  7:48 UTC (permalink / raw)
  To: netdev; +Cc: linux-um, Yufeng Mo, Huazhong Tan, Jakub Kicinski, Johannes Berg

From: Johannes Berg <johannes.berg@intel.com>

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: f3ccfda19319 ("ethtool: extend coalesce setting uAPI with CQE mode")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 arch/um/drivers/vector_kern.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/um/drivers/vector_kern.c b/arch/um/drivers/vector_kern.c
index d27a2a9faf3e..cde6db184c26 100644
--- a/arch/um/drivers/vector_kern.c
+++ b/arch/um/drivers/vector_kern.c
@@ -1488,7 +1488,9 @@ static void vector_get_ethtool_stats(struct net_device *dev,
 }
 
 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);
 
@@ -1497,7 +1499,9 @@ static int vector_get_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);
 
-- 
2.31.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] um: vector: adjust to coalesce API changes
  2021-08-27  7:48 [PATCH net-next] um: vector: adjust to coalesce API changes Johannes Berg
@ 2021-08-27 15:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-08-27 15:30 UTC (permalink / raw)
  To: Johannes Berg
  Cc: netdev, linux-um, moyufeng, tanhuazhong, kuba, johannes.berg

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Fri, 27 Aug 2021 09:48:04 +0200 you wrote:
> From: Johannes Berg <johannes.berg@intel.com>
> 
> 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: f3ccfda19319 ("ethtool: extend coalesce setting uAPI with CQE mode")
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> 
> [...]

Here is the summary with links:
  - [net-next] um: vector: adjust to coalesce API changes
    https://git.kernel.org/netdev/net-next/c/4baf0e0b3298

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-27 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27  7:48 [PATCH net-next] um: vector: adjust to coalesce API changes Johannes Berg
2021-08-27 15:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).