DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Zhigang
I used "--hvx hugepagesz=16m --hvx hugepages=256", but testpmd still not work and exit.
Command: run cat /proc/meminfo MemTotal: 8230464 kB MemFree: 3872576 kB Buffers: 0 kB Cached: 12480 kB SwapCached: 0 kB Active: 11200 kB Inactive: 5888 kB Active(anon): 11200 kB Inactive(anon): 5888 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 4736 kB Mapped: 3072 kB Shmem: 12480 kB Slab: 16256 kB SReclaimable: 768 kB SUnreclaim: 15488 kB KernelStack: 11648 kB PageTables: 4096 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2018048 kB Committed_AS: 19328 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 37184 kB HugePages_Total: 256 HugePages_Free: 256 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 16384 kB
Command: run ./testpmd -c 0xffffffff -m 2048 -n 1 -r 1 --vdev xgbe1 -- --rx=1 --tx=2 --forward-mode=txonly -a --port-topology=chained gxio_mpipe_init instance 0gxio_mpipe_init instance 1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0xc000000 bytes
EAL: Virtual area found at 0x1ffdb000000 (size = 0xc000000)
EAL: Ask a virtual area of 0xf4000000 bytes
EAL: Virtual area found at 0x1fee6000000 (size = 0xf4000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f04690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eafaf060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea7af060;cpuset=[2])
EAL: lcore 3 is ready (tid=e9faf060;cpuset=[3])
EAL: lcore 4 is ready (tid=e97af060;cpuset=[4])
EAL: lcore 5 is ready (tid=e8faf060;cpuset=[5])
EAL: lcore 6 is ready (tid=e87af060;cpuset=[6])
EAL: lcore 7 is ready (tid=e7faf060;cpuset=[7])
EAL: lcore 8 is ready (tid=dafff060;cpuset=[8])
EAL: lcore 9 is ready (tid=da7ff060;cpuset=[9])
EAL: lcore 10 is ready (tid=d9fff060;cpuset=[10])
EAL: lcore 11 is ready (tid=d97ff060;cpuset=[11])
EAL: lcore 12 is ready (tid=d8fff060;cpuset=[12])
EAL: lcore 14 is ready (tid=b3fff060;cpuset=[14])
EAL: lcore 13 is ready (tid=d87ff060;cpuset=[13])
EAL: lcore 15 is ready (tid=b37ff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b2fff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b27ff060;cpuset=[17])
EAL: lcore 18 is ready (tid=b1fff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b17ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=b0fff060;cpuset=[20])
EAL: lcore 21 is ready (tid=b07ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=8ffff060;cpuset=[22])
EAL: lcore 23 is ready (tid=8f7ff060;cpuset=[23])
EAL: lcore 24 is ready (tid=8efff060;cpuset=[24])
EAL: lcore 25 is ready (tid=8e7ff060;cpuset=[25])
EAL: lcore 26 is ready (tid=8dfff060;cpuset=[26])
EAL: lcore 27 is ready (tid=8d7ff060;cpuset=[27])
EAL: lcore 28 is ready (tid=8cfff060;cpuset=[28])
EAL: lcore 29 is ready (tid=8c7ff060;cpuset=[29])
EAL: lcore 30 is ready (tid=6bfff060;cpuset=[30])
EAL: lcore 31 is ready (tid=6b7ff060;cpuset=[31])
Set txonly packet forwarding mode
Auto-start selected
Configuring Port 0 (socket 0)
PMD: xgbe1: Registered segment 0x1ffdb000000 - 0x1ffe6ffffff
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Buffer stack memory 0x1ffe3780000 - 0x1ffe37d557f.
PMD: xgbe1: eDMA ring memory 0x1ffe37d8000 - 0x1ffe37d9fff.
PMD: xgbe1: iDMA ring 0 memory 0x1ffe377c000 - 0x1ffe377dfff.
Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex
Done
No commandline core given, start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32
packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exit
Regards,
Arthas
------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Thu, Sep 24, 2015 09:47 AM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Seems like something wrong with memseg, could you try with
" --hvx hugepagesz=1G --hvx hugepages=4" to boot Gx card? This helps reserve hugepages for DPDK, and check there are still such errors.
With regard to MDE-4.3.3, please contact your local tech support.
Thanks
-Zhigang
Quoted 43 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Arthas
Sent: Wednesday, September 23, 2015 11:56 PM
To: zlu; dev
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, ZhiGang,
Can you tell me where can download TileraMDE-4.3.3 package? My tilegx
tech supporter only send me TileraMDE-4.2.4 version!
:)Thanks,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:41 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, ZhiGang
I checked source code and debug it , found dpdk functionrte_eth_tx_burst
with tilegx return 0 and no other error. Can I contact you directly? Regards,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:35 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Quoted 6 lines
Hi, ZhiGang
My tilegx boot parameter is "tile-monitor --dev gxpci${1} --hv-bin-dir
/tilegx/tile/hv-bin-dir424/ --hvx dataplane=1-64".
and testpmd start parameter is
tile-monitor --dev gxpci0 --resume --upload testpmd testpmd --run
-+- ./testpmd -c0xffffffff-m 2048 -n 1 -r 1 --vdev xgbe1 -- --rx=1
--tx=2
Quoted 119 lines
--forward-mode=txonly -a --port-topology=chained -+-
but xgbe1 can't xmit any packet.
This is my run log:EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: No free hugepages reported in hugepages-1024kB
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x16000000bytes
EAL: Virtual area found at0x1ffd1000000(size =0x16000000)
EAL: Ask a virtual area of0x90000000bytes
EAL: Virtual area found at0x1ff40000000(size =0x90000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1ff3d000000(size =0x2000000)
EAL: Ask a virtual area of0x10000000bytes
EAL: Virtual area found at0x1ff2c000000(size =0x10000000)
EAL: Ask a virtual area of0x46000000bytes
EAL: Virtual area found at0x1fee5000000(size =0x46000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1fee2000000(size =0x2000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7fa4690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eb04f060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea84f060;cpuset=[2])
EAL: lcore 3 is ready (tid=ea04f060;cpuset=[3])
EAL: lcore 4 is ready (tid=e984f060;cpuset=[4])
EAL: lcore 5 is ready (tid=d0fff060;cpuset=[5])
EAL: lcore 6 is ready (tid=d07ff060;cpuset=[6])
EAL: lcore 7 is ready (tid=e904f060;cpuset=[7])
EAL: lcore 8 is ready (tid=e884f060;cpuset=[8])
EAL: lcore 9 is ready (tid=e804f060;cpuset=[9])
EAL: lcore 10 is ready (tid=e784f060;cpuset=[10])
EAL: lcore 11 is ready (tid=b3fff060;cpuset=[11])
EAL: lcore 12 is ready (tid=b37ff060;cpuset=[12])
EAL: lcore 13 is ready (tid=b2fff060;cpuset=[13])
EAL: lcore 14 is ready (tid=b27ff060;cpuset=[14])
EAL: lcore 15 is ready (tid=b1fff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b17ff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b0fff060;cpuset=[17])
EAL: lcore 18 is ready (tid=2ffff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b07ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=abfff060;cpuset=[20])
EAL: lcore 21 is ready (tid=ab7ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=aafff060;cpuset=[22])
EAL: lcore 23 is ready (tid=aa7ff060;cpuset=[23])
EAL: lcore 24 is ready (tid=2f7ff060;cpuset=[24])
EAL: lcore 25 is ready (tid=2efff060;cpuset=[25])
EAL: lcore 26 is ready (tid=2e7ff060;cpuset=[26])
EAL: lcore 27 is ready (tid=2dfff060;cpuset=[27])
EAL: lcore 28 is ready (tid=2d7ff060;cpuset=[28])
EAL: lcore 29 is ready (tid=2cfff060;cpuset=[29])
EAL: lcore 30 is ready (tid=2c7ff060;cpuset=[30])
EAL: lcore 31 is ready (tid=f3fff060;cpuset=[31])
Set txonly packet forwarding mode
Auto-start selected
Configuring Port 0 (socket 0)
PMD: xgbe1: Could not register memseg @0x1ffd1000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff40000000, -1111.
PMD: xgbe1: Buffer stack memory0x1ffd1c30000-0x1ffd1c8557f.
PMD: xgbe1: eDMA ring memory0x1ffd1c8a000-0x1ffd1c8bfff.
PMD: xgbe1: iDMA ring 0 memory0x1ffd1c86000-0x1ffd1c87fff. Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex
Done
No commandline core given, start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exit
Quoted 5 lines
and another tilegx card output:
Command: run mpipe-stat xgbe1
Link Tx pkt Tx bits Rx pkt Rx bits Tx err
Rx err
---------------------------------------------------------------------------
-----
Quoted 69 lines
xgbe1 0 0 0 0
0 0Regards, Arthas
------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Wed, Sep 23, 2015 03:34 PM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;Subject: RE: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Does testpmd run OK, and what is boot parameter you used to boot Tile-Gx?
Quoted 24 lines
-----Original Message-----
From: Arthas [mailto:[email protected]]
Sent: Wednesday, September 23, 2015 1:21 PM
To: dev
Cc: zlu
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597and I wrote a sample RX example, got an other information.
PMD: xgbe1: Could not register memseg @0x1ffd2000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff41000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff3e000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff2d000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee3000000, -1111.
PMD: xgbe1: Buffer stack memory0x1fee4b90000-0x1fee4be557f.
PMD: xgbe1: eDMA ring memory0x1fee4bf0000-0x1fee4bf1fff.
PMD: xgbe1: iDMA ring 0 memory0x1fee4bec000-0x1fee4bedfff.Regards, Arthas
Quoted 7 lines
------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 01:17 PM To: "dev"<[email protected]>; Subject: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, I'm working on tilegx platform. and I wrote a sample dpdk trafgen for
tilegx.
Quoted 16 lines
But I got a error with
rte_mbufrte_pktmbuf_append.PANIC in
rte_mbuf_sanity_check():
bad phys addr
7: [/trafgen(_start+0x70) [0x100b308]]
6: [/lib/libc.so.6(__libc_start_main+0x200) [0x1fff7a6e4c8]] 5: [/trafgen(main+0x2148) [0x1017b78]]
4: [/trafgen(rte_pktmbuf_dump+0x58) [0x102c7a8]] 3: [/trafgen(rte_mbuf_sanity_check+0x1a8) [0x102c700]] 2: [/trafgen(__rte_panic+0xc0) [0x1091e80]]
1: [/trafgen(rte_dump_stack+0x40) [0x104cf00]]DPDK compiled with
CONFIG_RTE_LIBRTE_MBUF_DEBUG=y!Regards, Arthas
Hi, Zhigang,
I checked error code and got a error information "(No more IOTLB entries)." & xmit function gxio_mpipe_equeue_try_reserve_fast got "Insufficient DMA credits"!
Command: run ./testpmd -c 0xffffffff -m 6144 -n 1 -r 1 --vdev xgbe1 -- --rx=1 --tx=2 --forward-mode=txonly -a --port-topology=chained gxio_mpipe_init instance 0gxio_mpipe_init instance 1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0x80000000 bytes
EAL: Virtual area found at 0x1ff68000000 (size = 0x80000000)
EAL: Ask a virtual area of 0xc000000 bytes
EAL: Virtual area found at 0x1ff5b000000 (size = 0xc000000)
EAL: Ask a virtual area of 0xf4000000 bytes
EAL: Virtual area found at 0x1fe66000000 (size = 0xf4000000)
EAL: Requesting 384 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f94690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eaf3f060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea73f060;cpuset=[2])
EAL: lcore 3 is ready (tid=e9f3f060;cpuset=[3])
EAL: lcore 4 is ready (tid=e973f060;cpuset=[4])
EAL: lcore 5 is ready (tid=e8f3f060;cpuset=[5])
EAL: lcore 6 is ready (tid=67fff060;cpuset=[6])
EAL: lcore 7 is ready (tid=677ff060;cpuset=[7])
EAL: lcore 8 is ready (tid=5afff060;cpuset=[8])
EAL: lcore 9 is ready (tid=5a7ff060;cpuset=[9])
EAL: lcore 10 is ready (tid=65fff060;cpuset=[10])
EAL: lcore 11 is ready (tid=657ff060;cpuset=[11])
EAL: lcore 12 is ready (tid=64fff060;cpuset=[12])
EAL: lcore 13 is ready (tid=647ff060;cpuset=[13])
EAL: lcore 14 is ready (tid=3ffff060;cpuset=[14])
EAL: lcore 15 is ready (tid=3f7ff060;cpuset=[15])
EAL: lcore 16 is ready (tid=3efff060;cpuset=[16])
EAL: lcore 17 is ready (tid=3e7ff060;cpuset=[17])
EAL: lcore 18 is ready (tid=3dfff060;cpuset=[18])
EAL: lcore 19 is ready (tid=3d7ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=3cfff060;cpuset=[20])
EAL: lcore 21 is ready (tid=3c7ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=1bfff060;cpuset=[22])
EAL: lcore 23 is ready (tid=1b7ff060;cpuset=[23])
EAL: lcore 24 is ready (tid=1afff060;cpuset=[24])
EAL: lcore 25 is ready (tid=1a7ff060;cpuset=[25])
EAL: lcore 26 is ready (tid=19fff060;cpuset=[26])
EAL: lcore 27 is ready (tid=197ff060;cpuset=[27])
EAL: lcore 28 is ready (tid=18fff060;cpuset=[28])
EAL: lcore 29 is ready (tid=187ff060;cpuset=[29])
EAL: lcore 30 is ready (tid=f7fff060;cpuset=[30])
EAL: lcore 31 is ready (tid=f77ff060;cpuset=[31])
Set txonly packet forwarding mode
Auto-start selected
Configuring Port 0 (socket 0)
PMD: xgbe1: Could not register memseg @0x1ff68000000, -1111(No more IOTLB entries).
PMD: xgbe1: Could not register memseg @0x1ff5b000000, -1111(No more IOTLB entries).
PMD: xgbe1: Could not register memseg @0x1fe66000000, -1111(No more IOTLB entries).
PMD: xgbe1: Buffer stack memory 0x1ff63780000 - 0x1ff637d557f.
PMD: xgbe1: eDMA ring memory 0x1ff637d8000 - 0x1ff637d9fff.
PMD: xgbe1: iDMA ring 0 memory 0x1ff6377c000 - 0x1ff6377dfff.
PMD: rte_eth_dev_config_restore: port 0: MAC address array not supported
PMD: rte_eth_allmulticast_disable: Function not supported
Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex
Done
No commandline core given, start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32
packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exit
Command: run cat /proc/meminfo MemTotal: 8230464 kB MemFree: 1765120 kB Buffers: 0 kB Cached: 42432 kB SwapCached: 0 kB Active: 27776 kB Inactive: 8448 kB Active(anon): 27776 kB Inactive(anon): 8448 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 0 kB Mapped: 3008 kB Shmem: 17856 kB Slab: 17984 kB SReclaimable: 1280 kB SUnreclaim: 16704 kB KernelStack: 11456 kB PageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 969472 kB Committed_AS: 41280 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 50816 kB HugePages_Total: 384 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 16384 kB
------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Thu, Sep 24, 2015 11:47 AM To: "zlu"<[email protected]>; "dev"<[email protected]>;
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Zhigang
I used "--hvx hugepagesz=16m --hvx hugepages=256", but testpmd still not work and exit.
Command: run cat /proc/meminfo MemTotal: 8230464 kB MemFree: 3872576 kB Buffers: 0 kB Cached: 12480 kB SwapCached: 0 kB Active: 11200 kB Inactive: 5888 kB Active(anon): 11200 kB Inactive(anon): 5888 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 4736 kB Mapped: 3072 kB Shmem: 12480 kB Slab: 16256 kB SReclaimable: 768 kB SUnreclaim: 15488 kB KernelStack: 11648 kB PageTables: 4096 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2018048 kB Committed_AS: 19328 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 37184 kB HugePages_Total: 256 HugePages_Free: 256 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 16384 kB
Command: run ./testpmd -c 0xffffffff -m 2048 -n 1 -r 1 --vdev xgbe1 -- --rx=1 --tx=2 --forward-mode=txonly -a --port-topology=chained gxio_mpipe_init instance 0gxio_mpipe_init instance 1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0xc000000 bytes
EAL: Virtual area found at 0x1ffdb000000 (size = 0xc000000)
EAL: Ask a virtual area of 0xf4000000 bytes
EAL: Virtual area found at 0x1fee6000000 (size = 0xf4000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f04690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eafaf060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea7af060;cpuset=[2])
EAL: lcore 3 is ready (tid=e9faf060;cpuset=[3])
EAL: lcore 4 is ready (tid=e97af060;cpuset=[4])
EAL: lcore 5 is ready (tid=e8faf060;cpuset=[5])
EAL: lcore 6 is ready (tid=e87af060;cpuset=[6])
EAL: lcore 7 is ready (tid=e7faf060;cpuset=[7])
EAL: lcore 8 is ready (tid=dafff060;cpuset=[8])
EAL: lcore 9 is ready (tid=da7ff060;cpuset=[9])
EAL: lcore 10 is ready (tid=d9fff060;cpuset=[10])
EAL: lcore 11 is ready (tid=d97ff060;cpuset=[11])
EAL: lcore 12 is ready (tid=d8fff060;cpuset=[12])
EAL: lcore 14 is ready (tid=b3fff060;cpuset=[14])
EAL: lcore 13 is ready (tid=d87ff060;cpuset=[13])
EAL: lcore 15 is ready (tid=b37ff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b2fff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b27ff060;cpuset=[17])
EAL: lcore 18 is ready (tid=b1fff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b17ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=b0fff060;cpuset=[20])
EAL: lcore 21 is ready (tid=b07ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=8ffff060;cpuset=[22])
EAL: lcore 23 is ready (tid=8f7ff060;cpuset=[23])
EAL: lcore 24 is ready (tid=8efff060;cpuset=[24])
EAL: lcore 25 is ready (tid=8e7ff060;cpuset=[25])
EAL: lcore 26 is ready (tid=8dfff060;cpuset=[26])
EAL: lcore 27 is ready (tid=8d7ff060;cpuset=[27])
EAL: lcore 28 is ready (tid=8cfff060;cpuset=[28])
EAL: lcore 29 is ready (tid=8c7ff060;cpuset=[29])
EAL: lcore 30 is ready (tid=6bfff060;cpuset=[30])
EAL: lcore 31 is ready (tid=6b7ff060;cpuset=[31])
Set txonly packet forwarding mode
Auto-start selected
Configuring Port 0 (socket 0)
PMD: xgbe1: Registered segment 0x1ffdb000000 - 0x1ffe6ffffff
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Buffer stack memory 0x1ffe3780000 - 0x1ffe37d557f.
PMD: xgbe1: eDMA ring memory 0x1ffe37d8000 - 0x1ffe37d9fff.
PMD: xgbe1: iDMA ring 0 memory 0x1ffe377c000 - 0x1ffe377dfff.
Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex
Done
No commandline core given, start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32
packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exit
Regards,
Arthas
------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Thu, Sep 24, 2015 09:47 AM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Seems like something wrong with memseg, could you try with
" --hvx hugepagesz=1G --hvx hugepages=4" to boot Gx card? This helps reserve hugepages for DPDK, and check there are still such errors.
With regard to MDE-4.3.3, please contact your local tech support.
Thanks
-Zhigang
Quoted 43 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Arthas
Sent: Wednesday, September 23, 2015 11:56 PM
To: zlu; dev
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, ZhiGang,
Can you tell me where can download TileraMDE-4.3.3 package? My tilegx
tech supporter only send me TileraMDE-4.2.4 version!
:)Thanks,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:41 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, ZhiGang
I checked source code and debug it , found dpdk functionrte_eth_tx_burst
with tilegx return 0 and no other error. Can I contact you directly? Regards,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:35 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Quoted 6 lines
Hi, ZhiGang
My tilegx boot parameter is "tile-monitor --dev gxpci${1} --hv-bin-dir
/tilegx/tile/hv-bin-dir424/ --hvx dataplane=1-64".
and testpmd start parameter is
tile-monitor --dev gxpci0 --resume --upload testpmd testpmd --run
-+- ./testpmd -c0xffffffff-m 2048 -n 1 -r 1 --vdev xgbe1 -- --rx=1
--tx=2
Quoted 119 lines
--forward-mode=txonly -a --port-topology=chained -+-
but xgbe1 can't xmit any packet.
This is my run log:EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: No free hugepages reported in hugepages-1024kB
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x16000000bytes
EAL: Virtual area found at0x1ffd1000000(size =0x16000000)
EAL: Ask a virtual area of0x90000000bytes
EAL: Virtual area found at0x1ff40000000(size =0x90000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1ff3d000000(size =0x2000000)
EAL: Ask a virtual area of0x10000000bytes
EAL: Virtual area found at0x1ff2c000000(size =0x10000000)
EAL: Ask a virtual area of0x46000000bytes
EAL: Virtual area found at0x1fee5000000(size =0x46000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1fee2000000(size =0x2000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7fa4690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eb04f060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea84f060;cpuset=[2])
EAL: lcore 3 is ready (tid=ea04f060;cpuset=[3])
EAL: lcore 4 is ready (tid=e984f060;cpuset=[4])
EAL: lcore 5 is ready (tid=d0fff060;cpuset=[5])
EAL: lcore 6 is ready (tid=d07ff060;cpuset=[6])
EAL: lcore 7 is ready (tid=e904f060;cpuset=[7])
EAL: lcore 8 is ready (tid=e884f060;cpuset=[8])
EAL: lcore 9 is ready (tid=e804f060;cpuset=[9])
EAL: lcore 10 is ready (tid=e784f060;cpuset=[10])
EAL: lcore 11 is ready (tid=b3fff060;cpuset=[11])
EAL: lcore 12 is ready (tid=b37ff060;cpuset=[12])
EAL: lcore 13 is ready (tid=b2fff060;cpuset=[13])
EAL: lcore 14 is ready (tid=b27ff060;cpuset=[14])
EAL: lcore 15 is ready (tid=b1fff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b17ff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b0fff060;cpuset=[17])
EAL: lcore 18 is ready (tid=2ffff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b07ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=abfff060;cpuset=[20])
EAL: lcore 21 is ready (tid=ab7ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=aafff060;cpuset=[22])
EAL: lcore 23 is ready (tid=aa7ff060;cpuset=[23])
EAL: lcore 24 is ready (tid=2f7ff060;cpuset=[24])
EAL: lcore 25 is ready (tid=2efff060;cpuset=[25])
EAL: lcore 26 is ready (tid=2e7ff060;cpuset=[26])
EAL: lcore 27 is ready (tid=2dfff060;cpuset=[27])
EAL: lcore 28 is ready (tid=2d7ff060;cpuset=[28])
EAL: lcore 29 is ready (tid=2cfff060;cpuset=[29])
EAL: lcore 30 is ready (tid=2c7ff060;cpuset=[30])
EAL: lcore 31 is ready (tid=f3fff060;cpuset=[31])
Set txonly packet forwarding mode
Auto-start selected
Configuring Port 0 (socket 0)
PMD: xgbe1: Could not register memseg @0x1ffd1000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff40000000, -1111.
PMD: xgbe1: Buffer stack memory0x1ffd1c30000-0x1ffd1c8557f.
PMD: xgbe1: eDMA ring memory0x1ffd1c8a000-0x1ffd1c8bfff.
PMD: xgbe1: iDMA ring 0 memory0x1ffd1c86000-0x1ffd1c87fff. Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex
Done
No commandline core given, start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exit
Quoted 5 lines
and another tilegx card output:
Command: run mpipe-stat xgbe1
Link Tx pkt Tx bits Rx pkt Rx bits Tx err
Rx err
---------------------------------------------------------------------------
-----
Quoted 69 lines
xgbe1 0 0 0 0
0 0Regards, Arthas
------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Wed, Sep 23, 2015 03:34 PM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;Subject: RE: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Does testpmd run OK, and what is boot parameter you used to boot Tile-Gx?
Quoted 24 lines
-----Original Message-----
From: Arthas [mailto:[email protected]]
Sent: Wednesday, September 23, 2015 1:21 PM
To: dev
Cc: zlu
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597and I wrote a sample RX example, got an other information.
PMD: xgbe1: Could not register memseg @0x1ffd2000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff41000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff3e000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff2d000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee3000000, -1111.
PMD: xgbe1: Buffer stack memory0x1fee4b90000-0x1fee4be557f.
PMD: xgbe1: eDMA ring memory0x1fee4bf0000-0x1fee4bf1fff.
PMD: xgbe1: iDMA ring 0 memory0x1fee4bec000-0x1fee4bedfff.Regards, Arthas
Quoted 7 lines
------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 01:17 PM To: "dev"<[email protected]>; Subject: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, I'm working on tilegx platform. and I wrote a sample dpdk trafgen for
tilegx.
Quoted 16 lines
But I got a error with
rte_mbufrte_pktmbuf_append.PANIC in
rte_mbuf_sanity_check():
bad phys addr
7: [/trafgen(_start+0x70) [0x100b308]]
6: [/lib/libc.so.6(__libc_start_main+0x200) [0x1fff7a6e4c8]] 5: [/trafgen(main+0x2148) [0x1017b78]]
4: [/trafgen(rte_pktmbuf_dump+0x58) [0x102c7a8]] 3: [/trafgen(rte_mbuf_sanity_check+0x1a8) [0x102c700]] 2: [/trafgen(__rte_panic+0xc0) [0x1091e80]]
1: [/trafgen(rte_dump_stack+0x40) [0x104cf00]]DPDK compiled with
CONFIG_RTE_LIBRTE_MBUF_DEBUG=y!Regards, Arthas
Hi, Zhigang,
I fixed register memseg error, but gxio_mpipe_equeue_put_at send packet still failed.
Command: run cat /proc/meminfo MemTotal: 8230016 kB MemFree: 3866688 kB Buffers: 0 kB Cached: 16576 kB SwapCached: 0 kB Active: 11392 kB Inactive: 9088 kB Active(anon): 11392 kB Inactive(anon): 9088 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 0 kB Mapped: 3072 kB Shmem: 16320 kB Slab: 17024 kB SReclaimable: 768 kB SUnreclaim: 16256 kB KernelStack: 11456 kB PageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2017856 kB Committed_AS: 22976 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 46144 kB HugePages_Total: 4 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 1048576 kB
_init_dpdk_eal_params: -c 0xffffffff -m 4096 -r 1 -n 1 --log-level 8 --vdev xgbe1 --vdev xgbe2 --log-level 8 --no-hpet
main: rte_eal_init.
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0x100000000 bytes
EAL: Virtual area found at 0x1fe40000000 (size = 0x100000000)
EAL: Requesting 4 pages of size 1024MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f34690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
PMD: mpipe init xgbe2
PMD: xgbe2: Initialized mpipe device(mac ee:d1:53:72:82:5b).
EAL: lcore 1 is ready (tid=eb1df060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea9df060;cpuset=[2])
EAL: lcore 3 is ready (tid=ea1df060;cpuset=[3])
EAL: lcore 4 is ready (tid=e99df060;cpuset=[4])
EAL: lcore 5 is ready (tid=e91df060;cpuset=[5])
EAL: lcore 6 is ready (tid=e89df060;cpuset=[6])
EAL: lcore 7 is ready (tid=dbfff060;cpuset=[7])
EAL: lcore 8 is ready (tid=db7ff060;cpuset=[8])
EAL: lcore 9 is ready (tid=dafff060;cpuset=[9])
EAL: lcore 10 is ready (tid=da7ff060;cpuset=[10])
EAL: lcore 11 is ready (tid=d9fff060;cpuset=[11])
EAL: lcore 12 is ready (tid=d97ff060;cpuset=[12])
EAL: lcore 13 is ready (tid=d8fff060;cpuset=[13])
EAL: lcore 15 is ready (tid=bbfff060;cpuset=[15])
EAL: lcore 14 is ready (tid=d87ff060;cpuset=[14])
EAL: lcore 16 is ready (tid=bb7ff060;cpuset=[16])
EAL: lcore 17 is ready (tid=bafff060;cpuset=[17])
EAL: lcore 18 is ready (tid=ba7ff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b9fff060;cpuset=[19])
EAL: lcore 20 is ready (tid=b97ff060;cpuset=[20])
EAL: lcore 21 is ready (tid=b8fff060;cpuset=[21])
EAL: lcore 22 is ready (tid=b87ff060;cpuset=[22])
EAL: lcore 23 is ready (tid=93fff060;cpuset=[23])
EAL: lcore 24 is ready (tid=937ff060;cpuset=[24])
EAL: lcore 25 is ready (tid=92fff060;cpuset=[25])
EAL: lcore 26 is ready (tid=927ff060;cpuset=[26])
EAL: lcore 27 is ready (tid=91fff060;cpuset=[27])
EAL: lcore 28 is ready (tid=917ff060;cpuset=[28])
EAL: lcore 29 is ready (tid=90fff060;cpuset=[29])
EAL: lcore 30 is ready (tid=907ff060;cpuset=[30])
EAL: lcore 31 is ready (tid=73fff060;cpuset=[31])
main: Detect CPU freq 1200000000
main: Detect 32 CPU cores
main: Probe PCI ethernet devices.
main: Detect 2 Ethernet device
main: pid=2169_eth_dev_init: Init port 0 mbuf pool pkt_len=1986 nr_pkts=17536 cache=512_eth_dev_init: Init port 0 mbuf pool pkt_len=1730 nr_pkts=17536 cache=512 pool=0x0x1ff36e3f5c0 success. _eth_dev_init: Configure port 0 nr_tx=1 nr_rx=1_eth_dev_init: Configure port 0 rxq=0 rxd=128
PMD: Allocate 128 iqueue descs.
PMD: Init mPIPE buffer stack size index 3_eth_dev_init: port 0: EE:D1:53:72:82:5A_eth_dev_init: Configure port 0 txq=0 txd=1024
PMD: Allocate one NotifRing for each queue. max=16
PMD: Allocate a NotifGroup.
PMD: Allocate 256 buckets.
PMD: Allocate 1 mPIPE buffer stack.
PMD: gxio_mpipe_register_page .
PMD: Register mPIPE page 0x1fe40000000 size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page 0x1fe80000000 size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page 0x1fec0000000 size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page 0x1ff00000000 size=1073741824, log2=30 must < 40 & > 12
PMD: xgbe1: Registered segment 0x1fe40000000 - 0x1ff3fffffff
PMD: Allocate mPIPE buffer stack size=65536 341K bytes..
PMD: xgbe1: Buffer stack memory 0x1ff36de0000 - 0x1ff36e3557f.
PMD: xgbe1: eDMA ring memory 0x1ff36e3c000 - 0x1ff36e3dfff.
PMD: xgbe1: iDMA ring 0 memory 0x1ff36e38000 - 0x1ff36e39fff.
PMD: xgbe1: Pushed mbuf 0x1ff3a550080, buffer 0x1ff3a550202 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a54f800, buffer 0x1ff3a54f982 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a54ef80, buffer 0x1ff3a54f102 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a54e700, buffer 0x1ff3a54e882 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a54de80, buffer 0x1ff3a54e002 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a54d600, buffer 0x1ff3a54d782 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a54cd80, buffer 0x1ff3a54cf02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a54c500, buffer 0x1ff3a54c682 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a54bc80, buffer 0x1ff3a54be02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a54b400, buffer 0x1ff3a54b582 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a54ab80, buffer 0x1ff3a54ad02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a54a300, buffer 0x1ff3a54a482 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a549a80, buffer 0x1ff3a549c02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a549200, buffer 0x1ff3a549382 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a548980, buffer 0x1ff3a548b02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a548100, buffer 0x1ff3a548282 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a547880, buffer 0x1ff3a547a02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a547000, buffer 0x1ff3a547182 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a546780, buffer 0x1ff3a546902 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a545f00, buffer 0x1ff3a546082 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a545680, buffer 0x1ff3a545802 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a544e00, buffer 0x1ff3a544f82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a544580, buffer 0x1ff3a544702 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a543d00, buffer 0x1ff3a543e82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a543480, buffer 0x1ff3a543602 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a542c00, buffer 0x1ff3a542d82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a542380, buffer 0x1ff3a542502 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a541b00, buffer 0x1ff3a541c82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a541280, buffer 0x1ff3a541402 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a540a00, buffer 0x1ff3a540b82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a540180, buffer 0x1ff3a540302 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a53f900, buffer 0x1ff3a53fa82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a53f080, buffer 0x1ff3a53f202 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a53e800, buffer 0x1ff3a53e982 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a53df80, buffer 0x1ff3a53e102 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a53d700, buffer 0x1ff3a53d882 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a53ce80, buffer 0x1ff3a53d002 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a53c600, buffer 0x1ff3a53c782 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a53bd80, buffer 0x1ff3a53bf02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a53b500, buffer 0x1ff3a53b682 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a53ac80, buffer 0x1ff3a53ae02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a53a400, buffer 0x1ff3a53a582 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a539b80, buffer 0x1ff3a539d02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a539300, buffer 0x1ff3a539482 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a538a80, buffer 0x1ff3a538c02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a538200, buffer 0x1ff3a538382 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a537980, buffer 0x1ff3a537b02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a537100, buffer 0x1ff3a537282 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a536880, buffer 0x1ff3a536a02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a536000, buffer 0x1ff3a536182 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a535780, buffer 0x1ff3a535902 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a534f00, buffer 0x1ff3a535082 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a534680, buffer 0x1ff3a534802 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a533e00, buffer 0x1ff3a533f82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a533580, buffer 0x1ff3a533702 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a532d00, buffer 0x1ff3a532e82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a532480, buffer 0x1ff3a532602 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a531c00, buffer 0x1ff3a531d82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a531380, buffer 0x1ff3a531502 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a530b00, buffer 0x1ff3a530c82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a530280, buffer 0x1ff3a530402 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a52fa00, buffer 0x1ff3a52fb82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a52f180, buffer 0x1ff3a52f302 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a52e900, buffer 0x1ff3a52ea82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a52e080, buffer 0x1ff3a52e202 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a52d800, buffer 0x1ff3a52d982 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a52cf80, buffer 0x1ff3a52d102 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a52c700, buffer 0x1ff3a52c882 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a52be80, buffer 0x1ff3a52c002 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a52b600, buffer 0x1ff3a52b782 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a52ad80, buffer 0x1ff3a52af02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a52a500, buffer 0x1ff3a52a682 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a529c80, buffer 0x1ff3a529e02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a529400, buffer 0x1ff3a529582 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a528b80, buffer 0x1ff3a528d02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a528300, buffer 0x1ff3a528482 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a527a80, buffer 0x1ff3a527c02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a527200, buffer 0x1ff3a527382 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a526980, buffer 0x1ff3a526b02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a526100, buffer 0x1ff3a526282 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a525880, buffer 0x1ff3a525a02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a525000, buffer 0x1ff3a525182 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a524780, buffer 0x1ff3a524902 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a523f00, buffer 0x1ff3a524082 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a523680, buffer 0x1ff3a523802 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a522e00, buffer 0x1ff3a522f82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a522580, buffer 0x1ff3a522702 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a521d00, buffer 0x1ff3a521e82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a521480, buffer 0x1ff3a521602 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a520c00, buffer 0x1ff3a520d82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a520380, buffer 0x1ff3a520502 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a51fb00, buffer 0x1ff3a51fc82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a51f280, buffer 0x1ff3a51f402 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a51ea00, buffer 0x1ff3a51eb82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a51e180, buffer 0x1ff3a51e302 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a51d900, buffer 0x1ff3a51da82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a51d080, buffer 0x1ff3a51d202 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a51c800, buffer 0x1ff3a51c982 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a51bf80, buffer 0x1ff3a51c102 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a51b700, buffer 0x1ff3a51b882 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a51ae80, buffer 0x1ff3a51b002 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a51a600, buffer 0x1ff3a51a782 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a519d80, buffer 0x1ff3a519f02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a519500, buffer 0x1ff3a519682 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a518c80, buffer 0x1ff3a518e02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a518400, buffer 0x1ff3a518582 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a517b80, buffer 0x1ff3a517d02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a517300, buffer 0x1ff3a517482 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a516a80, buffer 0x1ff3a516c02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a516200, buffer 0x1ff3a516382 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a515980, buffer 0x1ff3a515b02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a515100, buffer 0x1ff3a515282 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a514880, buffer 0x1ff3a514a02 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a514000, buffer 0x1ff3a514182 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a513780, buffer 0x1ff3a513902 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a512f00, buffer 0x1ff3a513082 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a512680, buffer 0x1ff3a512802 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a511e00, buffer 0x1ff3a511f82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a511580, buffer 0x1ff3a511702 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a510d00, buffer 0x1ff3a510e82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a510480, buffer 0x1ff3a510602 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a50fc00, buffer 0x1ff3a50fd82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a50f380, buffer 0x1ff3a50f502 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a50eb00, buffer 0x1ff3a50ec82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a50e280, buffer 0x1ff3a50e402 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a50da00, buffer 0x1ff3a50db82 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a50d180, buffer 0x1ff3a50d302 into stack 2
PMD: xgbe1: Pushed mbuf 0x1ff3a50c900, buffer 0x1ff3a50ca82 into stack 2
PMD: xgbe1: Filled 128/128 buffers
PMD: rte_eth_dev_config_restore: port 0: MAC address array not supported
PMD: rte_eth_allmulticast_disable: Function not supported_eth_dev_init: start port 0 success._eth_dev_init: enable port 0 promiscuous.
main: Link Up - speed 10000 Mbps - full-duplex_tx_pkts_rand_init: Alloc 32 mbuf for port=0_tx_pkts_rand_init: Prebuild 32 mbuf for port=0_tx_pkts_rand_init: Prebuild 32 mbuf for port=0 done.
main: launch lcore 1 _mbuf_random_task task port=0 txq=0_mbuf_random_task: Start mbuf rand task port=0 pool=0x0x1ff36e3f5c0_mbuf_random_task: Start mbuf rand task daddr=192.168.1.245 dport=80_mbuf_random_task: Core 1 Exit.._tx_rand_task: Start TX rand task port=0 txq=0 pkts_burst=32_wait_for_dev_link_up: TX rand task Core 2 port 0 Link is Up
PMD: Trying to transmit 32 packets on xgbe1:0.
main: launch lcore 2 tx task port=0 txq=0
PMD: xgbe1:0: Sending packet 0x1ff3a50c200, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a50b980, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a50b100, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a50a880, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a50a000, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a509780, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a508f00, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a508680, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a507e00, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a507580, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a506d00, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a506480, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a505c00, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a505380, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a504b00, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a504280, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a503a00, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a503180, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a502900, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a502080, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a501800, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a500f80, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a500700, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a4ffe80, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a4ff600, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a4fed80, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a4fe500, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a4fdc80, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a4fd400, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a4fcb80, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a4fc300, len 62
PMD: xgbe1:0: Sending packet 0x1ff3a4fba80, len 62
PMD: Ask the mPIPE hardware to egress outstanding packets immediately.
PMD: Wait for mPIPE equeue slot 32 complete.
Regards.
Arthas
------------------ Original ------------------From: "Arthas";<[email protected]>;
Date: Thu, Sep 24, 2015 01:38 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Zhigang,
I checked error code and got a error information "(No more IOTLB entries)." & xmit function gxio_mpipe_equeue_try_reserve_fast got "Insufficient DMA credits"!
Command: run ./testpmd -c 0xffffffff -m 6144 -n 1 -r 1 --vdev xgbe1 -- --rx=1 --tx=2 --forward-mode=txonly -a --port-topology=chained gxio_mpipe_init instance 0gxio_mpipe_init instance 1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0x80000000 bytes
EAL: Virtual area found at 0x1ff68000000 (size = 0x80000000)
EAL: Ask a virtual area of 0xc000000 bytes
EAL: Virtual area found at 0x1ff5b000000 (size = 0xc000000)
EAL: Ask a virtual area of 0xf4000000 bytes
EAL: Virtual area found at 0x1fe66000000 (size = 0xf4000000)
EAL: Requesting 384 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f94690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eaf3f060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea73f060;cpuset=[2])
EAL: lcore 3 is ready (tid=e9f3f060;cpuset=[3])
EAL: lcore 4 is ready (tid=e973f060;cpuset=[4])
EAL: lcore 5 is ready (tid=e8f3f060;cpuset=[5])
EAL: lcore 6 is ready (tid=67fff060;cpuset=[6])
EAL: lcore 7 is ready (tid=677ff060;cpuset=[7])
EAL: lcore 8 is ready (tid=5afff060;cpuset=[8])
EAL: lcore 9 is ready (tid=5a7ff060;cpuset=[9])
EAL: lcore 10 is ready (tid=65fff060;cpuset=[10])
EAL: lcore 11 is ready (tid=657ff060;cpuset=[11])
EAL: lcore 12 is ready (tid=64fff060;cpuset=[12])
EAL: lcore 13 is ready (tid=647ff060;cpuset=[13])
EAL: lcore 14 is ready (tid=3ffff060;cpuset=[14])
EAL: lcore 15 is ready (tid=3f7ff060;cpuset=[15])
EAL: lcore 16 is ready (tid=3efff060;cpuset=[16])
EAL: lcore 17 is ready (tid=3e7ff060;cpuset=[17])
EAL: lcore 18 is ready (tid=3dfff060;cpuset=[18])
EAL: lcore 19 is ready (tid=3d7ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=3cfff060;cpuset=[20])
EAL: lcore 21 is ready (tid=3c7ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=1bfff060;cpuset=[22])
EAL: lcore 23 is ready (tid=1b7ff060;cpuset=[23])
EAL: lcore 24 is ready (tid=1afff060;cpuset=[24])
EAL: lcore 25 is ready (tid=1a7ff060;cpuset=[25])
EAL: lcore 26 is ready (tid=19fff060;cpuset=[26])
EAL: lcore 27 is ready (tid=197ff060;cpuset=[27])
EAL: lcore 28 is ready (tid=18fff060;cpuset=[28])
EAL: lcore 29 is ready (tid=187ff060;cpuset=[29])
EAL: lcore 30 is ready (tid=f7fff060;cpuset=[30])
EAL: lcore 31 is ready (tid=f77ff060;cpuset=[31])
Set txonly packet forwarding mode
Auto-start selected
Configuring Port 0 (socket 0)
PMD: xgbe1: Could not register memseg @0x1ff68000000, -1111(No more IOTLB entries).
PMD: xgbe1: Could not register memseg @0x1ff5b000000, -1111(No more IOTLB entries).
PMD: xgbe1: Could not register memseg @0x1fe66000000, -1111(No more IOTLB entries).
PMD: xgbe1: Buffer stack memory 0x1ff63780000 - 0x1ff637d557f.
PMD: xgbe1: eDMA ring memory 0x1ff637d8000 - 0x1ff637d9fff.
PMD: xgbe1: iDMA ring 0 memory 0x1ff6377c000 - 0x1ff6377dfff.
PMD: rte_eth_dev_config_restore: port 0: MAC address array not supported
PMD: rte_eth_allmulticast_disable: Function not supported
Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex
Done
No commandline core given, start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32
packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exit
Command: run cat /proc/meminfo MemTotal: 8230464 kB MemFree: 1765120 kB Buffers: 0 kB Cached: 42432 kB SwapCached: 0 kB Active: 27776 kB Inactive: 8448 kB Active(anon): 27776 kB Inactive(anon): 8448 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 0 kB Mapped: 3008 kB Shmem: 17856 kB Slab: 17984 kB SReclaimable: 1280 kB SUnreclaim: 16704 kB KernelStack: 11456 kB PageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 969472 kB Committed_AS: 41280 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 50816 kB HugePages_Total: 384 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 16384 kB
------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Thu, Sep 24, 2015 11:47 AM To: "zlu"<[email protected]>; "dev"<[email protected]>;
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Zhigang
I used "--hvx hugepagesz=16m --hvx hugepages=256", but testpmd still not work and exit.
Command: run cat /proc/meminfo MemTotal: 8230464 kB MemFree: 3872576 kB Buffers: 0 kB Cached: 12480 kB SwapCached: 0 kB Active: 11200 kB Inactive: 5888 kB Active(anon): 11200 kB Inactive(anon): 5888 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 4736 kB Mapped: 3072 kB Shmem: 12480 kB Slab: 16256 kB SReclaimable: 768 kB SUnreclaim: 15488 kB KernelStack: 11648 kB PageTables: 4096 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2018048 kB Committed_AS: 19328 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 37184 kB HugePages_Total: 256 HugePages_Free: 256 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 16384 kB
Command: run ./testpmd -c 0xffffffff -m 2048 -n 1 -r 1 --vdev xgbe1 -- --rx=1 --tx=2 --forward-mode=txonly -a --port-topology=chained gxio_mpipe_init instance 0gxio_mpipe_init instance 1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of 0xc000000 bytes
EAL: Virtual area found at 0x1ffdb000000 (size = 0xc000000)
EAL: Ask a virtual area of 0xf4000000 bytes
EAL: Virtual area found at 0x1fee6000000 (size = 0xf4000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f04690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eafaf060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea7af060;cpuset=[2])
EAL: lcore 3 is ready (tid=e9faf060;cpuset=[3])
EAL: lcore 4 is ready (tid=e97af060;cpuset=[4])
EAL: lcore 5 is ready (tid=e8faf060;cpuset=[5])
EAL: lcore 6 is ready (tid=e87af060;cpuset=[6])
EAL: lcore 7 is ready (tid=e7faf060;cpuset=[7])
EAL: lcore 8 is ready (tid=dafff060;cpuset=[8])
EAL: lcore 9 is ready (tid=da7ff060;cpuset=[9])
EAL: lcore 10 is ready (tid=d9fff060;cpuset=[10])
EAL: lcore 11 is ready (tid=d97ff060;cpuset=[11])
EAL: lcore 12 is ready (tid=d8fff060;cpuset=[12])
EAL: lcore 14 is ready (tid=b3fff060;cpuset=[14])
EAL: lcore 13 is ready (tid=d87ff060;cpuset=[13])
EAL: lcore 15 is ready (tid=b37ff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b2fff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b27ff060;cpuset=[17])
EAL: lcore 18 is ready (tid=b1fff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b17ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=b0fff060;cpuset=[20])
EAL: lcore 21 is ready (tid=b07ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=8ffff060;cpuset=[22])
EAL: lcore 23 is ready (tid=8f7ff060;cpuset=[23])
EAL: lcore 24 is ready (tid=8efff060;cpuset=[24])
EAL: lcore 25 is ready (tid=8e7ff060;cpuset=[25])
EAL: lcore 26 is ready (tid=8dfff060;cpuset=[26])
EAL: lcore 27 is ready (tid=8d7ff060;cpuset=[27])
EAL: lcore 28 is ready (tid=8cfff060;cpuset=[28])
EAL: lcore 29 is ready (tid=8c7ff060;cpuset=[29])
EAL: lcore 30 is ready (tid=6bfff060;cpuset=[30])
EAL: lcore 31 is ready (tid=6b7ff060;cpuset=[31])
Set txonly packet forwarding mode
Auto-start selected
Configuring Port 0 (socket 0)
PMD: xgbe1: Registered segment 0x1ffdb000000 - 0x1ffe6ffffff
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Buffer stack memory 0x1ffe3780000 - 0x1ffe37d557f.
PMD: xgbe1: eDMA ring memory 0x1ffe37d8000 - 0x1ffe37d9fff.
PMD: xgbe1: iDMA ring 0 memory 0x1ffe377c000 - 0x1ffe377dfff.
Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex
Done
No commandline core given, start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32
packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exit
Regards,
Arthas
------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Thu, Sep 24, 2015 09:47 AM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Seems like something wrong with memseg, could you try with
" --hvx hugepagesz=1G --hvx hugepages=4" to boot Gx card? This helps reserve hugepages for DPDK, and check there are still such errors.
With regard to MDE-4.3.3, please contact your local tech support.
Thanks
-Zhigang
Quoted 43 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Arthas
Sent: Wednesday, September 23, 2015 11:56 PM
To: zlu; dev
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, ZhiGang,
Can you tell me where can download TileraMDE-4.3.3 package? My tilegx
tech supporter only send me TileraMDE-4.2.4 version!
:)Thanks,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:41 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, ZhiGang
I checked source code and debug it , found dpdk functionrte_eth_tx_burst
with tilegx return 0 and no other error. Can I contact you directly? Regards,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:35 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Quoted 6 lines
Hi, ZhiGang
My tilegx boot parameter is "tile-monitor --dev gxpci${1} --hv-bin-dir
/tilegx/tile/hv-bin-dir424/ --hvx dataplane=1-64".
and testpmd start parameter is
tile-monitor --dev gxpci0 --resume --upload testpmd testpmd --run
-+- ./testpmd -c0xffffffff-m 2048 -n 1 -r 1 --vdev xgbe1 -- --rx=1
--tx=2
Quoted 119 lines
--forward-mode=txonly -a --port-topology=chained -+-
but xgbe1 can't xmit any packet.
This is my run log:EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: No free hugepages reported in hugepages-1024kB
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x16000000bytes
EAL: Virtual area found at0x1ffd1000000(size =0x16000000)
EAL: Ask a virtual area of0x90000000bytes
EAL: Virtual area found at0x1ff40000000(size =0x90000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1ff3d000000(size =0x2000000)
EAL: Ask a virtual area of0x10000000bytes
EAL: Virtual area found at0x1ff2c000000(size =0x10000000)
EAL: Ask a virtual area of0x46000000bytes
EAL: Virtual area found at0x1fee5000000(size =0x46000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1fee2000000(size =0x2000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7fa4690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eb04f060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea84f060;cpuset=[2])
EAL: lcore 3 is ready (tid=ea04f060;cpuset=[3])
EAL: lcore 4 is ready (tid=e984f060;cpuset=[4])
EAL: lcore 5 is ready (tid=d0fff060;cpuset=[5])
EAL: lcore 6 is ready (tid=d07ff060;cpuset=[6])
EAL: lcore 7 is ready (tid=e904f060;cpuset=[7])
EAL: lcore 8 is ready (tid=e884f060;cpuset=[8])
EAL: lcore 9 is ready (tid=e804f060;cpuset=[9])
EAL: lcore 10 is ready (tid=e784f060;cpuset=[10])
EAL: lcore 11 is ready (tid=b3fff060;cpuset=[11])
EAL: lcore 12 is ready (tid=b37ff060;cpuset=[12])
EAL: lcore 13 is ready (tid=b2fff060;cpuset=[13])
EAL: lcore 14 is ready (tid=b27ff060;cpuset=[14])
EAL: lcore 15 is ready (tid=b1fff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b17ff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b0fff060;cpuset=[17])
EAL: lcore 18 is ready (tid=2ffff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b07ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=abfff060;cpuset=[20])
EAL: lcore 21 is ready (tid=ab7ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=aafff060;cpuset=[22])
EAL: lcore 23 is ready (tid=aa7ff060;cpuset=[23])
EAL: lcore 24 is ready (tid=2f7ff060;cpuset=[24])
EAL: lcore 25 is ready (tid=2efff060;cpuset=[25])
EAL: lcore 26 is ready (tid=2e7ff060;cpuset=[26])
EAL: lcore 27 is ready (tid=2dfff060;cpuset=[27])
EAL: lcore 28 is ready (tid=2d7ff060;cpuset=[28])
EAL: lcore 29 is ready (tid=2cfff060;cpuset=[29])
EAL: lcore 30 is ready (tid=2c7ff060;cpuset=[30])
EAL: lcore 31 is ready (tid=f3fff060;cpuset=[31])
Set txonly packet forwarding mode
Auto-start selected
Configuring Port 0 (socket 0)
PMD: xgbe1: Could not register memseg @0x1ffd1000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff40000000, -1111.
PMD: xgbe1: Buffer stack memory0x1ffd1c30000-0x1ffd1c8557f.
PMD: xgbe1: eDMA ring memory0x1ffd1c8a000-0x1ffd1c8bfff.
PMD: xgbe1: iDMA ring 0 memory0x1ffd1c86000-0x1ffd1c87fff. Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex
Done
No commandline core given, start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exit
Quoted 5 lines
and another tilegx card output:
Command: run mpipe-stat xgbe1
Link Tx pkt Tx bits Rx pkt Rx bits Tx err
Rx err
---------------------------------------------------------------------------
-----
Quoted 69 lines
xgbe1 0 0 0 0
0 0Regards, Arthas
------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Wed, Sep 23, 2015 03:34 PM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;Subject: RE: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Does testpmd run OK, and what is boot parameter you used to boot Tile-Gx?
Quoted 24 lines
-----Original Message-----
From: Arthas [mailto:[email protected]]
Sent: Wednesday, September 23, 2015 1:21 PM
To: dev
Cc: zlu
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597and I wrote a sample RX example, got an other information.
PMD: xgbe1: Could not register memseg @0x1ffd2000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff41000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff3e000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff2d000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee3000000, -1111.
PMD: xgbe1: Buffer stack memory0x1fee4b90000-0x1fee4be557f.
PMD: xgbe1: eDMA ring memory0x1fee4bf0000-0x1fee4bf1fff.
PMD: xgbe1: iDMA ring 0 memory0x1fee4bec000-0x1fee4bedfff.Regards, Arthas
Quoted 7 lines
------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 01:17 PM To: "dev"<[email protected]>; Subject: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, I'm working on tilegx platform. and I wrote a sample dpdk trafgen for
tilegx.
Quoted 16 lines
But I got a error with
rte_mbufrte_pktmbuf_append.PANIC in
rte_mbuf_sanity_check():
bad phys addr
7: [/trafgen(_start+0x70) [0x100b308]]
6: [/lib/libc.so.6(__libc_start_main+0x200) [0x1fff7a6e4c8]] 5: [/trafgen(main+0x2148) [0x1017b78]]
4: [/trafgen(rte_pktmbuf_dump+0x58) [0x102c7a8]] 3: [/trafgen(rte_mbuf_sanity_check+0x1a8) [0x102c700]] 2: [/trafgen(__rte_panic+0xc0) [0x1091e80]]
1: [/trafgen(rte_dump_stack+0x40) [0x104cf00]]DPDK compiled with
CONFIG_RTE_LIBRTE_MBUF_DEBUG=y!Regards, Arthas
Hi, Arthas
I don't see the failed messages in your log, so that can't give you useful guidance.
Are you running testpmd or your own apps? Can you generate some packets on another GX, and check if the dpdk can receive packets with testpmd.
Overall, I recommend you to run our latest MDE, as that's we usually runs with DPDK, so that we can reproduce you case.
Thanks
-Zhigang
Quoted 50 lines
-----Original Message-----
From: Arthas [mailto:[email protected]]
Sent: Friday, September 25, 2015 12:38 PM
To: zlu; dev
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, Zhigang,
I fixed register memseg error, butgxio_mpipe_equeue_put_atsend packet
still failed.Command: run cat /proc/meminfo MemTotal: 8230016 kB MemFree: 3866688 kB Buffers: 0 kB Cached: 16576 kB SwapCached: 0 kB Active: 11392 kB Inactive: 9088 kB Active(anon): 11392 kB Inactive(anon): 9088 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 0 kB Mapped: 3072 kB Shmem: 16320 kB Slab: 17024 kB SReclaimable: 768 kB SUnreclaim: 16256 kB KernelStack: 11456 kB PageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2017856 kB Committed_AS: 22976 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 46144 kB HugePages_Total: 4 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 1048576 kB
Quoted 1 line
_init_dpdk_eal_params: -c0xffffffff-m 4096 -r 1 -n 1 --log-level 8
--vdev xgbe1
Quoted 298 lines
--vdev xgbe2 --log-level 8 --no-hpet
main:rte_eal_init.
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x100000000bytes
EAL: Virtual area found at0x1fe40000000(size =0x100000000)
EAL: Requesting 4 pages of size 1024MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f34690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
PMD: mpipe init xgbe2
PMD: xgbe2: Initialized mpipe device(mac ee:d1:53:72:82:5b).
EAL: lcore 1 is ready (tid=eb1df060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea9df060;cpuset=[2])
EAL: lcore 3 is ready (tid=ea1df060;cpuset=[3])
EAL: lcore 4 is ready (tid=e99df060;cpuset=[4])
EAL: lcore 5 is ready (tid=e91df060;cpuset=[5])
EAL: lcore 6 is ready (tid=e89df060;cpuset=[6])
EAL: lcore 7 is ready (tid=dbfff060;cpuset=[7])
EAL: lcore 8 is ready (tid=db7ff060;cpuset=[8])
EAL: lcore 9 is ready (tid=dafff060;cpuset=[9])
EAL: lcore 10 is ready (tid=da7ff060;cpuset=[10])
EAL: lcore 11 is ready (tid=d9fff060;cpuset=[11])
EAL: lcore 12 is ready (tid=d97ff060;cpuset=[12])
EAL: lcore 13 is ready (tid=d8fff060;cpuset=[13])
EAL: lcore 15 is ready (tid=bbfff060;cpuset=[15])
EAL: lcore 14 is ready (tid=d87ff060;cpuset=[14])
EAL: lcore 16 is ready (tid=bb7ff060;cpuset=[16])
EAL: lcore 17 is ready (tid=bafff060;cpuset=[17])
EAL: lcore 18 is ready (tid=ba7ff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b9fff060;cpuset=[19])
EAL: lcore 20 is ready (tid=b97ff060;cpuset=[20])
EAL: lcore 21 is ready (tid=b8fff060;cpuset=[21])
EAL: lcore 22 is ready (tid=b87ff060;cpuset=[22])
EAL: lcore 23 is ready (tid=93fff060;cpuset=[23])
EAL: lcore 24 is ready (tid=937ff060;cpuset=[24])
EAL: lcore 25 is ready (tid=92fff060;cpuset=[25])
EAL: lcore 26 is ready (tid=927ff060;cpuset=[26])
EAL: lcore 27 is ready (tid=91fff060;cpuset=[27])
EAL: lcore 28 is ready (tid=917ff060;cpuset=[28])
EAL: lcore 29 is ready (tid=90fff060;cpuset=[29])
EAL: lcore 30 is ready (tid=907ff060;cpuset=[30])
EAL: lcore 31 is ready (tid=73fff060;cpuset=[31])
main: Detect CPU freq 1200000000
main: Detect 32 CPU cores
main: Probe PCI ethernet devices.
main: Detect 2 Ethernet device
main: pid=2169_eth_dev_init: Init port 0 mbuf pool pkt_len=1986 nr_pkts=17536 cache=512_eth_dev_init: Init port 0 mbuf pool pkt_len=1730 nr_pkts=17536 cache=512 pool=0x0x1ff36e3f5c0 success._eth_dev_init: Configure port 0 nr_tx=1 nr_rx=1_eth_dev_init: Configure port 0 rxq=0 rxd=128
PMD: Allocate 128 iqueue descs.
PMD: Init mPIPE buffer stack size index 3_eth_dev_init: port 0: EE:D1:53:72:82:5A_eth_dev_init: Configure port 0 txq=0 txd=1024
PMD: Allocate one NotifRing for each queue. max=16
PMD: Allocate a NotifGroup.
PMD: Allocate 256 buckets.
PMD: Allocate 1 mPIPE buffer stack.
PMD:gxio_mpipe_register_page.
PMD: Register mPIPE page0x1fe40000000size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page0x1fe80000000size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page0x1fec0000000size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page0x1ff00000000size=1073741824, log2=30 must < 40 & > 12
PMD: xgbe1: Registered segment0x1fe40000000-0x1ff3fffffff
PMD: Allocate mPIPE buffer stack size=65536 341K bytes..
PMD: xgbe1: Buffer stack memory0x1ff36de0000-0x1ff36e3557f.
PMD: xgbe1: eDMA ring memory0x1ff36e3c000-0x1ff36e3dfff.
PMD: xgbe1: iDMA ring 0 memory0x1ff36e38000-0x1ff36e39fff.
PMD: xgbe1: Pushed mbuf0x1ff3a550080, buffer0x1ff3a550202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54f800, buffer0x1ff3a54f982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54ef80, buffer0x1ff3a54f102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54e700, buffer0x1ff3a54e882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54de80, buffer0x1ff3a54e002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54d600, buffer0x1ff3a54d782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54cd80, buffer0x1ff3a54cf02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54c500, buffer0x1ff3a54c682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54bc80, buffer0x1ff3a54be02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54b400, buffer0x1ff3a54b582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54ab80, buffer0x1ff3a54ad02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54a300, buffer0x1ff3a54a482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a549a80, buffer0x1ff3a549c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a549200, buffer0x1ff3a549382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a548980, buffer0x1ff3a548b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a548100, buffer0x1ff3a548282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a547880, buffer0x1ff3a547a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a547000, buffer0x1ff3a547182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a546780, buffer0x1ff3a546902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a545f00, buffer0x1ff3a546082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a545680, buffer0x1ff3a545802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a544e00, buffer0x1ff3a544f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a544580, buffer0x1ff3a544702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a543d00, buffer0x1ff3a543e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a543480, buffer0x1ff3a543602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a542c00, buffer0x1ff3a542d82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a542380, buffer0x1ff3a542502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a541b00, buffer0x1ff3a541c82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a541280, buffer0x1ff3a541402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a540a00, buffer0x1ff3a540b82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a540180, buffer0x1ff3a540302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53f900, buffer0x1ff3a53fa82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53f080, buffer0x1ff3a53f202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53e800, buffer0x1ff3a53e982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53df80, buffer0x1ff3a53e102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53d700, buffer0x1ff3a53d882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53ce80, buffer0x1ff3a53d002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53c600, buffer0x1ff3a53c782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53bd80, buffer0x1ff3a53bf02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53b500, buffer0x1ff3a53b682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53ac80, buffer0x1ff3a53ae02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53a400, buffer0x1ff3a53a582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a539b80, buffer0x1ff3a539d02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a539300, buffer0x1ff3a539482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a538a80, buffer0x1ff3a538c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a538200, buffer0x1ff3a538382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a537980, buffer0x1ff3a537b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a537100, buffer0x1ff3a537282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a536880, buffer0x1ff3a536a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a536000, buffer0x1ff3a536182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a535780, buffer0x1ff3a535902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a534f00, buffer0x1ff3a535082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a534680, buffer0x1ff3a534802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a533e00, buffer0x1ff3a533f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a533580, buffer0x1ff3a533702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a532d00, buffer0x1ff3a532e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a532480, buffer0x1ff3a532602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a531c00, buffer0x1ff3a531d82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a531380, buffer0x1ff3a531502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a530b00, buffer0x1ff3a530c82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a530280, buffer0x1ff3a530402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52fa00, buffer0x1ff3a52fb82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52f180, buffer0x1ff3a52f302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52e900, buffer0x1ff3a52ea82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52e080, buffer0x1ff3a52e202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52d800, buffer0x1ff3a52d982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52cf80, buffer0x1ff3a52d102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52c700, buffer0x1ff3a52c882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52be80, buffer0x1ff3a52c002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52b600, buffer0x1ff3a52b782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52ad80, buffer0x1ff3a52af02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52a500, buffer0x1ff3a52a682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a529c80, buffer0x1ff3a529e02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a529400, buffer0x1ff3a529582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a528b80, buffer0x1ff3a528d02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a528300, buffer0x1ff3a528482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a527a80, buffer0x1ff3a527c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a527200, buffer0x1ff3a527382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a526980, buffer0x1ff3a526b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a526100, buffer0x1ff3a526282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a525880, buffer0x1ff3a525a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a525000, buffer0x1ff3a525182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a524780, buffer0x1ff3a524902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a523f00, buffer0x1ff3a524082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a523680, buffer0x1ff3a523802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a522e00, buffer0x1ff3a522f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a522580, buffer0x1ff3a522702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a521d00, buffer0x1ff3a521e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a521480, buffer0x1ff3a521602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a520c00, buffer0x1ff3a520d82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a520380, buffer0x1ff3a520502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51fb00, buffer0x1ff3a51fc82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51f280, buffer0x1ff3a51f402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51ea00, buffer0x1ff3a51eb82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51e180, buffer0x1ff3a51e302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51d900, buffer0x1ff3a51da82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51d080, buffer0x1ff3a51d202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51c800, buffer0x1ff3a51c982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51bf80, buffer0x1ff3a51c102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51b700, buffer0x1ff3a51b882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51ae80, buffer0x1ff3a51b002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51a600, buffer0x1ff3a51a782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a519d80, buffer0x1ff3a519f02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a519500, buffer0x1ff3a519682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a518c80, buffer0x1ff3a518e02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a518400, buffer0x1ff3a518582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a517b80, buffer0x1ff3a517d02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a517300, buffer0x1ff3a517482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a516a80, buffer0x1ff3a516c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a516200, buffer0x1ff3a516382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a515980, buffer0x1ff3a515b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a515100, buffer0x1ff3a515282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a514880, buffer0x1ff3a514a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a514000, buffer0x1ff3a514182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a513780, buffer0x1ff3a513902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a512f00, buffer0x1ff3a513082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a512680, buffer0x1ff3a512802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a511e00, buffer0x1ff3a511f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a511580, buffer0x1ff3a511702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a510d00, buffer0x1ff3a510e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a510480, buffer0x1ff3a510602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50fc00, buffer0x1ff3a50fd82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50f380, buffer0x1ff3a50f502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50eb00, buffer0x1ff3a50ec82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50e280, buffer0x1ff3a50e402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50da00, buffer0x1ff3a50db82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50d180, buffer0x1ff3a50d302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50c900, buffer0x1ff3a50ca82into stack 2
PMD: xgbe1: Filled 128/128 buffers
PMD:rte_eth_dev_config_restore: port 0: MAC address array not supported
PMD:rte_eth_allmulticast_disable: Function not supported_eth_dev_init: start port 0 success._eth_dev_init: enable port 0 promiscuous.
main: Link Up - speed 10000 Mbps - full-duplex_tx_pkts_rand_init: Alloc 32 mbuf for port=0_tx_pkts_rand_init: Prebuild 32 mbuf for port=0_tx_pkts_rand_init: Prebuild 32 mbuf for port=0 done.
main: launch lcore 1_mbuf_random_tasktask port=0 txq=0_mbuf_random_task: Start mbuf rand task port=0 pool=0x0x1ff36e3f5c0_mbuf_random_task: Start mbuf rand task daddr=192.168.1.245 dport=80_mbuf_random_task: Core 1 Exit.._tx_rand_task: Start TX rand task port=0 txq=0 pkts_burst=32_wait_for_dev_link_up: TX rand task Core 2 port 0 Link is Up
PMD: Trying to transmit 32 packets on xgbe1:0.
main: launch lcore 2 tx task port=0 txq=0
PMD: xgbe1:0: Sending packet0x1ff3a50c200, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50b980, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50b100, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50a880, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50a000, len 62
PMD: xgbe1:0: Sending packet0x1ff3a509780, len 62
PMD: xgbe1:0: Sending packet0x1ff3a508f00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a508680, len 62
PMD: xgbe1:0: Sending packet0x1ff3a507e00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a507580, len 62
PMD: xgbe1:0: Sending packet0x1ff3a506d00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a506480, len 62
PMD: xgbe1:0: Sending packet0x1ff3a505c00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a505380, len 62
PMD: xgbe1:0: Sending packet0x1ff3a504b00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a504280, len 62
PMD: xgbe1:0: Sending packet0x1ff3a503a00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a503180, len 62
PMD: xgbe1:0: Sending packet0x1ff3a502900, len 62
PMD: xgbe1:0: Sending packet0x1ff3a502080, len 62
PMD: xgbe1:0: Sending packet0x1ff3a501800, len 62
PMD: xgbe1:0: Sending packet0x1ff3a500f80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a500700, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4ffe80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4ff600, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fed80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fe500, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fdc80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fd400, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fcb80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fc300, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fba80, len 62
PMD: Ask the mPIPE hardware to egress outstanding packets immediately.
PMD: Wait for mPIPE equeue slot 32 complete.Regards.
Arthas
------------------ Original ------------------
Quoted 7 lines
From: "Arthas";<[email protected]>; Date: Thu, Sep 24, 2015 01:38 PM To: "zlu"<[email protected]>; "dev"<[email protected]>; Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, Zhigang,
I checked error code and got a error information "(No more IOTLB
entries)." &
Quoted 4 lines
xmit function
gxio_mpipe_equeue_try_reserve_fastgot "Insufficient DMA credits"!Command: run ./testpmd -c
0xffffffff-m 6144 -n 1 -r 1 --vdev xgbe1 --
--rx=1
Quoted 78 lines
--tx=2 --forward-mode=txonly -a --port-topology=chained
gxio_mpipe_initinstance 0gxio_mpipe_initinstance 1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x80000000bytes
EAL: Virtual area found at0x1ff68000000(size =0x80000000)
EAL: Ask a virtual area of0xc000000bytes
EAL: Virtual area found at0x1ff5b000000(size =0xc000000)
EAL: Ask a virtual area of0xf4000000bytes
EAL: Virtual area found at0x1fe66000000(size =0xf4000000)
EAL: Requesting 384 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f94690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eaf3f060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea73f060;cpuset=[2])
EAL: lcore 3 is ready (tid=e9f3f060;cpuset=[3])
EAL: lcore 4 is ready (tid=e973f060;cpuset=[4])
EAL: lcore 5 is ready (tid=e8f3f060;cpuset=[5])
EAL: lcore 6 is ready (tid=67fff060;cpuset=[6])
EAL: lcore 7 is ready (tid=677ff060;cpuset=[7])
EAL: lcore 8 is ready (tid=5afff060;cpuset=[8])
EAL: lcore 9 is ready (tid=5a7ff060;cpuset=[9])
EAL: lcore 10 is ready (tid=65fff060;cpuset=[10])
EAL: lcore 11 is ready (tid=657ff060;cpuset=[11])
EAL: lcore 12 is ready (tid=64fff060;cpuset=[12])
EAL: lcore 13 is ready (tid=647ff060;cpuset=[13])
EAL: lcore 14 is ready (tid=3ffff060;cpuset=[14])
EAL: lcore 15 is ready (tid=3f7ff060;cpuset=[15])
EAL: lcore 16 is ready (tid=3efff060;cpuset=[16])
EAL: lcore 17 is ready (tid=3e7ff060;cpuset=[17])
EAL: lcore 18 is ready (tid=3dfff060;cpuset=[18])
EAL: lcore 19 is ready (tid=3d7ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=3cfff060;cpuset=[20])
EAL: lcore 21 is ready (tid=3c7ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=1bfff060;cpuset=[22])
EAL: lcore 23 is ready (tid=1b7ff060;cpuset=[23])
Quoted 8 lines
EAL: lcore 24 is ready (tid=1afff060;cpuset=[24])
EAL: lcore 25 is ready (tid=1a7ff060;cpuset=[25])
EAL: lcore 26 is ready (tid=19fff060;cpuset=[26])
EAL: lcore 27 is ready (tid=197ff060;cpuset=[27])
EAL: lcore 28 is ready (tid=18fff060;cpuset=[28])
EAL: lcore 29 is ready (tid=187ff060;cpuset=[29])
EAL: lcore 30 is ready (tid=f7fff060;cpuset=[30])
EAL: lcore 31 is ready (tid=f77ff060;cpuset=[31]) Set txonly packet
forwarding
Quoted 6 lines
mode Auto-start selected Configuring Port 0 (socket 0)
PMD: xgbe1: Could not register memseg @0x1ff68000000, -1111(No more IOTLB entries).
PMD: xgbe1: Could not register memseg @0x1ff5b000000, -1111(No more IOTLB entries).
PMD: xgbe1: Could not register memseg @0x1fe66000000, -1111(No more
Quoted 8 lines
IOTLB entries).
PMD: xgbe1: Buffer stack memory0x1ff63780000-0x1ff637d557f.
PMD: xgbe1: eDMA ring memory0x1ff637d8000-0x1ff637d9fff.
PMD: xgbe1: iDMA ring 0 memory0x1ff6377c000-0x1ff6377dfff.
PMD:rte_eth_dev_config_restore: port 0: MAC address array not supported
PMD:rte_eth_allmulticast_disable: Function not supported Port 0:
EE:D1:53:72:82:5A Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex Done No commandline core
given,
Quoted 108 lines
start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exitCommand: run cat /proc/meminfo MemTotal: 8230464 kB MemFree: 1765120 kB Buffers: 0 kB Cached: 42432 kB SwapCached: 0 kB Active: 27776 kB Inactive: 8448 kB Active(anon): 27776 kB Inactive(anon): 8448 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 0 kB Mapped: 3008 kB Shmem: 17856 kB Slab: 17984 kB SReclaimable: 1280 kB SUnreclaim: 16704 kB KernelStack: 11456 kB PageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 969472 kB Committed_AS: 41280 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 50816 kB HugePages_Total: 384 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 16384 kB------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Thu, Sep 24, 2015 11:47 AM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Zhigang
I used "--hvx hugepagesz=16m --hvx hugepages=256", but testpmd still not
work and exit.Command: run cat /proc/meminfo MemTotal: 8230464 kB MemFree: 3872576 kB Buffers: 0 kB Cached: 12480 kB SwapCached: 0 kB Active: 11200 kB Inactive: 5888 kB Active(anon): 11200 kB Inactive(anon): 5888 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 4736 kB Mapped: 3072 kB Shmem: 12480 kB Slab: 16256 kB SReclaimable: 768 kB SUnreclaim: 15488 kB KernelStack: 11648 kB PageTables: 4096 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2018048 kB Committed_AS: 19328 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 37184 kB HugePages_Total: 256 HugePages_Free: 256 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 16384 kB
Quoted 1 line
Command: run ./testpmd -c
0xffffffff-m 2048 -n 1 -r 1 --vdev xgbe1 --
--rx=1
Quoted 75 lines
--tx=2 --forward-mode=txonly -a --port-topology=chained
gxio_mpipe_initinstance 0gxio_mpipe_initinstance 1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0xc000000bytes
EAL: Virtual area found at0x1ffdb000000(size =0xc000000)
EAL: Ask a virtual area of0xf4000000bytes
EAL: Virtual area found at0x1fee6000000(size =0xf4000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f04690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eafaf060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea7af060;cpuset=[2])
EAL: lcore 3 is ready (tid=e9faf060;cpuset=[3])
EAL: lcore 4 is ready (tid=e97af060;cpuset=[4])
EAL: lcore 5 is ready (tid=e8faf060;cpuset=[5])
EAL: lcore 6 is ready (tid=e87af060;cpuset=[6])
EAL: lcore 7 is ready (tid=e7faf060;cpuset=[7])
EAL: lcore 8 is ready (tid=dafff060;cpuset=[8])
EAL: lcore 9 is ready (tid=da7ff060;cpuset=[9])
EAL: lcore 10 is ready (tid=d9fff060;cpuset=[10])
EAL: lcore 11 is ready (tid=d97ff060;cpuset=[11])
EAL: lcore 12 is ready (tid=d8fff060;cpuset=[12])
EAL: lcore 14 is ready (tid=b3fff060;cpuset=[14])
EAL: lcore 13 is ready (tid=d87ff060;cpuset=[13])
EAL: lcore 15 is ready (tid=b37ff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b2fff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b27ff060;cpuset=[17])
EAL: lcore 18 is ready (tid=b1fff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b17ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=b0fff060;cpuset=[20])
EAL: lcore 21 is ready (tid=b07ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=8ffff060;cpuset=[22])
EAL: lcore 23 is ready (tid=8f7ff060;cpuset=[23])
Quoted 8 lines
EAL: lcore 24 is ready (tid=8efff060;cpuset=[24])
EAL: lcore 25 is ready (tid=8e7ff060;cpuset=[25])
EAL: lcore 26 is ready (tid=8dfff060;cpuset=[26])
EAL: lcore 27 is ready (tid=8d7ff060;cpuset=[27])
EAL: lcore 28 is ready (tid=8cfff060;cpuset=[28])
EAL: lcore 29 is ready (tid=8c7ff060;cpuset=[29])
EAL: lcore 30 is ready (tid=6bfff060;cpuset=[30])
EAL: lcore 31 is ready (tid=6b7ff060;cpuset=[31]) Set txonly packet
forwarding
Quoted 9 lines
mode Auto-start selected Configuring Port 0 (socket 0)
PMD: xgbe1: Registered segment0x1ffdb000000-0x1ffe6ffffff
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Buffer stack memory0x1ffe3780000-0x1ffe37d557f.
PMD: xgbe1: eDMA ring memory0x1ffe37d8000-0x1ffe37d9fff.
PMD: xgbe1: iDMA ring 0 memory0x1ffe377c000-0x1ffe377dfff. Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex Done No commandline core
given,
Quoted 28 lines
start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exitRegards,
Arthas------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Thu, Sep 24, 2015 09:47 AM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Quoted 38 lines
Seems like something wrong with memseg, could you try with " --hvx hugepagesz=1G --hvx hugepages=4" to boot Gx card? This helps reserve hugepages for DPDK, and check there are still such errors.
With regard to MDE-4.3.3, please contact your local tech support.
Thanks
-ZhigangQuoted 29 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Arthas
Sent: Wednesday, September 23, 2015 11:56 PM
To: zlu; dev
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, ZhiGang,
Can you tell me where can download TileraMDE-4.3.3 package? My
tilegx tech supporter only send me TileraMDE-4.2.4 version! :)Thanks,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:41 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, ZhiGang
I checked source code and debug it , found dpdk functionrte_eth_tx_burstwith tilegx return 0 and no other error. Can I contact
you
Quoted 214 lines
directly?
Quoted 14 lines
Regards,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:35 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Quoted 6 lines
Hi, ZhiGang
My tilegx boot parameter is "tile-monitor --dev gxpci${1}
--hv-bin-dir /tilegx/tile/hv-bin-dir424/ --hvx dataplane=1-64". and testpmd start parameter is
tile-monitor --dev gxpci0 --resume --upload testpmd testpmd --run
-+- ./testpmd -c0xffffffff-m 2048 -n 1 -r 1 --vdev xgbe1 -- --rx=1--tx=2
Quoted 115 lines
--forward-mode=txonly -a --port-topology=chained -+-
but xgbe1 can't xmit any packet.
This is my run log:EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: No free hugepages reported in hugepages-1024kB
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x16000000bytes
EAL: Virtual area found at0x1ffd1000000(size =0x16000000)
EAL: Ask a virtual area of0x90000000bytes
EAL: Virtual area found at0x1ff40000000(size =0x90000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1ff3d000000(size =0x2000000)
EAL: Ask a virtual area of0x10000000bytes
EAL: Virtual area found at0x1ff2c000000(size =0x10000000)
EAL: Ask a virtual area of0x46000000bytes
EAL: Virtual area found at0x1fee5000000(size =0x46000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1fee2000000(size =0x2000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7fa4690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eb04f060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea84f060;cpuset=[2])
EAL: lcore 3 is ready (tid=ea04f060;cpuset=[3])
EAL: lcore 4 is ready (tid=e984f060;cpuset=[4])
EAL: lcore 5 is ready (tid=d0fff060;cpuset=[5])
EAL: lcore 6 is ready (tid=d07ff060;cpuset=[6])
EAL: lcore 7 is ready (tid=e904f060;cpuset=[7])
EAL: lcore 8 is ready (tid=e884f060;cpuset=[8])
EAL: lcore 9 is ready (tid=e804f060;cpuset=[9])
EAL: lcore 10 is ready (tid=e784f060;cpuset=[10])
EAL: lcore 11 is ready (tid=b3fff060;cpuset=[11])
EAL: lcore 12 is ready (tid=b37ff060;cpuset=[12])
EAL: lcore 13 is ready (tid=b2fff060;cpuset=[13])
EAL: lcore 14 is ready (tid=b27ff060;cpuset=[14])
EAL: lcore 15 is ready (tid=b1fff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b17ff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b0fff060;cpuset=[17])
EAL: lcore 18 is ready (tid=2ffff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b07ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=abfff060;cpuset=[20])
EAL: lcore 21 is ready (tid=ab7ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=aafff060;cpuset=[22])
EAL: lcore 23 is ready (tid=aa7ff060;cpuset=[23])
EAL: lcore 24 is ready (tid=2f7ff060;cpuset=[24])
EAL: lcore 25 is ready (tid=2efff060;cpuset=[25])
EAL: lcore 26 is ready (tid=2e7ff060;cpuset=[26])
EAL: lcore 27 is ready (tid=2dfff060;cpuset=[27])
EAL: lcore 28 is ready (tid=2d7ff060;cpuset=[28])
EAL: lcore 29 is ready (tid=2cfff060;cpuset=[29])
EAL: lcore 30 is ready (tid=2c7ff060;cpuset=[30])
EAL: lcore 31 is ready (tid=f3fff060;cpuset=[31]) Set txonly packet forwarding mode Auto-start selected Configuring Port 0 (socket 0)
PMD: xgbe1: Could not register memseg @0x1ffd1000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff40000000, -1111.
PMD: xgbe1: Buffer stack memory0x1ffd1c30000-0x1ffd1c8557f.
PMD: xgbe1: eDMA ring memory0x1ffd1c8a000-0x1ffd1c8bfff.
PMD: xgbe1: iDMA ring 0 memory0x1ffd1c86000-0x1ffd1c87fff. Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex Done No commandline core given, start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0 Press enter to exitQuoted 6 lines
and another tilegx card output:
Command: run mpipe-stat xgbe1
Link Tx pkt Tx bits Rx pkt Rx bits Tx err
Rx err
-----------------------------------------------------------------------
---------
Quoted 70 lines
xgbe1 0 0 0 0
0 0Regards, Arthas
------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Wed, Sep 23, 2015 03:34 PM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;Subject: RE: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Does testpmd run OK, and what is boot parameter you used to boot Tile-Gx?
Quoted 24 lines
-----Original Message-----
From: Arthas [mailto:[email protected]]
Sent: Wednesday, September 23, 2015 1:21 PM
To: dev
Cc: zlu
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597and I wrote a sample RX example, got an other information.
PMD: xgbe1: Could not register memseg @0x1ffd2000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff41000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff3e000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff2d000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee3000000, -1111.
PMD: xgbe1: Buffer stack memory0x1fee4b90000-0x1fee4be557f.
PMD: xgbe1: eDMA ring memory0x1fee4bf0000-0x1fee4bf1fff.
PMD: xgbe1: iDMA ring 0 memory0x1fee4bec000-0x1fee4bedfff.Regards, Arthas
Quoted 8 lines
------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 01:17 PM To: "dev"<[email protected]>; Subject: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, I'm working on tilegx platform. and I wrote a sample dpdk trafgen for
tilegx.
Quoted 16 lines
But I got a error with
rte_mbufrte_pktmbuf_append.PANIC in
rte_mbuf_sanity_check():
bad phys addr
7: [/trafgen(_start+0x70) [0x100b308]]
6: [/lib/libc.so.6(__libc_start_main+0x200) [0x1fff7a6e4c8]] 5: [/trafgen(main+0x2148) [0x1017b78]]
4: [/trafgen(rte_pktmbuf_dump+0x58) [0x102c7a8]] 3: [/trafgen(rte_mbuf_sanity_check+0x1a8) [0x102c700]] 2: [/trafgen(__rte_panic+0xc0) [0x1091e80]]
1: [/trafgen(rte_dump_stack+0x40) [0x104cf00]]DPDK compiled with
CONFIG_RTE_LIBRTE_MBUF_DEBUG=y!Regards, Arthas
Hi, Zhigang,
Thanks, I use mPIPE api can receive & send packets. but DPDK v2.1.0 with gx can't send & receive any packet. I guess hv layer dosn't see any memory pages and register change, so any edesc can't be reclaimed. Now I waiting for our tech supporter release MDE 4.3.3.
Regards,
Arthas
------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Fri, Sep 25, 2015 10:44 PM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;
Subject: RE: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
I don't see the failed messages in your log, so that can't give you useful guidance.
Are you running testpmd or your own apps? Can you generate some packets on another GX, and check if the dpdk can receive packets with testpmd.
Overall, I recommend you to run our latest MDE, as that's we usually runs with DPDK, so that we can reproduce you case.
Thanks
-Zhigang
Quoted 50 lines
-----Original Message-----
From: Arthas [mailto:[email protected]]
Sent: Friday, September 25, 2015 12:38 PM
To: zlu; dev
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, Zhigang,
I fixed register memseg error, butgxio_mpipe_equeue_put_atsend packet
still failed.Command: run cat /proc/meminfo MemTotal: 8230016 kB MemFree: 3866688 kB Buffers: 0 kB Cached: 16576 kB SwapCached: 0 kB Active: 11392 kB Inactive: 9088 kB Active(anon): 11392 kB Inactive(anon): 9088 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 0 kB Mapped: 3072 kB Shmem: 16320 kB Slab: 17024 kB SReclaimable: 768 kB SUnreclaim: 16256 kB KernelStack: 11456 kB PageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2017856 kB Committed_AS: 22976 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 46144 kB HugePages_Total: 4 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 1048576 kB
Quoted 1 line
_init_dpdk_eal_params: -c0xffffffff-m 4096 -r 1 -n 1 --log-level 8
--vdev xgbe1
Quoted 298 lines
--vdev xgbe2 --log-level 8 --no-hpet
main:rte_eal_init.
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x100000000bytes
EAL: Virtual area found at0x1fe40000000(size =0x100000000)
EAL: Requesting 4 pages of size 1024MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f34690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
PMD: mpipe init xgbe2
PMD: xgbe2: Initialized mpipe device(mac ee:d1:53:72:82:5b).
EAL: lcore 1 is ready (tid=eb1df060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea9df060;cpuset=[2])
EAL: lcore 3 is ready (tid=ea1df060;cpuset=[3])
EAL: lcore 4 is ready (tid=e99df060;cpuset=[4])
EAL: lcore 5 is ready (tid=e91df060;cpuset=[5])
EAL: lcore 6 is ready (tid=e89df060;cpuset=[6])
EAL: lcore 7 is ready (tid=dbfff060;cpuset=[7])
EAL: lcore 8 is ready (tid=db7ff060;cpuset=[8])
EAL: lcore 9 is ready (tid=dafff060;cpuset=[9])
EAL: lcore 10 is ready (tid=da7ff060;cpuset=[10])
EAL: lcore 11 is ready (tid=d9fff060;cpuset=[11])
EAL: lcore 12 is ready (tid=d97ff060;cpuset=[12])
EAL: lcore 13 is ready (tid=d8fff060;cpuset=[13])
EAL: lcore 15 is ready (tid=bbfff060;cpuset=[15])
EAL: lcore 14 is ready (tid=d87ff060;cpuset=[14])
EAL: lcore 16 is ready (tid=bb7ff060;cpuset=[16])
EAL: lcore 17 is ready (tid=bafff060;cpuset=[17])
EAL: lcore 18 is ready (tid=ba7ff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b9fff060;cpuset=[19])
EAL: lcore 20 is ready (tid=b97ff060;cpuset=[20])
EAL: lcore 21 is ready (tid=b8fff060;cpuset=[21])
EAL: lcore 22 is ready (tid=b87ff060;cpuset=[22])
EAL: lcore 23 is ready (tid=93fff060;cpuset=[23])
EAL: lcore 24 is ready (tid=937ff060;cpuset=[24])
EAL: lcore 25 is ready (tid=92fff060;cpuset=[25])
EAL: lcore 26 is ready (tid=927ff060;cpuset=[26])
EAL: lcore 27 is ready (tid=91fff060;cpuset=[27])
EAL: lcore 28 is ready (tid=917ff060;cpuset=[28])
EAL: lcore 29 is ready (tid=90fff060;cpuset=[29])
EAL: lcore 30 is ready (tid=907ff060;cpuset=[30])
EAL: lcore 31 is ready (tid=73fff060;cpuset=[31])
main: Detect CPU freq 1200000000
main: Detect 32 CPU cores
main: Probe PCI ethernet devices.
main: Detect 2 Ethernet device
main: pid=2169_eth_dev_init: Init port 0 mbuf pool pkt_len=1986 nr_pkts=17536 cache=512_eth_dev_init: Init port 0 mbuf pool pkt_len=1730 nr_pkts=17536 cache=512 pool=0x0x1ff36e3f5c0 success._eth_dev_init: Configure port 0 nr_tx=1 nr_rx=1_eth_dev_init: Configure port 0 rxq=0 rxd=128
PMD: Allocate 128 iqueue descs.
PMD: Init mPIPE buffer stack size index 3_eth_dev_init: port 0: EE:D1:53:72:82:5A_eth_dev_init: Configure port 0 txq=0 txd=1024
PMD: Allocate one NotifRing for each queue. max=16
PMD: Allocate a NotifGroup.
PMD: Allocate 256 buckets.
PMD: Allocate 1 mPIPE buffer stack.
PMD:gxio_mpipe_register_page.
PMD: Register mPIPE page0x1fe40000000size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page0x1fe80000000size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page0x1fec0000000size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page0x1ff00000000size=1073741824, log2=30 must < 40 & > 12
PMD: xgbe1: Registered segment0x1fe40000000-0x1ff3fffffff
PMD: Allocate mPIPE buffer stack size=65536 341K bytes..
PMD: xgbe1: Buffer stack memory0x1ff36de0000-0x1ff36e3557f.
PMD: xgbe1: eDMA ring memory0x1ff36e3c000-0x1ff36e3dfff.
PMD: xgbe1: iDMA ring 0 memory0x1ff36e38000-0x1ff36e39fff.
PMD: xgbe1: Pushed mbuf0x1ff3a550080, buffer0x1ff3a550202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54f800, buffer0x1ff3a54f982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54ef80, buffer0x1ff3a54f102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54e700, buffer0x1ff3a54e882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54de80, buffer0x1ff3a54e002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54d600, buffer0x1ff3a54d782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54cd80, buffer0x1ff3a54cf02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54c500, buffer0x1ff3a54c682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54bc80, buffer0x1ff3a54be02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54b400, buffer0x1ff3a54b582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54ab80, buffer0x1ff3a54ad02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54a300, buffer0x1ff3a54a482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a549a80, buffer0x1ff3a549c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a549200, buffer0x1ff3a549382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a548980, buffer0x1ff3a548b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a548100, buffer0x1ff3a548282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a547880, buffer0x1ff3a547a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a547000, buffer0x1ff3a547182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a546780, buffer0x1ff3a546902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a545f00, buffer0x1ff3a546082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a545680, buffer0x1ff3a545802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a544e00, buffer0x1ff3a544f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a544580, buffer0x1ff3a544702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a543d00, buffer0x1ff3a543e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a543480, buffer0x1ff3a543602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a542c00, buffer0x1ff3a542d82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a542380, buffer0x1ff3a542502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a541b00, buffer0x1ff3a541c82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a541280, buffer0x1ff3a541402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a540a00, buffer0x1ff3a540b82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a540180, buffer0x1ff3a540302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53f900, buffer0x1ff3a53fa82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53f080, buffer0x1ff3a53f202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53e800, buffer0x1ff3a53e982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53df80, buffer0x1ff3a53e102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53d700, buffer0x1ff3a53d882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53ce80, buffer0x1ff3a53d002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53c600, buffer0x1ff3a53c782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53bd80, buffer0x1ff3a53bf02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53b500, buffer0x1ff3a53b682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53ac80, buffer0x1ff3a53ae02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53a400, buffer0x1ff3a53a582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a539b80, buffer0x1ff3a539d02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a539300, buffer0x1ff3a539482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a538a80, buffer0x1ff3a538c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a538200, buffer0x1ff3a538382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a537980, buffer0x1ff3a537b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a537100, buffer0x1ff3a537282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a536880, buffer0x1ff3a536a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a536000, buffer0x1ff3a536182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a535780, buffer0x1ff3a535902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a534f00, buffer0x1ff3a535082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a534680, buffer0x1ff3a534802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a533e00, buffer0x1ff3a533f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a533580, buffer0x1ff3a533702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a532d00, buffer0x1ff3a532e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a532480, buffer0x1ff3a532602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a531c00, buffer0x1ff3a531d82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a531380, buffer0x1ff3a531502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a530b00, buffer0x1ff3a530c82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a530280, buffer0x1ff3a530402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52fa00, buffer0x1ff3a52fb82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52f180, buffer0x1ff3a52f302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52e900, buffer0x1ff3a52ea82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52e080, buffer0x1ff3a52e202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52d800, buffer0x1ff3a52d982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52cf80, buffer0x1ff3a52d102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52c700, buffer0x1ff3a52c882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52be80, buffer0x1ff3a52c002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52b600, buffer0x1ff3a52b782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52ad80, buffer0x1ff3a52af02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52a500, buffer0x1ff3a52a682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a529c80, buffer0x1ff3a529e02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a529400, buffer0x1ff3a529582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a528b80, buffer0x1ff3a528d02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a528300, buffer0x1ff3a528482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a527a80, buffer0x1ff3a527c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a527200, buffer0x1ff3a527382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a526980, buffer0x1ff3a526b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a526100, buffer0x1ff3a526282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a525880, buffer0x1ff3a525a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a525000, buffer0x1ff3a525182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a524780, buffer0x1ff3a524902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a523f00, buffer0x1ff3a524082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a523680, buffer0x1ff3a523802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a522e00, buffer0x1ff3a522f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a522580, buffer0x1ff3a522702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a521d00, buffer0x1ff3a521e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a521480, buffer0x1ff3a521602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a520c00, buffer0x1ff3a520d82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a520380, buffer0x1ff3a520502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51fb00, buffer0x1ff3a51fc82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51f280, buffer0x1ff3a51f402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51ea00, buffer0x1ff3a51eb82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51e180, buffer0x1ff3a51e302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51d900, buffer0x1ff3a51da82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51d080, buffer0x1ff3a51d202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51c800, buffer0x1ff3a51c982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51bf80, buffer0x1ff3a51c102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51b700, buffer0x1ff3a51b882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51ae80, buffer0x1ff3a51b002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51a600, buffer0x1ff3a51a782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a519d80, buffer0x1ff3a519f02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a519500, buffer0x1ff3a519682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a518c80, buffer0x1ff3a518e02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a518400, buffer0x1ff3a518582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a517b80, buffer0x1ff3a517d02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a517300, buffer0x1ff3a517482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a516a80, buffer0x1ff3a516c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a516200, buffer0x1ff3a516382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a515980, buffer0x1ff3a515b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a515100, buffer0x1ff3a515282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a514880, buffer0x1ff3a514a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a514000, buffer0x1ff3a514182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a513780, buffer0x1ff3a513902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a512f00, buffer0x1ff3a513082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a512680, buffer0x1ff3a512802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a511e00, buffer0x1ff3a511f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a511580, buffer0x1ff3a511702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a510d00, buffer0x1ff3a510e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a510480, buffer0x1ff3a510602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50fc00, buffer0x1ff3a50fd82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50f380, buffer0x1ff3a50f502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50eb00, buffer0x1ff3a50ec82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50e280, buffer0x1ff3a50e402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50da00, buffer0x1ff3a50db82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50d180, buffer0x1ff3a50d302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50c900, buffer0x1ff3a50ca82into stack 2
PMD: xgbe1: Filled 128/128 buffers
PMD:rte_eth_dev_config_restore: port 0: MAC address array not supported
PMD:rte_eth_allmulticast_disable: Function not supported_eth_dev_init: start port 0 success._eth_dev_init: enable port 0 promiscuous.
main: Link Up - speed 10000 Mbps - full-duplex_tx_pkts_rand_init: Alloc 32 mbuf for port=0_tx_pkts_rand_init: Prebuild 32 mbuf for port=0_tx_pkts_rand_init: Prebuild 32 mbuf for port=0 done.
main: launch lcore 1_mbuf_random_tasktask port=0 txq=0_mbuf_random_task: Start mbuf rand task port=0 pool=0x0x1ff36e3f5c0_mbuf_random_task: Start mbuf rand task daddr=192.168.1.245 dport=80_mbuf_random_task: Core 1 Exit.._tx_rand_task: Start TX rand task port=0 txq=0 pkts_burst=32_wait_for_dev_link_up: TX rand task Core 2 port 0 Link is Up
PMD: Trying to transmit 32 packets on xgbe1:0.
main: launch lcore 2 tx task port=0 txq=0
PMD: xgbe1:0: Sending packet0x1ff3a50c200, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50b980, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50b100, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50a880, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50a000, len 62
PMD: xgbe1:0: Sending packet0x1ff3a509780, len 62
PMD: xgbe1:0: Sending packet0x1ff3a508f00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a508680, len 62
PMD: xgbe1:0: Sending packet0x1ff3a507e00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a507580, len 62
PMD: xgbe1:0: Sending packet0x1ff3a506d00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a506480, len 62
PMD: xgbe1:0: Sending packet0x1ff3a505c00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a505380, len 62
PMD: xgbe1:0: Sending packet0x1ff3a504b00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a504280, len 62
PMD: xgbe1:0: Sending packet0x1ff3a503a00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a503180, len 62
PMD: xgbe1:0: Sending packet0x1ff3a502900, len 62
PMD: xgbe1:0: Sending packet0x1ff3a502080, len 62
PMD: xgbe1:0: Sending packet0x1ff3a501800, len 62
PMD: xgbe1:0: Sending packet0x1ff3a500f80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a500700, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4ffe80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4ff600, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fed80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fe500, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fdc80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fd400, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fcb80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fc300, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fba80, len 62
PMD: Ask the mPIPE hardware to egress outstanding packets immediately.
PMD: Wait for mPIPE equeue slot 32 complete.Regards.
Arthas
------------------ Original ------------------
Quoted 7 lines
From: "Arthas";<[email protected]>; Date: Thu, Sep 24, 2015 01:38 PM To: "zlu"<[email protected]>; "dev"<[email protected]>; Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, Zhigang,
I checked error code and got a error information "(No more IOTLB
entries)." &
Quoted 4 lines
xmit function
gxio_mpipe_equeue_try_reserve_fastgot "Insufficient DMA credits"!Command: run ./testpmd -c
0xffffffff-m 6144 -n 1 -r 1 --vdev xgbe1 --
--rx=1
Quoted 78 lines
--tx=2 --forward-mode=txonly -a --port-topology=chained
gxio_mpipe_initinstance 0gxio_mpipe_initinstance 1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x80000000bytes
EAL: Virtual area found at0x1ff68000000(size =0x80000000)
EAL: Ask a virtual area of0xc000000bytes
EAL: Virtual area found at0x1ff5b000000(size =0xc000000)
EAL: Ask a virtual area of0xf4000000bytes
EAL: Virtual area found at0x1fe66000000(size =0xf4000000)
EAL: Requesting 384 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f94690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eaf3f060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea73f060;cpuset=[2])
EAL: lcore 3 is ready (tid=e9f3f060;cpuset=[3])
EAL: lcore 4 is ready (tid=e973f060;cpuset=[4])
EAL: lcore 5 is ready (tid=e8f3f060;cpuset=[5])
EAL: lcore 6 is ready (tid=67fff060;cpuset=[6])
EAL: lcore 7 is ready (tid=677ff060;cpuset=[7])
EAL: lcore 8 is ready (tid=5afff060;cpuset=[8])
EAL: lcore 9 is ready (tid=5a7ff060;cpuset=[9])
EAL: lcore 10 is ready (tid=65fff060;cpuset=[10])
EAL: lcore 11 is ready (tid=657ff060;cpuset=[11])
EAL: lcore 12 is ready (tid=64fff060;cpuset=[12])
EAL: lcore 13 is ready (tid=647ff060;cpuset=[13])
EAL: lcore 14 is ready (tid=3ffff060;cpuset=[14])
EAL: lcore 15 is ready (tid=3f7ff060;cpuset=[15])
EAL: lcore 16 is ready (tid=3efff060;cpuset=[16])
EAL: lcore 17 is ready (tid=3e7ff060;cpuset=[17])
EAL: lcore 18 is ready (tid=3dfff060;cpuset=[18])
EAL: lcore 19 is ready (tid=3d7ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=3cfff060;cpuset=[20])
EAL: lcore 21 is ready (tid=3c7ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=1bfff060;cpuset=[22])
EAL: lcore 23 is ready (tid=1b7ff060;cpuset=[23])
Quoted 8 lines
EAL: lcore 24 is ready (tid=1afff060;cpuset=[24])
EAL: lcore 25 is ready (tid=1a7ff060;cpuset=[25])
EAL: lcore 26 is ready (tid=19fff060;cpuset=[26])
EAL: lcore 27 is ready (tid=197ff060;cpuset=[27])
EAL: lcore 28 is ready (tid=18fff060;cpuset=[28])
EAL: lcore 29 is ready (tid=187ff060;cpuset=[29])
EAL: lcore 30 is ready (tid=f7fff060;cpuset=[30])
EAL: lcore 31 is ready (tid=f77ff060;cpuset=[31]) Set txonly packet
forwarding
Quoted 6 lines
mode Auto-start selected Configuring Port 0 (socket 0)
PMD: xgbe1: Could not register memseg @0x1ff68000000, -1111(No more IOTLB entries).
PMD: xgbe1: Could not register memseg @0x1ff5b000000, -1111(No more IOTLB entries).
PMD: xgbe1: Could not register memseg @0x1fe66000000, -1111(No more
Quoted 8 lines
IOTLB entries).
PMD: xgbe1: Buffer stack memory0x1ff63780000-0x1ff637d557f.
PMD: xgbe1: eDMA ring memory0x1ff637d8000-0x1ff637d9fff.
PMD: xgbe1: iDMA ring 0 memory0x1ff6377c000-0x1ff6377dfff.
PMD:rte_eth_dev_config_restore: port 0: MAC address array not supported
PMD:rte_eth_allmulticast_disable: Function not supported Port 0:
EE:D1:53:72:82:5A Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex Done No commandline core
given,
Quoted 108 lines
start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exitCommand: run cat /proc/meminfo MemTotal: 8230464 kB MemFree: 1765120 kB Buffers: 0 kB Cached: 42432 kB SwapCached: 0 kB Active: 27776 kB Inactive: 8448 kB Active(anon): 27776 kB Inactive(anon): 8448 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 0 kB Mapped: 3008 kB Shmem: 17856 kB Slab: 17984 kB SReclaimable: 1280 kB SUnreclaim: 16704 kB KernelStack: 11456 kB PageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 969472 kB Committed_AS: 41280 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 50816 kB HugePages_Total: 384 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 16384 kB------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Thu, Sep 24, 2015 11:47 AM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Zhigang
I used "--hvx hugepagesz=16m --hvx hugepages=256", but testpmd still not
work and exit.Command: run cat /proc/meminfo MemTotal: 8230464 kB MemFree: 3872576 kB Buffers: 0 kB Cached: 12480 kB SwapCached: 0 kB Active: 11200 kB Inactive: 5888 kB Active(anon): 11200 kB Inactive(anon): 5888 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 4736 kB Mapped: 3072 kB Shmem: 12480 kB Slab: 16256 kB SReclaimable: 768 kB SUnreclaim: 15488 kB KernelStack: 11648 kB PageTables: 4096 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2018048 kB Committed_AS: 19328 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 37184 kB HugePages_Total: 256 HugePages_Free: 256 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 16384 kB
Quoted 1 line
Command: run ./testpmd -c
0xffffffff-m 2048 -n 1 -r 1 --vdev xgbe1 --
--rx=1
Quoted 75 lines
--tx=2 --forward-mode=txonly -a --port-topology=chained
gxio_mpipe_initinstance 0gxio_mpipe_initinstance 1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0xc000000bytes
EAL: Virtual area found at0x1ffdb000000(size =0xc000000)
EAL: Ask a virtual area of0xf4000000bytes
EAL: Virtual area found at0x1fee6000000(size =0xf4000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f04690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eafaf060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea7af060;cpuset=[2])
EAL: lcore 3 is ready (tid=e9faf060;cpuset=[3])
EAL: lcore 4 is ready (tid=e97af060;cpuset=[4])
EAL: lcore 5 is ready (tid=e8faf060;cpuset=[5])
EAL: lcore 6 is ready (tid=e87af060;cpuset=[6])
EAL: lcore 7 is ready (tid=e7faf060;cpuset=[7])
EAL: lcore 8 is ready (tid=dafff060;cpuset=[8])
EAL: lcore 9 is ready (tid=da7ff060;cpuset=[9])
EAL: lcore 10 is ready (tid=d9fff060;cpuset=[10])
EAL: lcore 11 is ready (tid=d97ff060;cpuset=[11])
EAL: lcore 12 is ready (tid=d8fff060;cpuset=[12])
EAL: lcore 14 is ready (tid=b3fff060;cpuset=[14])
EAL: lcore 13 is ready (tid=d87ff060;cpuset=[13])
EAL: lcore 15 is ready (tid=b37ff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b2fff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b27ff060;cpuset=[17])
EAL: lcore 18 is ready (tid=b1fff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b17ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=b0fff060;cpuset=[20])
EAL: lcore 21 is ready (tid=b07ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=8ffff060;cpuset=[22])
EAL: lcore 23 is ready (tid=8f7ff060;cpuset=[23])
Quoted 8 lines
EAL: lcore 24 is ready (tid=8efff060;cpuset=[24])
EAL: lcore 25 is ready (tid=8e7ff060;cpuset=[25])
EAL: lcore 26 is ready (tid=8dfff060;cpuset=[26])
EAL: lcore 27 is ready (tid=8d7ff060;cpuset=[27])
EAL: lcore 28 is ready (tid=8cfff060;cpuset=[28])
EAL: lcore 29 is ready (tid=8c7ff060;cpuset=[29])
EAL: lcore 30 is ready (tid=6bfff060;cpuset=[30])
EAL: lcore 31 is ready (tid=6b7ff060;cpuset=[31]) Set txonly packet
forwarding
Quoted 9 lines
mode Auto-start selected Configuring Port 0 (socket 0)
PMD: xgbe1: Registered segment0x1ffdb000000-0x1ffe6ffffff
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Buffer stack memory0x1ffe3780000-0x1ffe37d557f.
PMD: xgbe1: eDMA ring memory0x1ffe37d8000-0x1ffe37d9fff.
PMD: xgbe1: iDMA ring 0 memory0x1ffe377c000-0x1ffe377dfff. Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex Done No commandline core
given,
Quoted 28 lines
start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exitRegards,
Arthas------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Thu, Sep 24, 2015 09:47 AM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Quoted 38 lines
Seems like something wrong with memseg, could you try with " --hvx hugepagesz=1G --hvx hugepages=4" to boot Gx card? This helps reserve hugepages for DPDK, and check there are still such errors.
With regard to MDE-4.3.3, please contact your local tech support.
Thanks
-ZhigangQuoted 29 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Arthas
Sent: Wednesday, September 23, 2015 11:56 PM
To: zlu; dev
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, ZhiGang,
Can you tell me where can download TileraMDE-4.3.3 package? My
tilegx tech supporter only send me TileraMDE-4.2.4 version! :)Thanks,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:41 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, ZhiGang
I checked source code and debug it , found dpdk functionrte_eth_tx_burstwith tilegx return 0 and no other error. Can I contact
you
Quoted 214 lines
directly?
Quoted 14 lines
Regards,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:35 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Quoted 6 lines
Hi, ZhiGang
My tilegx boot parameter is "tile-monitor --dev gxpci${1}
--hv-bin-dir /tilegx/tile/hv-bin-dir424/ --hvx dataplane=1-64". and testpmd start parameter is
tile-monitor --dev gxpci0 --resume --upload testpmd testpmd --run
-+- ./testpmd -c0xffffffff-m 2048 -n 1 -r 1 --vdev xgbe1 -- --rx=1--tx=2
Quoted 115 lines
--forward-mode=txonly -a --port-topology=chained -+-
but xgbe1 can't xmit any packet.
This is my run log:EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: No free hugepages reported in hugepages-1024kB
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x16000000bytes
EAL: Virtual area found at0x1ffd1000000(size =0x16000000)
EAL: Ask a virtual area of0x90000000bytes
EAL: Virtual area found at0x1ff40000000(size =0x90000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1ff3d000000(size =0x2000000)
EAL: Ask a virtual area of0x10000000bytes
EAL: Virtual area found at0x1ff2c000000(size =0x10000000)
EAL: Ask a virtual area of0x46000000bytes
EAL: Virtual area found at0x1fee5000000(size =0x46000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1fee2000000(size =0x2000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7fa4690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eb04f060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea84f060;cpuset=[2])
EAL: lcore 3 is ready (tid=ea04f060;cpuset=[3])
EAL: lcore 4 is ready (tid=e984f060;cpuset=[4])
EAL: lcore 5 is ready (tid=d0fff060;cpuset=[5])
EAL: lcore 6 is ready (tid=d07ff060;cpuset=[6])
EAL: lcore 7 is ready (tid=e904f060;cpuset=[7])
EAL: lcore 8 is ready (tid=e884f060;cpuset=[8])
EAL: lcore 9 is ready (tid=e804f060;cpuset=[9])
EAL: lcore 10 is ready (tid=e784f060;cpuset=[10])
EAL: lcore 11 is ready (tid=b3fff060;cpuset=[11])
EAL: lcore 12 is ready (tid=b37ff060;cpuset=[12])
EAL: lcore 13 is ready (tid=b2fff060;cpuset=[13])
EAL: lcore 14 is ready (tid=b27ff060;cpuset=[14])
EAL: lcore 15 is ready (tid=b1fff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b17ff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b0fff060;cpuset=[17])
EAL: lcore 18 is ready (tid=2ffff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b07ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=abfff060;cpuset=[20])
EAL: lcore 21 is ready (tid=ab7ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=aafff060;cpuset=[22])
EAL: lcore 23 is ready (tid=aa7ff060;cpuset=[23])
EAL: lcore 24 is ready (tid=2f7ff060;cpuset=[24])
EAL: lcore 25 is ready (tid=2efff060;cpuset=[25])
EAL: lcore 26 is ready (tid=2e7ff060;cpuset=[26])
EAL: lcore 27 is ready (tid=2dfff060;cpuset=[27])
EAL: lcore 28 is ready (tid=2d7ff060;cpuset=[28])
EAL: lcore 29 is ready (tid=2cfff060;cpuset=[29])
EAL: lcore 30 is ready (tid=2c7ff060;cpuset=[30])
EAL: lcore 31 is ready (tid=f3fff060;cpuset=[31]) Set txonly packet forwarding mode Auto-start selected Configuring Port 0 (socket 0)
PMD: xgbe1: Could not register memseg @0x1ffd1000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff40000000, -1111.
PMD: xgbe1: Buffer stack memory0x1ffd1c30000-0x1ffd1c8557f.
PMD: xgbe1: eDMA ring memory0x1ffd1c8a000-0x1ffd1c8bfff.
PMD: xgbe1: iDMA ring 0 memory0x1ffd1c86000-0x1ffd1c87fff. Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex Done No commandline core given, start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0 Press enter to exitQuoted 6 lines
and another tilegx card output:
Command: run mpipe-stat xgbe1
Link Tx pkt Tx bits Rx pkt Rx bits Tx err
Rx err
-----------------------------------------------------------------------
---------
Quoted 70 lines
xgbe1 0 0 0 0
0 0Regards, Arthas
------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Wed, Sep 23, 2015 03:34 PM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;Subject: RE: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Does testpmd run OK, and what is boot parameter you used to boot Tile-Gx?
Quoted 24 lines
-----Original Message-----
From: Arthas [mailto:[email protected]]
Sent: Wednesday, September 23, 2015 1:21 PM
To: dev
Cc: zlu
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597and I wrote a sample RX example, got an other information.
PMD: xgbe1: Could not register memseg @0x1ffd2000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff41000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff3e000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff2d000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee3000000, -1111.
PMD: xgbe1: Buffer stack memory0x1fee4b90000-0x1fee4be557f.
PMD: xgbe1: eDMA ring memory0x1fee4bf0000-0x1fee4bf1fff.
PMD: xgbe1: iDMA ring 0 memory0x1fee4bec000-0x1fee4bedfff.Regards, Arthas
Quoted 8 lines
------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 01:17 PM To: "dev"<[email protected]>; Subject: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, I'm working on tilegx platform. and I wrote a sample dpdk trafgen for
tilegx.
Quoted 16 lines
But I got a error with
rte_mbufrte_pktmbuf_append.PANIC in
rte_mbuf_sanity_check():
bad phys addr
7: [/trafgen(_start+0x70) [0x100b308]]
6: [/lib/libc.so.6(__libc_start_main+0x200) [0x1fff7a6e4c8]] 5: [/trafgen(main+0x2148) [0x1017b78]]
4: [/trafgen(rte_pktmbuf_dump+0x58) [0x102c7a8]] 3: [/trafgen(rte_mbuf_sanity_check+0x1a8) [0x102c700]] 2: [/trafgen(__rte_panic+0xc0) [0x1091e80]]
1: [/trafgen(rte_dump_stack+0x40) [0x104cf00]]DPDK compiled with
CONFIG_RTE_LIBRTE_MBUF_DEBUG=y!Regards, Arthas
Hi, Zhigang.
and testpmd also can't send any packet success.
Regards,
Arthas
------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Sat, Sep 26, 2015 10:48 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Zhigang,
Thanks, I use mPIPE api can receive & send packets. but DPDK v2.1.0 with gx can't send & receive any packet. I guess hv layer dosn't see any memory pages and register change, so any edesc can't be reclaimed. Now I waiting for our tech supporter release MDE 4.3.3.
Regards,
Arthas
------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Fri, Sep 25, 2015 10:44 PM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;
Subject: RE: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
I don't see the failed messages in your log, so that can't give you useful guidance.
Are you running testpmd or your own apps? Can you generate some packets on another GX, and check if the dpdk can receive packets with testpmd.
Overall, I recommend you to run our latest MDE, as that's we usually runs with DPDK, so that we can reproduce you case.
Thanks
-Zhigang
Quoted 50 lines
-----Original Message-----
From: Arthas [mailto:[email protected]]
Sent: Friday, September 25, 2015 12:38 PM
To: zlu; dev
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, Zhigang,
I fixed register memseg error, butgxio_mpipe_equeue_put_atsend packet
still failed.Command: run cat /proc/meminfo MemTotal: 8230016 kB MemFree: 3866688 kB Buffers: 0 kB Cached: 16576 kB SwapCached: 0 kB Active: 11392 kB Inactive: 9088 kB Active(anon): 11392 kB Inactive(anon): 9088 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 0 kB Mapped: 3072 kB Shmem: 16320 kB Slab: 17024 kB SReclaimable: 768 kB SUnreclaim: 16256 kB KernelStack: 11456 kB PageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2017856 kB Committed_AS: 22976 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 46144 kB HugePages_Total: 4 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 1048576 kB
Quoted 1 line
_init_dpdk_eal_params: -c0xffffffff-m 4096 -r 1 -n 1 --log-level 8
--vdev xgbe1
Quoted 298 lines
--vdev xgbe2 --log-level 8 --no-hpet
main:rte_eal_init.
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x100000000bytes
EAL: Virtual area found at0x1fe40000000(size =0x100000000)
EAL: Requesting 4 pages of size 1024MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f34690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
PMD: mpipe init xgbe2
PMD: xgbe2: Initialized mpipe device(mac ee:d1:53:72:82:5b).
EAL: lcore 1 is ready (tid=eb1df060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea9df060;cpuset=[2])
EAL: lcore 3 is ready (tid=ea1df060;cpuset=[3])
EAL: lcore 4 is ready (tid=e99df060;cpuset=[4])
EAL: lcore 5 is ready (tid=e91df060;cpuset=[5])
EAL: lcore 6 is ready (tid=e89df060;cpuset=[6])
EAL: lcore 7 is ready (tid=dbfff060;cpuset=[7])
EAL: lcore 8 is ready (tid=db7ff060;cpuset=[8])
EAL: lcore 9 is ready (tid=dafff060;cpuset=[9])
EAL: lcore 10 is ready (tid=da7ff060;cpuset=[10])
EAL: lcore 11 is ready (tid=d9fff060;cpuset=[11])
EAL: lcore 12 is ready (tid=d97ff060;cpuset=[12])
EAL: lcore 13 is ready (tid=d8fff060;cpuset=[13])
EAL: lcore 15 is ready (tid=bbfff060;cpuset=[15])
EAL: lcore 14 is ready (tid=d87ff060;cpuset=[14])
EAL: lcore 16 is ready (tid=bb7ff060;cpuset=[16])
EAL: lcore 17 is ready (tid=bafff060;cpuset=[17])
EAL: lcore 18 is ready (tid=ba7ff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b9fff060;cpuset=[19])
EAL: lcore 20 is ready (tid=b97ff060;cpuset=[20])
EAL: lcore 21 is ready (tid=b8fff060;cpuset=[21])
EAL: lcore 22 is ready (tid=b87ff060;cpuset=[22])
EAL: lcore 23 is ready (tid=93fff060;cpuset=[23])
EAL: lcore 24 is ready (tid=937ff060;cpuset=[24])
EAL: lcore 25 is ready (tid=92fff060;cpuset=[25])
EAL: lcore 26 is ready (tid=927ff060;cpuset=[26])
EAL: lcore 27 is ready (tid=91fff060;cpuset=[27])
EAL: lcore 28 is ready (tid=917ff060;cpuset=[28])
EAL: lcore 29 is ready (tid=90fff060;cpuset=[29])
EAL: lcore 30 is ready (tid=907ff060;cpuset=[30])
EAL: lcore 31 is ready (tid=73fff060;cpuset=[31])
main: Detect CPU freq 1200000000
main: Detect 32 CPU cores
main: Probe PCI ethernet devices.
main: Detect 2 Ethernet device
main: pid=2169_eth_dev_init: Init port 0 mbuf pool pkt_len=1986 nr_pkts=17536 cache=512_eth_dev_init: Init port 0 mbuf pool pkt_len=1730 nr_pkts=17536 cache=512 pool=0x0x1ff36e3f5c0 success._eth_dev_init: Configure port 0 nr_tx=1 nr_rx=1_eth_dev_init: Configure port 0 rxq=0 rxd=128
PMD: Allocate 128 iqueue descs.
PMD: Init mPIPE buffer stack size index 3_eth_dev_init: port 0: EE:D1:53:72:82:5A_eth_dev_init: Configure port 0 txq=0 txd=1024
PMD: Allocate one NotifRing for each queue. max=16
PMD: Allocate a NotifGroup.
PMD: Allocate 256 buckets.
PMD: Allocate 1 mPIPE buffer stack.
PMD:gxio_mpipe_register_page.
PMD: Register mPIPE page0x1fe40000000size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page0x1fe80000000size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page0x1fec0000000size=1073741824, log2=30 must < 40 & > 12
PMD: Register mPIPE page0x1ff00000000size=1073741824, log2=30 must < 40 & > 12
PMD: xgbe1: Registered segment0x1fe40000000-0x1ff3fffffff
PMD: Allocate mPIPE buffer stack size=65536 341K bytes..
PMD: xgbe1: Buffer stack memory0x1ff36de0000-0x1ff36e3557f.
PMD: xgbe1: eDMA ring memory0x1ff36e3c000-0x1ff36e3dfff.
PMD: xgbe1: iDMA ring 0 memory0x1ff36e38000-0x1ff36e39fff.
PMD: xgbe1: Pushed mbuf0x1ff3a550080, buffer0x1ff3a550202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54f800, buffer0x1ff3a54f982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54ef80, buffer0x1ff3a54f102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54e700, buffer0x1ff3a54e882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54de80, buffer0x1ff3a54e002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54d600, buffer0x1ff3a54d782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54cd80, buffer0x1ff3a54cf02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54c500, buffer0x1ff3a54c682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54bc80, buffer0x1ff3a54be02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54b400, buffer0x1ff3a54b582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54ab80, buffer0x1ff3a54ad02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a54a300, buffer0x1ff3a54a482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a549a80, buffer0x1ff3a549c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a549200, buffer0x1ff3a549382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a548980, buffer0x1ff3a548b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a548100, buffer0x1ff3a548282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a547880, buffer0x1ff3a547a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a547000, buffer0x1ff3a547182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a546780, buffer0x1ff3a546902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a545f00, buffer0x1ff3a546082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a545680, buffer0x1ff3a545802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a544e00, buffer0x1ff3a544f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a544580, buffer0x1ff3a544702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a543d00, buffer0x1ff3a543e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a543480, buffer0x1ff3a543602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a542c00, buffer0x1ff3a542d82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a542380, buffer0x1ff3a542502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a541b00, buffer0x1ff3a541c82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a541280, buffer0x1ff3a541402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a540a00, buffer0x1ff3a540b82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a540180, buffer0x1ff3a540302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53f900, buffer0x1ff3a53fa82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53f080, buffer0x1ff3a53f202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53e800, buffer0x1ff3a53e982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53df80, buffer0x1ff3a53e102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53d700, buffer0x1ff3a53d882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53ce80, buffer0x1ff3a53d002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53c600, buffer0x1ff3a53c782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53bd80, buffer0x1ff3a53bf02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53b500, buffer0x1ff3a53b682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53ac80, buffer0x1ff3a53ae02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a53a400, buffer0x1ff3a53a582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a539b80, buffer0x1ff3a539d02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a539300, buffer0x1ff3a539482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a538a80, buffer0x1ff3a538c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a538200, buffer0x1ff3a538382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a537980, buffer0x1ff3a537b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a537100, buffer0x1ff3a537282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a536880, buffer0x1ff3a536a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a536000, buffer0x1ff3a536182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a535780, buffer0x1ff3a535902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a534f00, buffer0x1ff3a535082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a534680, buffer0x1ff3a534802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a533e00, buffer0x1ff3a533f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a533580, buffer0x1ff3a533702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a532d00, buffer0x1ff3a532e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a532480, buffer0x1ff3a532602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a531c00, buffer0x1ff3a531d82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a531380, buffer0x1ff3a531502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a530b00, buffer0x1ff3a530c82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a530280, buffer0x1ff3a530402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52fa00, buffer0x1ff3a52fb82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52f180, buffer0x1ff3a52f302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52e900, buffer0x1ff3a52ea82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52e080, buffer0x1ff3a52e202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52d800, buffer0x1ff3a52d982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52cf80, buffer0x1ff3a52d102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52c700, buffer0x1ff3a52c882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52be80, buffer0x1ff3a52c002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52b600, buffer0x1ff3a52b782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52ad80, buffer0x1ff3a52af02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a52a500, buffer0x1ff3a52a682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a529c80, buffer0x1ff3a529e02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a529400, buffer0x1ff3a529582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a528b80, buffer0x1ff3a528d02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a528300, buffer0x1ff3a528482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a527a80, buffer0x1ff3a527c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a527200, buffer0x1ff3a527382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a526980, buffer0x1ff3a526b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a526100, buffer0x1ff3a526282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a525880, buffer0x1ff3a525a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a525000, buffer0x1ff3a525182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a524780, buffer0x1ff3a524902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a523f00, buffer0x1ff3a524082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a523680, buffer0x1ff3a523802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a522e00, buffer0x1ff3a522f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a522580, buffer0x1ff3a522702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a521d00, buffer0x1ff3a521e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a521480, buffer0x1ff3a521602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a520c00, buffer0x1ff3a520d82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a520380, buffer0x1ff3a520502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51fb00, buffer0x1ff3a51fc82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51f280, buffer0x1ff3a51f402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51ea00, buffer0x1ff3a51eb82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51e180, buffer0x1ff3a51e302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51d900, buffer0x1ff3a51da82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51d080, buffer0x1ff3a51d202into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51c800, buffer0x1ff3a51c982into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51bf80, buffer0x1ff3a51c102into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51b700, buffer0x1ff3a51b882into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51ae80, buffer0x1ff3a51b002into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a51a600, buffer0x1ff3a51a782into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a519d80, buffer0x1ff3a519f02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a519500, buffer0x1ff3a519682into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a518c80, buffer0x1ff3a518e02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a518400, buffer0x1ff3a518582into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a517b80, buffer0x1ff3a517d02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a517300, buffer0x1ff3a517482into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a516a80, buffer0x1ff3a516c02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a516200, buffer0x1ff3a516382into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a515980, buffer0x1ff3a515b02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a515100, buffer0x1ff3a515282into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a514880, buffer0x1ff3a514a02into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a514000, buffer0x1ff3a514182into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a513780, buffer0x1ff3a513902into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a512f00, buffer0x1ff3a513082into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a512680, buffer0x1ff3a512802into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a511e00, buffer0x1ff3a511f82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a511580, buffer0x1ff3a511702into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a510d00, buffer0x1ff3a510e82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a510480, buffer0x1ff3a510602into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50fc00, buffer0x1ff3a50fd82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50f380, buffer0x1ff3a50f502into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50eb00, buffer0x1ff3a50ec82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50e280, buffer0x1ff3a50e402into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50da00, buffer0x1ff3a50db82into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50d180, buffer0x1ff3a50d302into stack 2
PMD: xgbe1: Pushed mbuf0x1ff3a50c900, buffer0x1ff3a50ca82into stack 2
PMD: xgbe1: Filled 128/128 buffers
PMD:rte_eth_dev_config_restore: port 0: MAC address array not supported
PMD:rte_eth_allmulticast_disable: Function not supported_eth_dev_init: start port 0 success._eth_dev_init: enable port 0 promiscuous.
main: Link Up - speed 10000 Mbps - full-duplex_tx_pkts_rand_init: Alloc 32 mbuf for port=0_tx_pkts_rand_init: Prebuild 32 mbuf for port=0_tx_pkts_rand_init: Prebuild 32 mbuf for port=0 done.
main: launch lcore 1_mbuf_random_tasktask port=0 txq=0_mbuf_random_task: Start mbuf rand task port=0 pool=0x0x1ff36e3f5c0_mbuf_random_task: Start mbuf rand task daddr=192.168.1.245 dport=80_mbuf_random_task: Core 1 Exit.._tx_rand_task: Start TX rand task port=0 txq=0 pkts_burst=32_wait_for_dev_link_up: TX rand task Core 2 port 0 Link is Up
PMD: Trying to transmit 32 packets on xgbe1:0.
main: launch lcore 2 tx task port=0 txq=0
PMD: xgbe1:0: Sending packet0x1ff3a50c200, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50b980, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50b100, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50a880, len 62
PMD: xgbe1:0: Sending packet0x1ff3a50a000, len 62
PMD: xgbe1:0: Sending packet0x1ff3a509780, len 62
PMD: xgbe1:0: Sending packet0x1ff3a508f00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a508680, len 62
PMD: xgbe1:0: Sending packet0x1ff3a507e00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a507580, len 62
PMD: xgbe1:0: Sending packet0x1ff3a506d00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a506480, len 62
PMD: xgbe1:0: Sending packet0x1ff3a505c00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a505380, len 62
PMD: xgbe1:0: Sending packet0x1ff3a504b00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a504280, len 62
PMD: xgbe1:0: Sending packet0x1ff3a503a00, len 62
PMD: xgbe1:0: Sending packet0x1ff3a503180, len 62
PMD: xgbe1:0: Sending packet0x1ff3a502900, len 62
PMD: xgbe1:0: Sending packet0x1ff3a502080, len 62
PMD: xgbe1:0: Sending packet0x1ff3a501800, len 62
PMD: xgbe1:0: Sending packet0x1ff3a500f80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a500700, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4ffe80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4ff600, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fed80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fe500, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fdc80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fd400, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fcb80, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fc300, len 62
PMD: xgbe1:0: Sending packet0x1ff3a4fba80, len 62
PMD: Ask the mPIPE hardware to egress outstanding packets immediately.
PMD: Wait for mPIPE equeue slot 32 complete.Regards.
Arthas
------------------ Original ------------------
Quoted 7 lines
From: "Arthas";<[email protected]>; Date: Thu, Sep 24, 2015 01:38 PM To: "zlu"<[email protected]>; "dev"<[email protected]>; Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, Zhigang,
I checked error code and got a error information "(No more IOTLB
entries)." &
Quoted 4 lines
xmit function
gxio_mpipe_equeue_try_reserve_fastgot "Insufficient DMA credits"!Command: run ./testpmd -c
0xffffffff-m 6144 -n 1 -r 1 --vdev xgbe1 --
--rx=1
Quoted 78 lines
--tx=2 --forward-mode=txonly -a --port-topology=chained
gxio_mpipe_initinstance 0gxio_mpipe_initinstance 1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x80000000bytes
EAL: Virtual area found at0x1ff68000000(size =0x80000000)
EAL: Ask a virtual area of0xc000000bytes
EAL: Virtual area found at0x1ff5b000000(size =0xc000000)
EAL: Ask a virtual area of0xf4000000bytes
EAL: Virtual area found at0x1fe66000000(size =0xf4000000)
EAL: Requesting 384 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f94690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eaf3f060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea73f060;cpuset=[2])
EAL: lcore 3 is ready (tid=e9f3f060;cpuset=[3])
EAL: lcore 4 is ready (tid=e973f060;cpuset=[4])
EAL: lcore 5 is ready (tid=e8f3f060;cpuset=[5])
EAL: lcore 6 is ready (tid=67fff060;cpuset=[6])
EAL: lcore 7 is ready (tid=677ff060;cpuset=[7])
EAL: lcore 8 is ready (tid=5afff060;cpuset=[8])
EAL: lcore 9 is ready (tid=5a7ff060;cpuset=[9])
EAL: lcore 10 is ready (tid=65fff060;cpuset=[10])
EAL: lcore 11 is ready (tid=657ff060;cpuset=[11])
EAL: lcore 12 is ready (tid=64fff060;cpuset=[12])
EAL: lcore 13 is ready (tid=647ff060;cpuset=[13])
EAL: lcore 14 is ready (tid=3ffff060;cpuset=[14])
EAL: lcore 15 is ready (tid=3f7ff060;cpuset=[15])
EAL: lcore 16 is ready (tid=3efff060;cpuset=[16])
EAL: lcore 17 is ready (tid=3e7ff060;cpuset=[17])
EAL: lcore 18 is ready (tid=3dfff060;cpuset=[18])
EAL: lcore 19 is ready (tid=3d7ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=3cfff060;cpuset=[20])
EAL: lcore 21 is ready (tid=3c7ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=1bfff060;cpuset=[22])
EAL: lcore 23 is ready (tid=1b7ff060;cpuset=[23])
Quoted 8 lines
EAL: lcore 24 is ready (tid=1afff060;cpuset=[24])
EAL: lcore 25 is ready (tid=1a7ff060;cpuset=[25])
EAL: lcore 26 is ready (tid=19fff060;cpuset=[26])
EAL: lcore 27 is ready (tid=197ff060;cpuset=[27])
EAL: lcore 28 is ready (tid=18fff060;cpuset=[28])
EAL: lcore 29 is ready (tid=187ff060;cpuset=[29])
EAL: lcore 30 is ready (tid=f7fff060;cpuset=[30])
EAL: lcore 31 is ready (tid=f77ff060;cpuset=[31]) Set txonly packet
forwarding
Quoted 6 lines
mode Auto-start selected Configuring Port 0 (socket 0)
PMD: xgbe1: Could not register memseg @0x1ff68000000, -1111(No more IOTLB entries).
PMD: xgbe1: Could not register memseg @0x1ff5b000000, -1111(No more IOTLB entries).
PMD: xgbe1: Could not register memseg @0x1fe66000000, -1111(No more
Quoted 8 lines
IOTLB entries).
PMD: xgbe1: Buffer stack memory0x1ff63780000-0x1ff637d557f.
PMD: xgbe1: eDMA ring memory0x1ff637d8000-0x1ff637d9fff.
PMD: xgbe1: iDMA ring 0 memory0x1ff6377c000-0x1ff6377dfff.
PMD:rte_eth_dev_config_restore: port 0: MAC address array not supported
PMD:rte_eth_allmulticast_disable: Function not supported Port 0:
EE:D1:53:72:82:5A Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex Done No commandline core
given,
Quoted 108 lines
start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exitCommand: run cat /proc/meminfo MemTotal: 8230464 kB MemFree: 1765120 kB Buffers: 0 kB Cached: 42432 kB SwapCached: 0 kB Active: 27776 kB Inactive: 8448 kB Active(anon): 27776 kB Inactive(anon): 8448 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 0 kB Mapped: 3008 kB Shmem: 17856 kB Slab: 17984 kB SReclaimable: 1280 kB SUnreclaim: 16704 kB KernelStack: 11456 kB PageTables: 0 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 969472 kB Committed_AS: 41280 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 50816 kB HugePages_Total: 384 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 16384 kB------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Thu, Sep 24, 2015 11:47 AM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Zhigang
I used "--hvx hugepagesz=16m --hvx hugepages=256", but testpmd still not
work and exit.Command: run cat /proc/meminfo MemTotal: 8230464 kB MemFree: 3872576 kB Buffers: 0 kB Cached: 12480 kB SwapCached: 0 kB Active: 11200 kB Inactive: 5888 kB Active(anon): 11200 kB Inactive(anon): 5888 kB Active(file): 0 kB Inactive(file): 0 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 4736 kB Mapped: 3072 kB Shmem: 12480 kB Slab: 16256 kB SReclaimable: 768 kB SUnreclaim: 15488 kB KernelStack: 11648 kB PageTables: 4096 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 2018048 kB Committed_AS: 19328 kB VmallocTotal: 4194304 kB VmallocUsed: 224704 kB VmallocChunk: 3964864 kB Sequestered: 37184 kB HugePages_Total: 256 HugePages_Free: 256 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 16384 kB
Quoted 1 line
Command: run ./testpmd -c
0xffffffff-m 2048 -n 1 -r 1 --vdev xgbe1 --
--rx=1
Quoted 75 lines
--tx=2 --forward-mode=txonly -a --port-topology=chained
gxio_mpipe_initinstance 0gxio_mpipe_initinstance 1
EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0xc000000bytes
EAL: Virtual area found at0x1ffdb000000(size =0xc000000)
EAL: Ask a virtual area of0xf4000000bytes
EAL: Virtual area found at0x1fee6000000(size =0xf4000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7f04690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eafaf060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea7af060;cpuset=[2])
EAL: lcore 3 is ready (tid=e9faf060;cpuset=[3])
EAL: lcore 4 is ready (tid=e97af060;cpuset=[4])
EAL: lcore 5 is ready (tid=e8faf060;cpuset=[5])
EAL: lcore 6 is ready (tid=e87af060;cpuset=[6])
EAL: lcore 7 is ready (tid=e7faf060;cpuset=[7])
EAL: lcore 8 is ready (tid=dafff060;cpuset=[8])
EAL: lcore 9 is ready (tid=da7ff060;cpuset=[9])
EAL: lcore 10 is ready (tid=d9fff060;cpuset=[10])
EAL: lcore 11 is ready (tid=d97ff060;cpuset=[11])
EAL: lcore 12 is ready (tid=d8fff060;cpuset=[12])
EAL: lcore 14 is ready (tid=b3fff060;cpuset=[14])
EAL: lcore 13 is ready (tid=d87ff060;cpuset=[13])
EAL: lcore 15 is ready (tid=b37ff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b2fff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b27ff060;cpuset=[17])
EAL: lcore 18 is ready (tid=b1fff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b17ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=b0fff060;cpuset=[20])
EAL: lcore 21 is ready (tid=b07ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=8ffff060;cpuset=[22])
EAL: lcore 23 is ready (tid=8f7ff060;cpuset=[23])
Quoted 8 lines
EAL: lcore 24 is ready (tid=8efff060;cpuset=[24])
EAL: lcore 25 is ready (tid=8e7ff060;cpuset=[25])
EAL: lcore 26 is ready (tid=8dfff060;cpuset=[26])
EAL: lcore 27 is ready (tid=8d7ff060;cpuset=[27])
EAL: lcore 28 is ready (tid=8cfff060;cpuset=[28])
EAL: lcore 29 is ready (tid=8c7ff060;cpuset=[29])
EAL: lcore 30 is ready (tid=6bfff060;cpuset=[30])
EAL: lcore 31 is ready (tid=6b7ff060;cpuset=[31]) Set txonly packet
forwarding
Quoted 9 lines
mode Auto-start selected Configuring Port 0 (socket 0)
PMD: xgbe1: Registered segment0x1ffdb000000-0x1ffe6ffffff
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Buffer stack memory0x1ffe3780000-0x1ffe37d557f.
PMD: xgbe1: eDMA ring memory0x1ffe37d8000-0x1ffe37d9fff.
PMD: xgbe1: iDMA ring 0 memory0x1ffe377c000-0x1ffe377dfff. Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex Done No commandline core
given,
Quoted 28 lines
start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0
Press enter to exitRegards,
Arthas------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Thu, Sep 24, 2015 09:47 AM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Quoted 38 lines
Seems like something wrong with memseg, could you try with " --hvx hugepagesz=1G --hvx hugepages=4" to boot Gx card? This helps reserve hugepages for DPDK, and check there are still such errors.
With regard to MDE-4.3.3, please contact your local tech support.
Thanks
-ZhigangQuoted 29 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Arthas
Sent: Wednesday, September 23, 2015 11:56 PM
To: zlu; dev
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, ZhiGang,
Can you tell me where can download TileraMDE-4.3.3 package? My
tilegx tech supporter only send me TileraMDE-4.2.4 version! :)Thanks,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:41 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, ZhiGang
I checked source code and debug it , found dpdk functionrte_eth_tx_burstwith tilegx return 0 and no other error. Can I contact
you
Quoted 214 lines
directly?
Quoted 14 lines
Regards,
Arthas------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 06:35 PM To: "zlu"<[email protected]>; "dev"<[email protected]>;Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Quoted 6 lines
Hi, ZhiGang
My tilegx boot parameter is "tile-monitor --dev gxpci${1}
--hv-bin-dir /tilegx/tile/hv-bin-dir424/ --hvx dataplane=1-64". and testpmd start parameter is
tile-monitor --dev gxpci0 --resume --upload testpmd testpmd --run
-+- ./testpmd -c0xffffffff-m 2048 -n 1 -r 1 --vdev xgbe1 -- --rx=1--tx=2
Quoted 115 lines
--forward-mode=txonly -a --port-topology=chained -+-
but xgbe1 can't xmit any packet.
This is my run log:EAL: Detected lcore 0 as core 0 on socket 0
EAL: Detected lcore 1 as core 1 on socket 0
EAL: Detected lcore 2 as core 2 on socket 0
EAL: Detected lcore 3 as core 3 on socket 0
EAL: Detected lcore 4 as core 4 on socket 0
EAL: Detected lcore 5 as core 5 on socket 0
EAL: Detected lcore 6 as core 6 on socket 0
EAL: Detected lcore 7 as core 7 on socket 0
EAL: Detected lcore 8 as core 8 on socket 0
EAL: Detected lcore 9 as core 9 on socket 0
EAL: Detected lcore 10 as core 10 on socket 0
EAL: Detected lcore 11 as core 11 on socket 0
EAL: Detected lcore 12 as core 12 on socket 0
EAL: Detected lcore 13 as core 13 on socket 0
EAL: Detected lcore 14 as core 14 on socket 0
EAL: Detected lcore 15 as core 15 on socket 0
EAL: Detected lcore 16 as core 16 on socket 0
EAL: Detected lcore 17 as core 17 on socket 0
EAL: Detected lcore 18 as core 18 on socket 0
EAL: Detected lcore 19 as core 19 on socket 0
EAL: Detected lcore 20 as core 20 on socket 0
EAL: Detected lcore 21 as core 21 on socket 0
EAL: Detected lcore 22 as core 22 on socket 0
EAL: Detected lcore 23 as core 23 on socket 0
EAL: Detected lcore 24 as core 24 on socket 0
EAL: Detected lcore 25 as core 25 on socket 0
EAL: Detected lcore 26 as core 26 on socket 0
EAL: Detected lcore 27 as core 27 on socket 0
EAL: Detected lcore 28 as core 28 on socket 0
EAL: Detected lcore 29 as core 29 on socket 0
EAL: Detected lcore 30 as core 30 on socket 0
EAL: Detected lcore 31 as core 31 on socket 0
EAL: Detected lcore 32 as core 32 on socket 0
EAL: Detected lcore 33 as core 33 on socket 0
EAL: Detected lcore 34 as core 34 on socket 0
EAL: Detected lcore 35 as core 35 on socket 0
EAL: Support maximum 36 logical core(s) by configuration.
EAL: Detected 36 lcore(s)
EAL: No free hugepages reported in hugepages-1024kB
EAL: Setting up physically contiguous memory...
EAL: Ask a virtual area of0x16000000bytes
EAL: Virtual area found at0x1ffd1000000(size =0x16000000)
EAL: Ask a virtual area of0x90000000bytes
EAL: Virtual area found at0x1ff40000000(size =0x90000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1ff3d000000(size =0x2000000)
EAL: Ask a virtual area of0x10000000bytes
EAL: Virtual area found at0x1ff2c000000(size =0x10000000)
EAL: Ask a virtual area of0x46000000bytes
EAL: Virtual area found at0x1fee5000000(size =0x46000000)
EAL: Ask a virtual area of0x2000000bytes
EAL: Virtual area found at0x1fee2000000(size =0x2000000)
EAL: Requesting 128 pages of size 16MB from socket 0
EAL: TSC frequency is ~1199999 KHz
EAL: WARNING: cpu flags constant_tsc=no nonstop_tsc=no -> using unreliable clock cycles !
EAL: Master lcore 0 is ready (tid=f7fa4690;cpuset=[0])
PMD: mpipe init xgbe1
PMD: xgbe1: Initialized mpipe device(mac ee:d1:53:72:82:5a).
EAL: lcore 1 is ready (tid=eb04f060;cpuset=[1])
EAL: lcore 2 is ready (tid=ea84f060;cpuset=[2])
EAL: lcore 3 is ready (tid=ea04f060;cpuset=[3])
EAL: lcore 4 is ready (tid=e984f060;cpuset=[4])
EAL: lcore 5 is ready (tid=d0fff060;cpuset=[5])
EAL: lcore 6 is ready (tid=d07ff060;cpuset=[6])
EAL: lcore 7 is ready (tid=e904f060;cpuset=[7])
EAL: lcore 8 is ready (tid=e884f060;cpuset=[8])
EAL: lcore 9 is ready (tid=e804f060;cpuset=[9])
EAL: lcore 10 is ready (tid=e784f060;cpuset=[10])
EAL: lcore 11 is ready (tid=b3fff060;cpuset=[11])
EAL: lcore 12 is ready (tid=b37ff060;cpuset=[12])
EAL: lcore 13 is ready (tid=b2fff060;cpuset=[13])
EAL: lcore 14 is ready (tid=b27ff060;cpuset=[14])
EAL: lcore 15 is ready (tid=b1fff060;cpuset=[15])
EAL: lcore 16 is ready (tid=b17ff060;cpuset=[16])
EAL: lcore 17 is ready (tid=b0fff060;cpuset=[17])
EAL: lcore 18 is ready (tid=2ffff060;cpuset=[18])
EAL: lcore 19 is ready (tid=b07ff060;cpuset=[19])
EAL: lcore 20 is ready (tid=abfff060;cpuset=[20])
EAL: lcore 21 is ready (tid=ab7ff060;cpuset=[21])
EAL: lcore 22 is ready (tid=aafff060;cpuset=[22])
EAL: lcore 23 is ready (tid=aa7ff060;cpuset=[23])
EAL: lcore 24 is ready (tid=2f7ff060;cpuset=[24])
EAL: lcore 25 is ready (tid=2efff060;cpuset=[25])
EAL: lcore 26 is ready (tid=2e7ff060;cpuset=[26])
EAL: lcore 27 is ready (tid=2dfff060;cpuset=[27])
EAL: lcore 28 is ready (tid=2d7ff060;cpuset=[28])
EAL: lcore 29 is ready (tid=2cfff060;cpuset=[29])
EAL: lcore 30 is ready (tid=2c7ff060;cpuset=[30])
EAL: lcore 31 is ready (tid=f3fff060;cpuset=[31]) Set txonly packet forwarding mode Auto-start selected Configuring Port 0 (socket 0)
PMD: xgbe1: Could not register memseg @0x1ffd1000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff40000000, -1111.
PMD: xgbe1: Buffer stack memory0x1ffd1c30000-0x1ffd1c8557f.
PMD: xgbe1: eDMA ring memory0x1ffd1c8a000-0x1ffd1c8bfff.
PMD: xgbe1: iDMA ring 0 memory0x1ffd1c86000-0x1ffd1c87fff. Port 0: EE:D1:53:72:82:5A
Checking link statuses...
Port 0 Link Up - speed 10000 Mbps - full-duplex Done No commandline core given, start packet forwarding
txonly packet forwarding - CRC stripping disabled - packets/burst=32 packet len=64 - nb packet segments=1
nb forwarding cores=1 - nb forwarding ports=1
RX queues=1 - RX desc=128 - RX free threshold=0
RX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX queues=2 - TX desc=512 - TX free threshold=0
TX threshold registers: pthresh=0 hthresh=0 wthresh=0
TX RS bit threshold=0 - TXQ flags=0x0 Press enter to exitQuoted 6 lines
and another tilegx card output:
Command: run mpipe-stat xgbe1
Link Tx pkt Tx bits Rx pkt Rx bits Tx err
Rx err
-----------------------------------------------------------------------
---------
Quoted 70 lines
xgbe1 0 0 0 0
0 0Regards, Arthas
------------------ Original ------------------
From: "zlu";<[email protected]>; Date: Wed, Sep 23, 2015 03:34 PM To: "Arthas"<[email protected]>; "'dev'"<[email protected]>;Subject: RE: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597
Hi, Arthas
Does testpmd run OK, and what is boot parameter you used to boot Tile-Gx?
Quoted 24 lines
-----Original Message-----
From: Arthas [mailto:[email protected]]
Sent: Wednesday, September 23, 2015 1:21 PM
To: dev
Cc: zlu
Subject: Re: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597and I wrote a sample RX example, got an other information.
PMD: xgbe1: Could not register memseg @0x1ffd2000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff41000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff3e000000, -1111.
PMD: xgbe1: Could not register memseg @0x1ff2d000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee6000000, -1111.
PMD: xgbe1: Could not register memseg @0x1fee3000000, -1111.
PMD: xgbe1: Buffer stack memory0x1fee4b90000-0x1fee4be557f.
PMD: xgbe1: eDMA ring memory0x1fee4bf0000-0x1fee4bf1fff.
PMD: xgbe1: iDMA ring 0 memory0x1fee4bec000-0x1fee4bedfff.Regards, Arthas
Quoted 8 lines
------------------ Original ------------------
From: "Arthas";<[email protected]>; Date: Wed, Sep 23, 2015 01:17 PM To: "dev"<[email protected]>; Subject: [dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597Hi, I'm working on tilegx platform. and I wrote a sample dpdk trafgen for
tilegx.
Quoted 16 lines
But I got a error with
rte_mbufrte_pktmbuf_append.PANIC in
rte_mbuf_sanity_check():
bad phys addr
7: [/trafgen(_start+0x70) [0x100b308]]
6: [/lib/libc.so.6(__libc_start_main+0x200) [0x1fff7a6e4c8]] 5: [/trafgen(main+0x2148) [0x1017b78]]
4: [/trafgen(rte_pktmbuf_dump+0x58) [0x102c7a8]] 3: [/trafgen(rte_mbuf_sanity_check+0x1a8) [0x102c700]] 2: [/trafgen(__rte_panic+0xc0) [0x1091e80]]
1: [/trafgen(rte_dump_stack+0x40) [0x104cf00]]DPDK compiled with
CONFIG_RTE_LIBRTE_MBUF_DEBUG=y!Regards, Arthas