[dpdk-dev] Sending modified pcap packets from pktgen.
banveerad at gmail.com
Wed Feb 5 03:51:41 CET 2014
I am trying to send out modified pcap packets in a loop as shown below.I am
trying to modify source IP and source port.
for each *packet[12 in number]*
for each *sip[2 in number]*
for each *port[10 in number]*
change to *port *and *sip *in *packet*
ret = rte_eth_tx_burst(.....)
For the 6th packet, 80% of the packets sent out are same wrong packet and
other time i see the same other packet 2-3 times instead of the correct
packet. But if I place a breakpoint and send the packets one after the
other, all the packets have their respective modified port and source IP.
I am not able to figure out why it's behaving like this.
is there any caching of the packets or something like that?
In rte_mempool_create I see its passing 0 for cache size.
More information about the dev