[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-09-02 Thread Mussar, Gary
.org > Subject: Re: [dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface > issue. > > We did this slightly differently. This is 100% python and is a bit > more general. We search for the first "net" directory under the > specific device directory. > >

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-09-01 Thread Dey, Souvik
.org > Subject: Re: [dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface > issue. > > We did this slightly differently. This is 100% python and is a bit > more general. We search for the first "net" directory under the > specific device directory. > >

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-09-01 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Mussar, Gary > Sent: Monday, August 29, 2016 4:10 PM > To: Dey, Souvik ; Stephen Hemminger > > Cc: nhorman at tuxdriver.com; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v1] dp

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-30 Thread Mussar, Gary
-Original Message- From: Dey, Souvik [mailto:so...@sonusnet.com] Sent: Monday, August 29, 2016 7:17 PM To: Mussar, Gary; Stephen Hemminger Cc: nhorman at tuxdriver.com; dev at dpdk.org Subject: RE: [dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue. Hi, I already followed the

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-30 Thread Neil Horman
t; > -----Original Message----- > From: Mussar, Gary [mailto:gmussar at ciena.com] > Sent: Monday, August 29, 2016 11:10 AM > To: Dey, Souvik ; Stephen Hemminger networkplumber.org> > Cc: nhorman at tuxdriver.com; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v1] dpdk-de

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-29 Thread Dey, Souvik
for ssh connection device["Ssh_if"] = False device["Active"] = "" ----------- Gary -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Dey, Souvik Sent: Friday, August 26, 2016 8:21 PM To: Stephe

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-29 Thread Stephen Hemminger
On Mon, 29 Aug 2016 23:16:35 + "Dey, Souvik" wrote: > Hi, > > I already followed the 100% python way and submitted the v3 of this patch. > http://dpdk.org/dev/patchwork/patch/15378/ > How will your patch be different in solving the issue. There will always be > multiple ways to solving thi

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-29 Thread Mussar, Gary
--- Gary -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Dey, Souvik Sent: Friday, August 26, 2016 8:21 PM To: Stephen Hemminger Cc: nhorman at tuxdriver.com; dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio i

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-27 Thread Dey, Souvik
: Dey, Souvik Cc: nhorman at tuxdriver.com; dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue. On Wed, 24 Aug 2016 22:25:46 -0400 souvikdey33 wrote: > +#The path for virtio devices are different. Get the correct path. > + virtio = "/

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-26 Thread Stephen Hemminger
On Wed, 24 Aug 2016 22:25:46 -0400 souvikdey33 wrote: > +#The path for virtio devices are different. Get the correct path. > + virtio = "/sys/bus/pci/devices/%s/" % dev_id > +cmd = " ls %s | grep 'virt' " %virtio > +virtio = commands.getoutput(cmd) > +virtio_sys_path = "/sys/b

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-25 Thread Stephen Hemminger
On Wed, 24 Aug 2016 22:25:46 -0400 souvikdey33 wrote: > +#The path for virtio devices are different. Get the correct path. > + virtio = "/sys/bus/pci/devices/%s/" % dev_id > +cmd = " ls %s | grep 'virt' " %virtio > +virtio = commands.getoutput(cmd) I am not a python export but in

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-25 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, August 25, 2016 11:19 AM > To: Mcnamara, John > Cc: dev at dpdk.org; souvikdey33 ; nhorman at > tuxdriver.com > Subject: Re: [dpdk-dev] [PATCH v1] dpdk-devbind

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-25 Thread Mcnamara, John
-Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of souvikdey33 > Sent: Thursday, August 25, 2016 3:26 AM > To: nhorman at tuxdriver.com; dev at dpdk.org > Cc: souvikdey33 > Subject: [dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue. As you

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-25 Thread Thomas Monjalon
2016-08-25 09:51, Mcnamara, John: > The word fix on the command line normally means you should add a "Fixes" line > to the body but in this case the issue was probably always there (or at least > since virtio support was added) so you can probably omit it. Even if it has always been there, we need

[dpdk-dev] [PATCH v1] dpdk-devbind.py: Virtio interface issue.

2016-08-24 Thread souvikdey33
This change is required to have the interface name for virtio interfaces. When we execute the status command the for virtio inerfaces we get Sample output without the change: :00:04.0 'Virtio network device' if= drv=virtio-pci unused=virtio_pci,igb_uio Though for other drivers this works. Samp