[dpdk-dev] [PATCH v3 2/4] net/virtio: skip device probe in vdpa mode

Maxime Coquelin maxime.coquelin at redhat.com
Sat Mar 31 13:13:02 CEST 2018


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.wang at 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.coquelin at redhat.com>

Thanks!
Maxime


More information about the dev mailing list