DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] check_port_config error
@ 2017-12-12  6:22 Pragash Vijayaragavan
  2017-12-12 14:16 ` Bruce Richardson
  0 siblings, 1 reply; 2+ messages in thread
From: Pragash Vijayaragavan @ 2017-12-12  6:22 UTC (permalink / raw)
  To: dev

Hi,

I am trying to run dpdk app l3fwd but gives some errors.

I bind my nics using dpdk-dev-bind script.

I also set env variables correctly.

The nb_ports is 0 when i tried printing that inside "check_port_config"
function.
Also I used "igb_uio" module but it still shows net_i40e

can someone help me please. Thanks

pragash@revvit:~/dpdk-stable-17.05.2/examples/l3fwd/build$ ./l3fwd -l 1-19
--no-huge -- -p 0x07 -L --config="(0,0,1),(1,0,2)" --ipv6 --parse-ptype
EAL: Detected 20 lcore(s)
EAL: Probing VFIO support...
EAL: Started without hugepages support, physical addresses not available
EAL: PCI device 0000:02:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: Requested device 0000:02:00.0 cannot be used
EAL: PCI device 0000:02:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: PCI device 0000:04:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: Requested device 0000:04:00.0 cannot be used
EAL: PCI device 0000:04:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1583 net_i40e
EAL: PCI device 0000:08:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb
EAL: PCI device 0000:08:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1521 net_e1000_igb
L3FWD: Longest-prefix match selected
L3FWD: IPV6 is specifiednsoft parse-ptype is enabled

port 0 is not present on the board
EAL: Error - exiting with code: 1
  Cause: check_port_config failed


Thanks,

Pragash Vijayaragavan
Grad Student at Rochester Institute of Technology
email : pxv3620@rit.edu
ph : 585 764 4662

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

* Re: [dpdk-dev] check_port_config error
  2017-12-12  6:22 [dpdk-dev] check_port_config error Pragash Vijayaragavan
@ 2017-12-12 14:16 ` Bruce Richardson
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Richardson @ 2017-12-12 14:16 UTC (permalink / raw)
  To: Pragash Vijayaragavan; +Cc: users

On Tue, Dec 12, 2017 at 01:22:16AM -0500, Pragash Vijayaragavan wrote:
> Hi,
> 
> I am trying to run dpdk app l3fwd but gives some errors.
> 
> I bind my nics using dpdk-dev-bind script.
> 
> I also set env variables correctly.
> 
> The nb_ports is 0 when i tried printing that inside "check_port_config"
> function.
> Also I used "igb_uio" module but it still shows net_i40e
> 
> can someone help me please. Thanks
> 

Hi,

this question is more suited to the users@dpdk.org rather than the
dev@dpdk.org list.

However, in order to debug your problem, it could be useful to send on
the output of "dpdk-devbind.py -s" to show the current state of the
various ports.

> pragash@revvit:~/dpdk-stable-17.05.2/examples/l3fwd/build$ ./l3fwd -l 1-19
> --no-huge -- -p 0x07 -L --config="(0,0,1),(1,0,2)" --ipv6 --parse-ptype
> EAL: Detected 20 lcore(s)
> EAL: Probing VFIO support...
> EAL: Started without hugepages support, physical addresses not available

I notice too, that you are not running as the root user and not using
hugepage memory. In this case, the driver may not be able to function as
it cannot get the physical address information of the memory in use.
Does running using sudo and without the "--no-huge" flag work?

/Bruce

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-12  6:22 [dpdk-dev] check_port_config error Pragash Vijayaragavan
2017-12-12 14:16 ` Bruce Richardson

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).