Re: [dpdk-dev] [PATCH v2 09/14] vhost: use linked-list for vDPA devices

2020-06-26 Thread Maxime Coquelin
On 6/26/20 1:03 PM, Adrian Moreno wrote: > > On 6/24/20 2:26 PM, Maxime Coquelin wrote: >> There is no more notion of device ID outside of vdpa.c. >> We can now move from array to linked-list model for keeping >> track of the vDPA devices. >> >> There is no point in using array here, as all vDP

Re: [dpdk-dev] [PATCH v2 09/14] vhost: use linked-list for vDPA devices

2020-06-26 Thread Adrian Moreno
On 6/24/20 2:26 PM, Maxime Coquelin wrote: > There is no more notion of device ID outside of vdpa.c. > We can now move from array to linked-list model for keeping > track of the vDPA devices. > > There is no point in using array here, as all vDPA API are > used from the control path, so no perf

[dpdk-dev] [PATCH v2 09/14] vhost: use linked-list for vDPA devices

2020-06-24 Thread Maxime Coquelin
There is no more notion of device ID outside of vdpa.c. We can now move from array to linked-list model for keeping track of the vDPA devices. There is no point in using array here, as all vDPA API are used from the control path, so no performance concerns. Signed-off-by: Maxime Coquelin --- li