From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1B9BC42411 for ; Wed, 18 Jan 2023 20:50:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E0B1640223; Wed, 18 Jan 2023 20:50:36 +0100 (CET) Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) by mails.dpdk.org (Postfix) with ESMTP id 55DF1400D6 for ; Wed, 18 Jan 2023 20:50:35 +0100 (CET) Received: by mail-io1-f49.google.com with SMTP id b127so8905220iof.8 for ; Wed, 18 Jan 2023 11:50:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=pczGO7WUB7Bl0oS2AlNEszEwouEGmrPO902x+ZYZzoc=; b=Bxfks84DZ8TU+3YEu84C7wrFpkf0GtIgKo6gg5XqFTB5gJwIyZMGb3RRJR/6V/W2JW DlmpAxdCcOgHbg4Fd/qpHGdbNlGm6L5+zD8PeiFose24acv28UEoUq3//8yMJGy0yc+W IVCXwrCdBsE/HNE6XWYiVRXexARBC8354yQGTLK1R8L0kVNeJPMnqJ0FC97jkK2aIeov BIGmzKzhSl36gac4RBAwmhxoYgg8YFwuJli0GVyuN1O/R92aJPRKWK4Ct/J1Ddg9uUQL 5w8kIgqNta0m+xxKUoyYoHxaCe9kPoirdcPn+gWopxjEhBOZnEaJmgr9+QEggeXhL3IH S1iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=pczGO7WUB7Bl0oS2AlNEszEwouEGmrPO902x+ZYZzoc=; b=AT602CjvECmoNHXA3aZdlrTzSPxeZId2ovspVE5i2rQOLIKimqGIRYJpNoA2iqfqMn I7318iXxFtohHNcT3Mqeym5KH08JenWmnFRH9Rvx2Bme0OQL51YQqCD3a9Uoc4GA1JzR fnknPgzCZZoNUNWYOsNHzp0z0c/U2KBQ+YBGHb0Wrjvz0jDsVmHlSKUvT1ljPGM5gtl1 DY8kIVlxhRDuwUWp7ClT2rMp+KtCY+EE+m4I7187POZfxL8JB5jR6xesbCQsf6oFSLqi GNgTHGylwW9onpTnsC+fS5jJezL1yEQPyVdQ8t1HMOIIeJve7d6ffUgv5r9YVmcZTy/0 bQuA== X-Gm-Message-State: AFqh2koZXZZbqYBuZdsR+A0e6Et3pDTABi3beM6wEfzZ/tBaZreB4Gg3 XI9NohwtnemlG3uxyxBAPrFz4m/GoFfxmD1IeEdgCsAo0fA= X-Google-Smtp-Source: AMrXdXvmxlZWMIkFHL03vkKVDnn9eC962yta+53kU2+Ip6d3GlhfulZ5mxXTp3sMXv+VcZKMHzvMh45uvv75aXJEtys= X-Received: by 2002:a05:6602:2c48:b0:6ec:b1cc:d237 with SMTP id x8-20020a0566022c4800b006ecb1ccd237mr593976iov.35.1674071434331; Wed, 18 Jan 2023 11:50:34 -0800 (PST) MIME-Version: 1.0 From: Gennady Abramov Date: Wed, 18 Jan 2023 22:50:23 +0300 Message-ID: Subject: 22.11: cannot see packets on NXP LX2160a board To: users@dpdk.org Content-Type: multipart/alternative; boundary="0000000000002c0bec05f28f2175" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --0000000000002c0bec05f28f2175 Content-Type: text/plain; charset="UTF-8" Hello, I'm trying to use 22.11 DPDK on SolidRun HoneyComb/ NXP LX2160a board, with DPAA2 interfaces. 22.11 is attractive as dpaa pmd was seriously updated in it. DPAA2 interfaces are seen by testpmd, but the problem is, neither testpmd, neither application I use (vpp) cannot see a packet either tx on rx. In example below, it should see lots of garbage (such as BUM from network ports connected to). Ports were also returned to Linux kernel and tcpdump sees lots of incoming. Ports were tested with older DPDK versions and also sees incoming packets. For unknown reason, this one shows all-zeroes. Any ideas what is wrong with configuration ? root@localhost:~# restool -m MC firmware version: 10.32.0 root@localhost:~# numactl -H available: 1 nodes (0) node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 node 0 size: 13886 MB node 0 free: 8440 MB node distances: node 0 0: 10 root@localhost:~# numactl -s policy: default preferred node: current physcpubind: 0 1 2 3 4 5 6 7 cpubind: 0 nodebind: 0 membind: 0 root@localhost:~# numactl -H available: 1 nodes (0) node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 node 0 size: 13886 MB node 0 free: 8440 MB node distances: node 0 0: 10 /dpdk-testpmd EAL: Detected CPU lcores: 16 EAL: Detected NUMA nodes: 1 EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket fslmc: Skipping invalid device (power) EAL: Selected IOVA mode 'PA' EAL: 1440 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size EAL: VFIO support initialized PMD: dpni.2: netdev created, connected to dpmac.7 PMD: dpni.3: netdev created, connected to dpmac.8 PMD: dpni.4: netdev created, connected to dpmac.10 TELEMETRY: No legacy callbacks, legacy socket not created testpmd: create a new mbuf pool : n=203456, size=2176, socket=0 testpmd: preferred mempool ops selected: dpaa2 Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. Configuring Port 0 (socket 0) Port 0: D0:63:B4:03:1C:CA Configuring Port 1 (socket 0) Port 1: D0:63:B4:03:1C:CB Configuring Port 2 (socket 0) Port 2: D0:63:B4:03:1C:CD Checking link statuses... Port 0: link state change event Port 1: link state change event Port 2: link state change event Done No commandline core given, start packet forwarding io packet forwarding - ports=3 - cores=1 - streams=3 - NUMA support enabled, MP allocation mode: native Logical Core 1 (socket 0) forwards packets on 3 streams: RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01 RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00 RX P=2/Q=0 (socket 0) -> TX P=2/Q=0 (socket 0) peer=02:00:00:00:00:02 io packet forwarding packets/burst=32 nb forwarding cores=1 - nb forwarding ports=3 port 0: RX queue number: 1 Tx queue number: 1 Rx offloads=0x0 Tx offloads=0x10000 RX queue: 0 RX desc=512 - RX free threshold=1 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=512 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 port 1: RX queue number: 1 Tx queue number: 1 Rx offloads=0x0 Tx offloads=0x10000 RX queue: 0 RX desc=512 - RX free threshold=1 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=512 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 port 2: RX queue number: 1 Tx queue number: 1 Rx offloads=0x0 Tx offloads=0x10000 RX queue: 0 RX desc=512 - RX free threshold=1 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=512 - TX free threshold=0 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x0 - TX RS bit threshold=0 Press enter to exit Telling cores to stop... Waiting for lcores to finish... ---------------------- Forward statistics for port 0 ---------------------- RX-packets: 0 RX-dropped: 0 RX-total: 0 TX-packets: 0 TX-dropped: 0 TX-total: 0 ---------------------------------------------------------------------------- ... Done. Stopping port 0... Stopping ports... dpaa2_net: dpni disable failed (-110) Done -- Regards, Gennady Abramov --0000000000002c0bec05f28f2175 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I'm trying to use= 22.11 DPDK on SolidRun HoneyComb/ NXP LX2160a=C2=A0 board, with DPAA2 inte= rfaces. 22.11 is attractive as dpaa pmd was seriously updated in it.

