DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [dpdk-ovs] Problem with OVS
@ 2013-12-12 22:25 Romulo Rosa
  2013-12-13 16:10 ` Paul Barrette
  0 siblings, 1 reply; 6+ messages in thread
From: Romulo Rosa @ 2013-12-12 22:25 UTC (permalink / raw)
  To: dev

Hi,

i'm tryin to run OVS and i get a error. In documentation was mentioned a
possible solution for this problem but it didnt work to me. Someone have
any idea how to solve this problem?
The uio module is loaded.

*Command: *./datapath/dpdk/build/ovs_dpdk -c 0xf -n 4 -- -p 0xc -n 2 -k 2
--stats=1 --vswitchd=0 --client_switching_core=1 --config="(0,0,2),(1,0,3)"

*Error: *
EAL: Core 2 is ready (tid=43fd700)
EAL: Core 3 is ready (tid=3bfc700)
EAL: Core 1 is ready (tid=4bfe700)
WARNING: requested port 2 not present - ignoring
WARNING: requested port 3 not present - ignoring
config = 16,0,2
config = 17,0,3
nb_cfg_params = 2
Creating mbuf pool 'MProc_pktmbuf_pool' [14336 mbufs] ...
HASH: Enabling CRC32 instruction for hashing
APP: memzone address is 2ef33980
EAL: Error - exiting with code: 1
  Cause: Cannot allocate memory for port tx_q details

Thanks!
-- 
Rômulo Rosa Furtado

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [dpdk-ovs] Problem with OVS
  2013-12-12 22:25 [dpdk-dev] [dpdk-ovs] Problem with OVS Romulo Rosa
@ 2013-12-13 16:10 ` Paul Barrette
  2013-12-14 15:54   ` Romulo Rosa
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Barrette @ 2013-12-13 16:10 UTC (permalink / raw)
  To: Romulo Rosa, dev


On 12/12/2013 05:25 PM, Romulo Rosa wrote:
> Hi,
>
> i'm tryin to run OVS and i get a error. In documentation was mentioned a
> possible solution for this problem but it didnt work to me. Someone have
> any idea how to solve this problem?
> The uio module is loaded.
>
> *Command: *./datapath/dpdk/build/ovs_dpdk -c 0xf -n 4 -- -p 0xc
I think you have the wrong port mask.  Try using -p 0x3.

Pb
>   -n 2 -k 2
> --stats=1 --vswitchd=0 --client_switching_core=1 --config="(0,0,2),(1,0,3)"
>
> *Error: *
> EAL: Core 2 is ready (tid=43fd700)
> EAL: Core 3 is ready (tid=3bfc700)
> EAL: Core 1 is ready (tid=4bfe700)
> WARNING: requested port 2 not present - ignoring
> WARNING: requested port 3 not present - ignoring
> config = 16,0,2
> config = 17,0,3
> nb_cfg_params = 2
> Creating mbuf pool 'MProc_pktmbuf_pool' [14336 mbufs] ...
> HASH: Enabling CRC32 instruction for hashing
> APP: memzone address is 2ef33980
> EAL: Error - exiting with code: 1
>    Cause: Cannot allocate memory for port tx_q details
>
> Thanks!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [dpdk-ovs] Problem with OVS
  2013-12-13 16:10 ` Paul Barrette
