Hi,

31/03/2018 13:13, Maxime Coquelin:
> 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.
> 
> As we discussed, I would prefer a generic solution at EAL level.

Please could you explain the requirement and the context?
Can we use RTE_ETH_DEV_DEFERRED state and device ownership?

Without knowing what's behind, I would say that a PMD should
never skip a device by itself, but let other entities decide
what to do with the probed device (thanks to probe notifications).


Reply via email to