On 2/24/2020 6:37 PM, Dmitry Kozlyuk wrote:
> Oh boy! If DriverEntry() is not being called, the loader is finding something
wrong and is unable to load the driver.
>
> @Harini: Can Jeffrey (@MS) help here?
By trial and error I determined that changing device class from "Net" to a
custom one fixes the issue (see attached patch), root cause is still unknown.
From this point, running virtio PMD is blocked by lack of multi-BAR support
in NETUIO, which is a separate concern, outside of scope of this thread.
Dmitry...
This is a very interesting find. Will this change to a custom class allow the
driver to load in the native (bare-metal) case, too?
Also, Naty (Narcisa) has a patch for multi-BAR support, that we (Intel) were
not able to successfully use...but it's working for her.
If you'd like to try it out, she can send it to you.
ranjit m.