DPDK usage discussions
 help / color / mirror / Atom feed
* Re: [dpdk-users] [dpdk-dev] check_port_config error
       [not found] <CANp7S21yc-JCJwbS2pXcJMpKANkc0jU7hwCCekZ1PaZSLSorkA@mail.gmail.com>
@ 2017-12-12 14:16 ` Bruce Richardson
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2017-12-12 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CANp7S21yc-JCJwbS2pXcJMpKANkc0jU7hwCCekZ1PaZSLSorkA@mail.gmail.com>
2017-12-12 14:16 ` [dpdk-users] [dpdk-dev] check_port_config error 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).