Hi Xiao,
On 03/31/2018 04:29 AM, Xiao Wang wrote:
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.w...@intel.com>
---
drivers/net/virtio/virtio_ethdev.c | 43 ++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
As we discussed, I would prefer a generic solution at EAL level.
But as a start, I agree with this solution:
Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com>
Thanks!
Maxime