[dpdk-dev] [PATCH 2/3] usertools: add hv_uio_setup script

Thomas Monjalon thomas at monjalon.net
Thu Apr 5 23:13:54 CEST 2018


05/04/2018 23:03, Stephen Hemminger:
> On Thu, 05 Apr 2018 22:43:39 +0200
> Thomas Monjalon <thomas at monjalon.net> wrote:
> 
> > 05/04/2018 21:13, Stephen Hemminger:
> > > Small script to rebind netvsc kernel device to Hyper-V
> > > networking PMD. It could be integrated in dpdk-bind, but dpdk-bind
> > > is focused on PCI, and that would get messy.
> > > 
> > > Eventually, this functionality will be built into netvsc driver
> > > (see vdev_netvsc as an example).  
> > 
> > I believe we should avoid creating such script.
> > The direction to go, for hotplug, is to remove dpdk-devbind.py,
> > and implement kernel binding in PMDs (with EAL helpers).
> > 
> > In order to make this change happen, we should not
> > add this hv_uio_setup.sh script.
> 
> Yes, this is a temporary script like dpdk-bind, want to get rid of it
> and do everything inside driver. That is the next step.

If this is temporary, it is a step in the wrong direction which
could confuse users.

If it becomes definitive (design discussion in progress), then it should
be merged in dpdk-devbind.py.




More information about the dev mailing list