@ 2013-12-14 15:54   ` Romulo Rosa
  2013-12-15  6:39     ` Jyotiswarup Raiturkar
  2013-12-15  8:02     ` Thomas Monjalon
  0 siblings, 2 replies; 6+ messages in thread
From: Romulo Rosa @ 2013-12-14 15:54 UTC (permalink / raw)
  To: Paul Barrette; +Cc: dev

Thanks Paul,

But i think my NICS are not supportted by Intel DPDK. In this link they are
not listed http://dpdk.org/doc/nics. Anyone know if there are other
supported cards?

./tools/pci_unbind.py --status

Network devices using IGB_UIO driver
====================================
<none>

Network devices using kernel driver
===================================
0000:03:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth0
*drv=tg3* unused=
*Active*
0000:03:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth1 *drv=tg3*
 unused=
0000:03:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth2 *drv=tg3*
 unused=
0000:03:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth3 *drv=tg3*
 unused=
0000:07:00.0 'OneConnect 10Gb NIC (be3)' if=eth4* drv=be2net* unused=
0000:07:00.1 'OneConnect 10Gb NIC (be3)' if=eth5 *drv=be2net* unused=

Other network devices
=====================
<none>


2013/12/13 Paul Barrette <paul.barrette@windriver.com>

>
> On 12/12/2013 05:25 PM, Romulo Rosa wrote:
>
>> Hi,
>>
>> i'm tryin to run OVS and i get a error. In documentation was mentioned a
>> possible solution for this problem but it didnt work to me. Someone have
>> any idea how to solve this problem?
>> The uio module is loaded.
>>
>> *Command: *./datapath/dpdk/build/ovs_dpdk -c 0xf -n 4 -- -p 0xc
>>
> I think you have the wrong port mask.  Try using -p 0x3.
>
> Pb
>
>>   -n 2 -k 2
>> --stats=1 --vswitchd=0 --client_switching_core=1
>> --config="(0,0,2),(1,0,3)"
>>
>> *Error: *
>>
>> EAL: Core 2 is ready (tid=43fd700)
>> EAL: Core 3 is ready (tid=3bfc700)
>> EAL: Core 1 is ready (tid=4bfe700)
>> WARNING: requested port 2 not present - ignoring
>> WARNING: requested port 3 not present - ignoring
>> config = 16,0,2
>> config = 17,0,3
>> nb_cfg_params = 2
>> Creating mbuf pool 'MProc_pktmbuf_pool' [14336 mbufs] ...
>> HASH: Enabling CRC32 instruction for hashing
>> APP: memzone address is 2ef33980
>> EAL: Error - exiting with code: 1
>>    Cause: Cannot allocate memory for port tx_q details
>>
>> Thanks!
>>
>
>


-- 
Rômulo Rosa Furtado

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [dpdk-ovs] Problem with OVS
  2013-12-14 15:54   ` Romulo Rosa
@ 2013-12-15  6:39     ` Jyotiswarup Raiturkar
  2013-12-15  8:02     ` Thomas Monjalon
  1 sibling, 0 replies; 6+ messages in thread
From: Jyotiswarup Raiturkar @ 2013-12-15  6:39 UTC (permalink / raw)
  To: Romulo Rosa; +Cc: dev

Hi Romulo

You can check lib/librte_eal/common/include/rte_pci_dev_ids.h for supported
NICs.
Also from your pci_unbind status , does not look like any NIC is bound to
igb_uio..


On Sat, Dec 14, 2013 at 9:24 PM, Romulo Rosa <romuloros@gmail.com> wrote:

> Thanks Paul,
>
> But i think my NICS are not supportted by Intel DPDK. In this link they are
> not listed http://dpdk.org/doc/nics. Anyone know if there are other
> supported cards?
>
> ./tools/pci_unbind.py --status
>
> Network devices using IGB_UIO driver
> ====================================
> <none>
>
> Network devices using kernel driver
> ===================================
> 0000:03:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth0
> *drv=tg3* unused=
> *Active*
> 0000:03:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth1 *drv=tg3*
>  unused=
> 0000:03:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth2 *drv=tg3*
>  unused=
> 0000:03:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth3 *drv=tg3*
>  unused=
> 0000:07:00.0 'OneConnect 10Gb NIC (be3)' if=eth4* drv=be2net* unused=
> 0000:07:00.1 'OneConnect 10Gb NIC (be3)' if=eth5 *drv=be2net* unused=
>
> Other network devices
> =====================
> <none>
>
>
> 2013/12/13 Paul Barrette <paul.barrette@windriver.com>
>
> >
> > On 12/12/2013 05:25 PM, Romulo Rosa wrote:
> >
> >> Hi,
> >>
> >> i'm tryin to run OVS and i get a error. In documentation was mentioned a
> >> possible solution for this problem but it didnt work to me. Someone have
> >> any idea how to solve this problem?
> >> The uio module is loaded.
> >>
> >> *Command: *./datapath/dpdk/build/ovs_dpdk -c 0xf -n 4 -- -p 0xc
> >>
> > I think you have the wrong port mask.  Try using -p 0x3.
> >
> > Pb
> >
> >>   -n 2 -k 2
> >> --stats=1 --vswitchd=0 --client_switching_core=1
> >> --config="(0,0,2),(1,0,3)"
> >>
> >> *Error: *
> >>
> >> EAL: Core 2 is ready (tid=43fd700)
> >> EAL: Core 3 is ready (tid=3bfc700)
> >> EAL: Core 1 is ready (tid=4bfe700)
> >> WARNING: requested port 2 not present - ignoring
> >> WARNING: requested port 3 not present - ignoring
> >> config = 16,0,2
> >> config = 17,0,3
> >> nb_cfg_params = 2
> >> Creating mbuf pool 'MProc_pktmbuf_pool' [14336 mbufs] ...
> >> HASH: Enabling CRC32 instruction for hashing
> >> APP: memzone address is 2ef33980
> >> EAL: Error - exiting with code: 1
> >>    Cause: Cannot allocate memory for port tx_q details
> >>
> >> Thanks!
> >>
> >
> >
>
>
> --
> Rômulo Rosa Furtado
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [dpdk-ovs] Problem with OVS
  2013-12-14 15:54   ` Romulo Rosa
  2013-12-15  6:39     ` Jyotiswarup Raiturkar