DPAA2 interfaces are seen by testpmd, but the probl= em is, neither testpmd, neither application I use (vpp) cannot see a packet= either tx on rx. In example below, it should see lots of garbage (such as = BUM from network ports connected to).
Ports were also returned to= Linux kernel and tcpdump sees lots of incoming. Ports were tested with old= er DPDK versions and also sees incoming packets.
For unknown = reason, this one shows all-zeroes.
Any ideas what is wrong with c= onfiguration ?

root@localhost:~# restool -mMC firmware version: 10.32.0
root@localhost:~# numactl -H
ava= ilable: 1 nodes (0)
node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15node 0 size: 13886 MB
node 0 free: 8440 MB
node distances:
node = =C2=A0 0
=C2=A0 0: =C2=A010
root@localhost:~# numactl -s
policy: d= efault
preferred node: current
physcpubind: 0 1 2 3 4 5 6 7
cpubin= d: 0
nodebind: 0
membind: 0


r= oot@localhost:~# numactl -H
available: 1 nodes (0)
node 0 cpus: 0 1 2= 3 4 5 6 7 8 9 10 11 12 13 14 15
node 0 size: 13886 MB
node 0 free: 8= 440 MB
node distances:
node =C2=A0 0
=C2=A0 0: =C2=A010
/dpdk-t= estpmd
EAL: Detected CPU lcores: 16
EAL: Detected NUMA nodes: 1
EA= L: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dp= dk/rte/mp_socket
fslmc: Skipping invalid device (power)
EAL: Selected= IOVA mode 'PA'
EAL: 1440 hugepages of size 2097152 reserved, bu= t no mounted hugetlbfs found for that size
EAL: VFIO support initialized=
PMD: dpni.2: netdev created, connected to dpmac.7
PMD: dpni.3: netde= v created, connected to dpmac.8
PMD: dpni.4: netdev created, connected t= o dpmac.10
TELEMETRY: No legacy callbacks, legacy socket not created
= testpmd: create a new mbuf pool <mb_pool_0>: n=3D203456, size=3D2176,= socket=3D0
testpmd: preferred mempool ops selected: dpaa2

Warnin= g! port-topology=3Dpaired and odd forward ports number, the last port will = pair with itself.

