vhost: replace device ID in vDPA ops
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 26 Jun 2020 14:04:32 +0000 (16:04 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 30 Jun 2020 12:52:30 +0000 (14:52 +0200)
commit81a6b7fe068f64d1381ea4d6fce5088a1bcc7f81
treed5c027f84f94556947d38e876aba2fd1fe23c236
parent38f8ab0bbc8d14066ebafec2b70583092328a5ab
vhost: replace device ID in vDPA ops

This patch is a preliminary step to get rid of the
vDPA device ID. It makes vDPA callbacks to use the
vDPA device struct as a reference instead of the ID.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: Adrián Moreno <amorenoz@redhat.com>
drivers/vdpa/ifc/ifcvf_vdpa.c
drivers/vdpa/mlx5/mlx5_vdpa.c
drivers/vdpa/mlx5/mlx5_vdpa.h
examples/vdpa/main.c
lib/librte_vhost/rte_vdpa.h
lib/librte_vhost/socket.c
lib/librte_vhost/vdpa.c