* [dpdk-dev] a NIC binding to igb_uio module of DPDK is down
@ 2014-08-13 4:27 BYEONG-GI KIM
2014-08-13 6:30 ` Wodkowski, PawelX
2014-08-13 7:11 ` Choi, Sy Jong
0 siblings, 2 replies; 4+ messages in thread
From: BYEONG-GI KIM @ 2014-08-13 4:27 UTC (permalink / raw)
To: dev, Dpdk-ovs
Hello.
I deployed openstack with dpdk-ovs and I'm now testing it.
The problem is that a NIC which is binding to igb_uio module of DPDK is
physically down so that it seems not communicate with the other hosts
through the NIC.
The test environment is as below:
OS: RHEL 6 with kernel 3.7.10
Hardware information: Intel Atom Processor C2758, 64GB DDR3, 4x RJ45
Gigabit Ethernet LAN ports, etc.
DPDK version: 1.7.0
ovdk version: 1.1
I checked the NIC's status via ./tools/dpdk_nic_bind.py --status, and it
doesn't snow *Active* status:
./tools/dpdk_nic_bind.py --status
Network devices using DPDK-compatible driver
============================================
0000:00:14.1 'Ethernet Connection I354' drv=igb_uio unused=igb
Network devices using kernel driver
===================================
0000:00:14.0 'Ethernet Connection I354' if=eth0 drv=igb unused=igb_uio
*Active*
0000:00:14.2 'Ethernet Connection I354' if=eth2 drv=igb unused=igb_uio
*Active*
0000:00:14.3 'Ethernet Connection I354' if=eth3 drv=igb unused=igb_uio
Other network devices
=====================
<none>
The NIC port on the PC doesn't glitter physically, which means it seems not
connected physically.
Doesn't the processor support DPDK, or what is causing the problem?
Any comments would be really appreciated.
Best Regards
Byeong-Gi KIM
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] a NIC binding to igb_uio module of DPDK is down
2014-08-13 4:27 [dpdk-dev] a NIC binding to igb_uio module of DPDK is down BYEONG-GI KIM
@ 2014-08-13 6:30 ` Wodkowski, PawelX
2014-08-13 16:25 ` Richardson, Bruce
2014-08-13 7:11 ` Choi, Sy Jong
1 sibling, 1 reply; 4+ messages in thread
From: Wodkowski, PawelX @ 2014-08-13 6:30 UTC (permalink / raw)
To: dev, Dpdk-ovs
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of BYEONG-GI KIM
> Sent: Wednesday, August 13, 2014 06:27
> To: dev@dpdk.org; Dpdk-ovs@lists.01.org
> Subject: [dpdk-dev] a NIC binding to igb_uio module of DPDK is down
>
> Hello.
>
> I deployed openstack with dpdk-ovs and I'm now testing it.
>
> The problem is that a NIC which is binding to igb_uio module of DPDK is
> physically down so that it seems not communicate with the other hosts
> through the NIC.
>
> The test environment is as below:
>
> OS: RHEL 6 with kernel 3.7.10
> Hardware information: Intel Atom Processor C2758, 64GB DDR3, 4x RJ45
> Gigabit Ethernet LAN ports, etc.
> DPDK version: 1.7.0
> ovdk version: 1.1
>
> I checked the NIC's status via ./tools/dpdk_nic_bind.py --status, and it
> doesn't snow *Active* status:
>
> ./tools/dpdk_nic_bind.py --status
>
> Network devices using DPDK-compatible driver
> ============================================
> 0000:00:14.1 'Ethernet Connection I354' drv=igb_uio unused=igb
>
> Network devices using kernel driver
> ===================================
> 0000:00:14.0 'Ethernet Connection I354' if=eth0 drv=igb unused=igb_uio
> *Active*
> 0000:00:14.2 'Ethernet Connection I354' if=eth2 drv=igb unused=igb_uio
> *Active*
> 0000:00:14.3 'Ethernet Connection I354' if=eth3 drv=igb unused=igb_uio
>
> Other network devices
> =====================
> <none>
>
> The NIC port on the PC doesn't glitter physically, which means it seems not
> connected physically.
>
> Doesn't the processor support DPDK, or what is causing the problem?
>
> Any comments would be really appreciated.
You should bring down interface before binding it to igb_uio so the interface
can't be active :)
Interface is managed by DPDK app, not the system so it will
not be shown as active. Try binding '0000:00:14.3' to igb uio and run some
example like L2 forwarding first to see if it works.
>
> Best Regards
>
> Byeong-Gi KIM
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] a NIC binding to igb_uio module of DPDK is down
2014-08-13 6:30 ` Wodkowski, PawelX
@ 2014-08-13 16:25 ` Richardson, Bruce
0 siblings, 0 replies; 4+ messages in thread
From: Richardson, Bruce @ 2014-08-13 16:25 UTC (permalink / raw)
To: Wodkowski, PawelX, dev, Dpdk-ovs
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wodkowski, PawelX
> Sent: Tuesday, August 12, 2014 11:30 PM
> To: dev@dpdk.org; Dpdk-ovs@lists.01.org
> Subject: Re: [dpdk-dev] a NIC binding to igb_uio module of DPDK is down
>
> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of BYEONG-GI KIM
> > Sent: Wednesday, August 13, 2014 06:27
> > To: dev@dpdk.org; Dpdk-ovs@lists.01.org
> > Subject: [dpdk-dev] a NIC binding to igb_uio module of DPDK is down >
> > Hello.
> >
> > I deployed openstack with dpdk-ovs and I'm now testing it.
> >
> > The problem is that a NIC which is binding to igb_uio module of DPDK is
> > physically down so that it seems not communicate with the other hosts
> > through the NIC.
> >
> > The test environment is as below:
> >
> > OS: RHEL 6 with kernel 3.7.10
> > Hardware information: Intel Atom Processor C2758, 64GB DDR3, 4x RJ45
> > Gigabit Ethernet LAN ports, etc.
> > DPDK version: 1.7.0
> > ovdk version: 1.1
> >
> > I checked the NIC's status via ./tools/dpdk_nic_bind.py --status, and it
> > doesn't snow *Active* status:
> >
> > ./tools/dpdk_nic_bind.py --status
> >
> > Network devices using DPDK-compatible driver
> > ============================================
> > 0000:00:14.1 'Ethernet Connection I354' drv=igb_uio unused=igb
> >
> > Network devices using kernel driver
> > ===================================
> > 0000:00:14.0 'Ethernet Connection I354' if=eth0 drv=igb unused=igb_uio
> > *Active*
> > 0000:00:14.2 'Ethernet Connection I354' if=eth2 drv=igb unused=igb_uio
> > *Active*
> > 0000:00:14.3 'Ethernet Connection I354' if=eth3 drv=igb unused=igb_uio
> >
> > Other network devices
> > =====================
> > <none>
> >
> > The NIC port on the PC doesn't glitter physically, which means it seems not
> > connected physically.
> >
> > Doesn't the processor support DPDK, or what is causing the problem?
> >
> > Any comments would be really appreciated.
>
> You should bring down interface before binding it to igb_uio so the interface
> can't be active :)
> Interface is managed by DPDK app, not the system so it will
> not be shown as active. Try binding '0000:00:14.3' to igb uio and run some
> example like L2 forwarding first to see if it works.
> >
> > Best Regards
> >
> > Byeong-Gi KIM
Also, to clarify, the "active" tag on ports shown by the unbind script is simply an indication that the port is currently enabled with an IP address in Linux and is likely in use and so should not be unbound (the script will prevent you from doing so unless you specify the -f (force unbind) flag). This is a safety measure put in place to prevent people logged in using ssh from unbinding the port they are currently using thereby disconnecting themselves from the board.
/Bruce
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] a NIC binding to igb_uio module of DPDK is down
2014-08-13 4:27 [dpdk-dev] a NIC binding to igb_uio module of DPDK is down BYEONG-GI KIM
2014-08-13 6:30 ` Wodkowski, PawelX
@ 2014-08-13 7:11 ` Choi, Sy Jong
1 sibling, 0 replies; 4+ messages in thread
From: Choi, Sy Jong @ 2014-08-13 7:11 UTC (permalink / raw)
To: BYEONG-GI KIM, dev, Dpdk-ovs
Hi Mr. Kim,
The port bind with igb_uio will not be seen by the kernel.
May be the status is not active because you DPDK app has not started.
You can run DPDK testpmd, then you will see the NIC LED blinking, you can even control the LED
Example:-
Network devices using DPDK-compatible driver
============================================
0000:00:08.0 'Device 154c' drv=igb_uio unused=
0000:00:09.0 'Device 154c' drv=igb_uio unused=
Network devices using kernel driver
===================================
0000:00:03.0 'Virtio network device' if= drv=virtio-pci unused=igb_uio
Other network devices
=====================
<none>
Regards,
Choi, Sy Jong
Platform Application Engineer
-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of BYEONG-GI KIM
Sent: Wednesday, August 13, 2014 12:27 PM
To: dev@dpdk.org; Dpdk-ovs@lists.01.org
Subject: [dpdk-dev] a NIC binding to igb_uio module of DPDK is down
Hello.
I deployed openstack with dpdk-ovs and I'm now testing it.
The problem is that a NIC which is binding to igb_uio module of DPDK is physically down so that it seems not communicate with the other hosts through the NIC.
The test environment is as below:
OS: RHEL 6 with kernel 3.7.10
Hardware information: Intel Atom Processor C2758, 64GB DDR3, 4x RJ45 Gigabit Ethernet LAN ports, etc.
DPDK version: 1.7.0
ovdk version: 1.1
I checked the NIC's status via ./tools/dpdk_nic_bind.py --status, and it doesn't snow *Active* status:
./tools/dpdk_nic_bind.py --status
Network devices using DPDK-compatible driver ============================================
0000:00:14.1 'Ethernet Connection I354' drv=igb_uio unused=igb
Network devices using kernel driver
===================================
0000:00:14.0 'Ethernet Connection I354' if=eth0 drv=igb unused=igb_uio
*Active*
0000:00:14.2 'Ethernet Connection I354' if=eth2 drv=igb unused=igb_uio
*Active*
0000:00:14.3 'Ethernet Connection I354' if=eth3 drv=igb unused=igb_uio
Other network devices
=====================
<none>
The NIC port on the PC doesn't glitter physically, which means it seems not connected physically.
Doesn't the processor support DPDK, or what is causing the problem?
Any comments would be really appreciated.
Best Regards
Byeong-Gi KIM
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-13 16:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-13 4:27 [dpdk-dev] a NIC binding to igb_uio module of DPDK is down BYEONG-GI KIM
2014-08-13 6:30 ` Wodkowski, PawelX
2014-08-13 16:25 ` Richardson, Bruce
2014-08-13 7:11 ` Choi, Sy Jong
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).