Configuring Port 0 (socket 0)
Port 0: D0:63:B4:= 03:1C:CA
Configuring Port 1 (socket 0)
Port 1: D0:63:B4:03:1C:CB
C= onfiguring Port 2 (socket 0)
Port 2: D0:63:B4:03:1C:CD
Checking link = statuses...

Port 0: link state change event

Port 1: link stat= e change event

Port 2: link state change event
Done
No command= line core given, start packet forwarding
io packet forwarding - ports=3D= 3 - cores=3D1 - streams=3D3 - NUMA support enabled, MP allocation mode: nat= ive
Logical Core 1 (socket 0) forwards packets on 3 streams:
=C2=A0 R= X P=3D0/Q=3D0 (socket 0) -> TX P=3D1/Q=3D0 (socket 0) peer=3D02:00:00:00= :00:01
=C2=A0 RX P=3D1/Q=3D0 (socket 0) -> TX P=3D0/Q=3D0 (socket 0) = peer=3D02:00:00:00:00:00
=C2=A0 RX P=3D2/Q=3D0 (socket 0) -> TX P=3D2= /Q=3D0 (socket 0) peer=3D02:00:00:00:00:02
=C2=A0 io packet forwa= rding packets/burst=3D32
=C2=A0 nb forwarding cores=3D1 - nb forwarding = ports=3D3
=C2=A0 port 0: RX queue number: 1 Tx queue number: 1
=C2=A0= =C2=A0 Rx offloads=3D0x0 Tx offloads=3D0x10000
=C2=A0 =C2=A0 RX queue: = 0
=C2=A0 =C2=A0 =C2=A0 RX desc=3D512 - RX free threshold=3D1
=C2=A0 = =C2=A0 =C2=A0 RX threshold registers: pthresh=3D0 hthresh=3D0 =C2=A0wthresh= =3D0
=C2=A0 =C2=A0 =C2=A0 RX Offloads=3D0x0
=C2=A0 =C2=A0 TX queue: 0=
=C2=A0 =C2=A0 =C2=A0 TX desc=3D512 - TX free threshold=3D0
=C2=A0 = =C2=A0 =C2=A0 TX threshold registers: pthresh=3D0 hthresh=3D0 =C2=A0wthresh= =3D0
=C2=A0 =C2=A0 =C2=A0 TX offloads=3D0x0 - TX RS bit threshold=3D0=C2=A0 port 1: RX queue number: 1 Tx queue number: 1
=C2=A0 =C2=A0 Rx o= ffloads=3D0x0 Tx offloads=3D0x10000
=C2=A0 =C2=A0 RX queue: 0
=C2=A0 = =C2=A0 =C2=A0 RX desc=3D512 - RX free threshold=3D1
=C2=A0 =C2=A0 =C2=A0= RX threshold registers: pthresh=3D0 hthresh=3D0 =C2=A0wthresh=3D0
=C2= =A0 =C2=A0 =C2=A0 RX Offloads=3D0x0
=C2=A0 =C2=A0 TX queue: 0
=C2=A0 = =C2=A0 =C2=A0 TX desc=3D512 - TX free threshold=3D0
=C2=A0 =C2=A0 =C2=A0= TX threshold registers: pthresh=3D0 hthresh=3D0 =C2=A0wthresh=3D0
=C2= =A0 =C2=A0 =C2=A0 TX offloads=3D0x0 - TX RS bit threshold=3D0
=C2=A0 por= t 2: RX queue number: 1 Tx queue number: 1
=C2=A0 =C2=A0 Rx offloads=3D0= x0 Tx offloads=3D0x10000
=C2=A0 =C2=A0 RX queue: 0
=C2=A0 =C2=A0 =C2= =A0 RX desc=3D512 - RX free threshold=3D1
=C2=A0 =C2=A0 =C2=A0 RX thresh= old registers: pthresh=3D0 hthresh=3D0 =C2=A0wthresh=3D0
=C2=A0 =C2=A0 = =C2=A0 RX Offloads=3D0x0
=C2=A0 =C2=A0 TX queue: 0
=C2=A0 =C2=A0 =C2= =A0 TX desc=3D512 - TX free threshold=3D0
=C2=A0 =C2=A0 =C2=A0 TX thresh= old registers: pthresh=3D0 hthresh=3D0 =C2=A0wthresh=3D0
=C2=A0 =C2=A0 = =C2=A0 TX offloads=3D0x0 - TX RS bit threshold=3D0
Press enter to exit
Telling cores to stop...
Waiting for lcores to finish...

= =C2=A0 ---------------------- Forward statistics for port 0 =C2=A0---------= -------------
=C2=A0 RX-packets: 0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0RX-dropped: 0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 RX-tot= al: 0
=C2=A0 TX-packets: 0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0TX-dropped: 0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 TX-total: 0
= =C2=A0 --------------------------------------------------------------------= --------
...
Done.

Stopping port 0...
Sto= pping ports...
dpaa2_net: dpni disable failed (-110)
Done
<= br>--
Regards,
Gennady Abramov
--0000000000002c0bec05f28f2175--