net/virtio: skip device probe in vDPA mode
authorXiao Wang <xiao.w.wang@intel.com>
Tue, 17 Apr 2018 07:06:22 +0000 (15:06 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 14:54:55 +0000 (15:54 +0100)
commit440f03c2537806f296790fc9786e2e2f8775096a
treec194168418002f49243972460bce4c70e5382738
parentea2dc1066870906fba326837d2efe8a37a99eebe
net/virtio: skip device probe in vDPA mode

If we want a virtio device to work in vDPA (vhost data path acceleration)
mode, we could add a "vdpa=1" devarg for this device to specify the mode.

This patch let virtio pmd skip device probe when detecting this parameter.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/nics/virtio.rst
drivers/net/virtio/virtio_ethdev.c