[dpdk-dev] [PATCH] eal: allow virtual devices to be white/black listed

2014-11-17 Thread Bruce Richardson
On Mon, Nov 17, 2014 at 04:40:19PM +, Nicolas Pernas Maradei wrote: > > On 17/11/14 16:00, Neil Horman wrote: > >I get that, I was more asking, why those values? They seem a bit magic to > >me, > >and might benefit from some descriptive macros or comments so they make more > >sense > >Neil >

[dpdk-dev] [PATCH] eal: allow virtual devices to be white/black listed

2014-11-17 Thread Nicolas Pernas Maradei
On 17/11/14 16:00, Neil Horman wrote: > I get that, I was more asking, why those values? They seem a bit magic to me, > and might benefit from some descriptive macros or comments so they make more > sense > Neil OK, I get you now. Maybe the diff is not very clear. I just left the original calls

[dpdk-dev] [PATCH] eal: allow virtual devices to be white/black listed

2014-11-17 Thread Neil Horman
On Mon, Nov 17, 2014 at 04:52:50PM +, Bruce Richardson wrote: > On Mon, Nov 17, 2014 at 04:40:19PM +, Nicolas Pernas Maradei wrote: > > > > On 17/11/14 16:00, Neil Horman wrote: > > >I get that, I was more asking, why those values? They seem a bit magic to > > >me, > > >and might benefit

[dpdk-dev] [PATCH] eal: allow virtual devices to be white/black listed

2014-11-17 Thread Nicolas Pernas Maradei
On 17/11/14 14:10, Neil Horman wrote: > What are the above pci bus/device/function tuples? > > Neil Hi, I'm not sure if I understand the question. If you mean what kind of devices those are, as in physical or virtual, they are physical. rte_eal_devargs_add() would parse the string as a PCI ID.

[dpdk-dev] [PATCH] eal: allow virtual devices to be white/black listed

2014-11-17 Thread Neil Horman
On Mon, Nov 17, 2014 at 02:52:18PM +, Nicolas Pernas Maradei wrote: > > On 17/11/14 14:10, Neil Horman wrote: > >What are the above pci bus/device/function tuples? > Hi, > > I'm not sure if I understand the question. If you mean what kind of devices > those are, as in physical or virtual, the

[dpdk-dev] [PATCH] eal: allow virtual devices to be white/black listed

2014-11-17 Thread Neil Horman
On Sun, Nov 16, 2014 at 09:26:55PM +, Nicol?s Pernas Maradei wrote: > From: Nicol?s Pernas Maradei > > Virtual and physical devices are now treated the same in terms of > white/black listing. Virtual devices can be defined using --vdev as > before and also whitelisted (using -w vdev_name) or

[dpdk-dev] [PATCH] eal: allow virtual devices to be white/black listed

2014-11-16 Thread Nicolás Pernas Maradei
From: Nicol?s Pernas Maradei Virtual and physical devices are now treated the same in terms of white/black listing. Virtual devices can be defined using --vdev as before and also whitelisted (using -w vdev_name) or blacklisted (using -b vdev_name). This allows the user to have only a virtual devi