DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] Issue while running l3fwd application over DPDK 19.05
@ 2019-07-04  9:07 Nilesh Unhale
  0 siblings, 0 replies; only message in thread
From: Nilesh Unhale @ 2019-07-04  9:07 UTC (permalink / raw)
  To: users; +Cc: DIPTYAROOP MAJI

Hello,

We tried to run l3fwd provided with DPDK using following command
    sudo ./l3fwd -l 1,2 -n 4    -- -p 0x3 --config="(0,0,1),(1,0,2)"
    Following are the logs and inline comments starting from ******:

$ sudo ./l3fwd -l 1,2 -n 4  -b 01:00.0 -b 01:00.1  -- -p 0x3 
--config="(0,0,1),(1,0,2)"
EAL: Detected 24 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: PCI device 0000:01:00.0 on NUMA socket 0
EAL:   Device is blacklisted, not initializing
EAL: PCI device 0000:01:00.1 on NUMA socket 0
EAL:   Device is blacklisted, not initializing
EAL: PCI device 0000:81:00.0 on NUMA socket 1
EAL:   probe driver: 8086:1583 net_i40e
i40e_GLQF_reg_init(): i40e device 0000:81:00.0 changed global register 
[0x002689a0]. original: 0x00000000, new: 0x00000029
i40e_GLQF_reg_init(): i40e device 0000:81:00.0 changed global register 
[0x00268ca4]. original: 0x00001840, new: 0x00009420
EAL: PCI device 0000:81:00.1 on NUMA socket 1
EAL:   probe driver: 8086:1583 net_i40e
LPM or EM none selected, default LPM on
Initializing port 0 ... Creating queues: nb_rxq=1 nb_txq=2... Port 0 
modified RSS hash function based on hardware support,requested:0xa38c 
configured:0x2288
  Address:3C:FD:FE:9E:7B:5C, Destination:02:00:00:00:00:00, Allocated 
mbuf pool on socket 0
LPM: Adding route 192.18.0.0 / 24 (0)
LPM: Adding route 192.18.1.0 / 24 (1)
LPM: Adding route 2001:200:: / 48 (0)
LPM: Adding route 2001:200:0:0:1:: / 48 (1)
txq=1,0,0 txq=2,1,0
Initializing port 1 ... Creating queues: nb_rxq=1 nb_txq=2... Port 1 
modified RSS hash function based on hardware support,requested:0xa38c 
configured:0x2288
  Address:3C:FD:FE:9E:7B:5D, Destination:02:00:00:00:00:01, txq=1,0,0 
txq=2,1,0

Initializing rx queues on lcore 1 ... rxq=0,0,0
Initializing rx queues on lcore 2 ... rxq=1,0,0


Checking link 
status..........................................................................................done
Port 0 Link Down                            *******    ==> why is this 
down and how to bring it up?  ***********
Port1 Link Up. Speed 40000 Mbps -full-duplex
L3FWD: entering main loop on lcore 1
L3FWD:  -- lcoreid=1 portid=0 rxqueueid=0
L3FWD: entering main loop on lcore 2
L3FWD:  -- lcoreid=2 portid=1 rxqueueid=0

******* ==> it is getting stuck here, because no packets are being 
received.
But, the NIC is bound to DPDK and is not showing in ifconfig. So, how 
to allocate IP/ send packets to this NIC?
Do we need to add any route so that when packets come to eth iface, it 
will be redirected to dpdk iface?



System specifications:
2 Machines each with ->

Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.5 LTS
Release:	16.04
Codename:	xenial

Kernel: 4.15.0-29-generic
DPDK: 19.05.0

Hardware:
CPU: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz

NIC 1: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ 
(i40e)
NIC 2: Intel Corporation I350 Gigabit Network Connection (igb)

Regards,
Nilesh Unhale



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-04  9:07 [dpdk-users] Issue while running l3fwd application over DPDK 19.05 Nilesh Unhale

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox