https://bugs.linaro.org/show_bug.cgi?id=320
--- Comment #7 from Santosh Shukla <[email protected]> ---
Tested odp-l2fwd with dpdk-pktgen.. with Venky's promiscuous mode patch
addition
diff --git a/platform/linux-dpdk/odp_packet_dpdk.c
b/platform/linux-dpdk/odp_pac
index 31bfa30..da61212 100644
--- a/platform/linux-dpdk/odp_packet_dpdk.c
+++ b/platform/linux-dpdk/odp_packet_dpdk.c
@@ -142,6 +142,8 @@ int setup_pkt_dpdk(pkt_dpdk_t * const pkt_dpdk, const char
*
ret, (unsigned) portid);
ODP_DBG("dpdk tx queue setup done\n");
+ rte_eth_promiscuous_enable(portid);
+
/* Start device */
ret = rte_eth_dev_start(portid);
if (ret < 0)
Its working.
in-kernel pktgen issue still exist, We'll work on per priority basis. for now
dpdk-pktgen address l2fwd isolation demo blocker for us.
dpdk-pktgen using cmd on x86 box with 12 core and 4 nics (igb)
./app/pktgen -c 5 -n 3 --proc-type auto --socket-mem 256 --file-prefix pg -b
0000:07:00.0 -b 0000:07:00.1 -- -T -p 0x03 -P -m "2.0, 2.1"
Link State : <UP-1000-FD> <UP-1000-FD>
---TotalRate---
Pkts/s Rx : 148832 148832
297664
Tx : 148832 148832
297664
MBits/s Rx/Tx : 100/100 100/100
200/200
Broadcast : 0 0
Multicast : 0 0
64 Bytes : 85262144 85262240
65-127 : 0 0
128-255 : 0 0
256-511 : 0 0
512-1023 : 0 0
1024-1518 : 0 0
Runts/Jumbos : 0/0 0/0
Errors Rx/Tx : 0/0 0/0
Total Rx Pkts : 85114192 85114208
Tx Pkts : 85114192 85114208
Rx MBs : 57196 57196
Tx MBs : 57196 57196
ARP/ICMP Pkts : 0/0 0/0
:
Tx Count/% Rate : Forever/100% Forever/100%
PktSize/Tx Burst: 64/16 64/16
Src/Dest Port : 1234/5678 1234/5678
Pkt Type:VLAN ID: IPv4/TCP:0001 IPv4/TCP:0001
Dst IP Address : 192.168.1.1 192.168.0.1
Src IP Address : 192.168.0.1/24 192.168.1.1/24
Dst MAC Address : 00:1e:67:7b:36:3e 00:1e:67:7b:36:3d
Src MAC Address : 00:1e:67:7b:36:3d 00:1e:67:7b:36:3e
-- Pktgen Ver:2.7.1(DPDK-1.7.0)
-------------------------------------------------------------------------------------
Pktgen> start all
Pktgen> quit
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp