OSDN Git Service

vdpa/mlx5: function prototype modifications in preparation to control VQ
authorEli Cohen <elic@nvidia.com>
Mon, 23 Aug 2021 05:21:19 +0000 (08:21 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 5 Sep 2021 20:23:07 +0000 (16:23 -0400)
commitae0428debf7cddf0863a95e415a1957d53384e7e
tree23932620464b477d88cee9f10d9097b0d48d4917
parent4e57a9f622ccacacceadcead7bb65fb807383ab3
vdpa/mlx5: function prototype modifications in preparation to control VQ

Use struct mlx5_vdpa_dev as an argument to setup_driver() and a few
others in preparation to control virtqueue support in a subsequent
patch. The control virtqueue is part of struct mlx5_vdpa_dev so this is
required.

Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20210823052123.14909-3-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/mlx5/net/mlx5_vnet.c