Re: [dpdk-dev] [PATCH] usertools: add device index for dpdk-devbind script

2019-06-04 Thread Stephen Hemminger
On Mon, 3 Jun 2019 20:57:36 +0800 Loc Nguyen wrote: > Add a device index in front of the PCI ID for easy counting > > Network devices using DPDK-compatible driver > > 0: :07:00.0 ... > 1: :07:00.1 ... > > Signed-off-by: Loc Nguyen > --- >

Re: [dpdk-dev] [PATCH] usertools: add device index for dpdk-devbind script

2019-06-04 Thread Loc Nguyen
Hi Bruce, Thanks for the feedback. In my application, we map the NIC interfaces into port numbers, which are these indexes. For example, we have an config file saying we would like to use port 2, 3 and 5 for RX. Having the indexes printed together with the NIC interfaces via this script helps u

Re: [dpdk-dev] [PATCH] usertools: add device index for dpdk-devbind script

2019-06-04 Thread Bruce Richardson
On Mon, Jun 03, 2019 at 08:57:36PM +0800, Loc Nguyen wrote: > Add a device index in front of the PCI ID for easy counting > > Network devices using DPDK-compatible driver > > 0: :07:00.0 ... > 1: :07:00.1 ... > > Signed-off-by: Loc Nguyen >

[dpdk-dev] [PATCH] usertools: add device index for dpdk-devbind script

2019-06-03 Thread Loc Nguyen
Add a device index in front of the PCI ID for easy counting Network devices using DPDK-compatible driver 0: :07:00.0 ... 1: :07:00.1 ... Signed-off-by: Loc Nguyen --- usertools/dpdk-devbind.py | 4 +++- 1 file changed, 3 insertions(+), 1 de