vdpa: fix statistics API mismatch
Subsystems (2)
PATCH 1/1 vdpa: fix statistics API mismatch
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 <[email protected]>
--- vdpa/vdpa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
vdpa/vdpa.c +1 -1
@@ -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,
Signature · 1 line
2.35.1
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:
Hello:
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:
Quoted 8 lines · On Sun, 14 Aug 2022 19:25:05 -0700 you wrote:
The final
vdpa.hheader 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 <[email protected]>--- 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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html