@ 2013-12-15  8:02     ` Thomas Monjalon
  2013-12-16 12:42       ` Romulo Rosa
  1 sibling, 1 reply; 6+ messages in thread
From: Thomas Monjalon @ 2013-12-15  8:02 UTC (permalink / raw)
  To: Romulo Rosa; +Cc: dev

14/12/2013 13:54, Romulo Rosa :
> But i think my NICS are not supportted by Intel DPDK. In this link they are
> not listed http://dpdk.org/doc/nics. Anyone know if there are other
> supported cards?
[...]
> 0000:03:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth0
> *drv=tg3* unused=
> *Active*
> 0000:03:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth1 *drv=tg3*
>  unused=
> 0000:03:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth2 *drv=tg3*
>  unused=
> 0000:03:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth3 *drv=tg3*
>  unused=
> 0000:07:00.0 'OneConnect 10Gb NIC (be3)' if=eth4* drv=be2net* unused=
> 0000:07:00.1 'OneConnect 10Gb NIC (be3)' if=eth5 *drv=be2net* unused=

No, Broadcom and Emulex NICs are not supported. But patches are welcomed.

By the way, you can use any NIC with pmd_pcap if you don't care about 
performance.

-- 
Thomas

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-dev] [dpdk-ovs] Problem with OVS
  2013-12-15  8:02     ` Thomas Monjalon
@ 2013-12-16 12:42       ` Romulo Rosa
  0 siblings, 0 replies; 6+ messages in thread
From: Romulo Rosa @ 2013-12-16 12:42 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev

 Unfortunately performance is something I need for my graduate work. I also do
not have much time to develop a patch at the moment, maybe in a master's
thesis.
Thanks


2013/12/15 Thomas Monjalon <thomas.monjalon@6wind.com>

> 14/12/2013 13:54, Romulo Rosa :
> > But i think my NICS are not supportted by Intel DPDK. In this link they
> are
> > not listed http://dpdk.org/doc/nics. Anyone know if there are other
> > supported cards?
> [...]
> > 0000:03:00.0 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth0
> > *drv=tg3* unused=
> > *Active*
> > 0000:03:00.1 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth1 *drv=tg3*
> >  unused=
> > 0000:03:00.2 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth2 *drv=tg3*
> >  unused=
> > 0000:03:00.3 'NetXtreme BCM5719 Gigabit Ethernet PCIe' if=eth3 *drv=tg3*
> >  unused=
> > 0000:07:00.0 'OneConnect 10Gb NIC (be3)' if=eth4* drv=be2net* unused=
> > 0000:07:00.1 'OneConnect 10Gb NIC (be3)' if=eth5 *drv=be2net* unused=
>
> No, Broadcom and Emulex NICs are not supported. But patches are welcomed.
>
> By the way, you can use any NIC with pmd_pcap if you don't care about
> performance.
>
> --
> Thomas
>



-- 
Rômulo Rosa Furtado

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-16 12:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-12 22:25 [dpdk-dev] [dpdk-ovs] Problem with OVS Romulo Rosa
2013-12-13 16:10 ` Paul Barrette
2013-12-14 15:54   ` Romulo Rosa
2013-12-15  6:39     ` Jyotiswarup Raiturkar
2013-12-15  8:02     ` Thomas Monjalon
2013-12-16 12:42       ` Romulo Rosa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).