netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2] vdpa: fix statistics API mismatch
@ 2022-08-15  2:25 Stephen Hemminger
  2022-08-15  2:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2022-08-15  2:25 UTC (permalink / raw)
  To: netdev; +Cc: Stephen Hemminger

The final vdpa.h header from upstream has slightly different
definition of VDPA stats get, causing compilation failure.

Fixes: 6f97e9c9337b ("vdpa: Add support for reading vdpa device statistics")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 vdpa/vdpa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vdpa/vdpa.c b/vdpa/vdpa.c
index 6ded1030273b..b73e40b4b695 100644
--- a/vdpa/vdpa.c
+++ b/vdpa/vdpa.c
@@ -949,7 +949,7 @@ static int cmd_dev_vstats_show(struct vdpa *vdpa, int argc, char **argv)
 		return -EINVAL;
 	}
 
-	nlh = mnlu_gen_socket_cmd_prepare(&vdpa->nlg, VDPA_CMD_DEV_STATS_GET,
+	nlh = mnlu_gen_socket_cmd_prepare(&vdpa->nlg, VDPA_CMD_DEV_VSTATS_GET,
 					  flags);
 
 	err = vdpa_argv_parse_put(nlh, vdpa, argc, argv,
-- 
2.35.1


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

* Re: [PATCH iproute2] vdpa: fix statistics API mismatch
  2022-08-15  2:25 [PATCH iproute2] vdpa: fix statistics API mismatch Stephen Hemminger
@ 2022-08-15  2:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-08-15  2:30 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev

Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:

On Sun, 14 Aug 2022 19:25:05 -0700 you wrote:
> The final vdpa.h header from upstream has slightly different
> definition of VDPA stats get, causing compilation failure.
> 
> Fixes: 6f97e9c9337b ("vdpa: Add support for reading vdpa device statistics")
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  vdpa/vdpa.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [iproute2] vdpa: fix statistics API mismatch
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=f3849120887f

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:[~2022-08-15  2:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-15  2:25 [PATCH iproute2] vdpa: fix statistics API mismatch Stephen Hemminger
2022-08-15  2: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).