DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] l3fwd rte_eth_dev_configure: err=-17
@ 2017-07-30  7:42 czy12345
  2017-07-31  5:47 ` Pavel Shirshov
  0 siblings, 1 reply; 3+ messages in thread
From: czy12345 @ 2017-07-30  7:42 UTC (permalink / raw)
  To: users

Hello experts,

I have successfully ran l2fwd example. But I'm having troubles running the l3fwd example. I find that in l2fwd the nb_tx_queue parameter of function rte_eth_dev_configure is equal to 1, but in l3fwd the parameter is set to the number of lcores. And then when I use more than one lcores, the function fails. Wondering what is related with the problem?

Thanks in advance.

#./l3fwd -l 1 -n 4 -- -p 0x3 --config="(0,0,1),(1,0,1)" --parse-ptype
success

#./l3fwd -l 1,2 -n 4 -- -p 0x3 --config="(0,0,1),(1,0,2)" --parse-ptype
EAL: Detected 8 lcore(s)
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: PCI device 0000:01:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10e6 net_e1000_igb
EAL: PCI device 0000:01:00.1 on NUMA socket -1
EAL:   probe driver: 8086:10e6 net_e1000_igb
EAL: PCI device 0000:02:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 net_e1000_em
EAL: PCI device 0000:03:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 net_e1000_em
EAL: PCI device 0000:04:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 net_e1000_em
EAL: PCI device 0000:05:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 net_e1000_em
EAL: PCI device 0000:06:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 net_e1000_em
EAL: PCI device 0000:07:00.0 on NUMA socket -1
EAL:   probe driver: 8086:10d3 net_e1000_em
soft parse-ptype is enabled
L3FWD: LPM or EM none selected, default LPM on
Initializing port 0 ... Creating queues: nb_rxq=1 nb_txq=2... EAL: Error - exiting with code: 1
  Cause: Cannot configure device: err=-17, port=0

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

end of thread, other threads:[~2017-07-31 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-30  7:42 [dpdk-users] l3fwd rte_eth_dev_configure: err=-17 czy12345
2017-07-31  5:47 ` Pavel Shirshov
2017-07-31 12:55   ` czy12345

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