DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Sending modified pcap packets from pktgen.
@ 2014-02-05  2:51 Banashankar KV
  2014-02-05  7:52 ` Wiles, Roger Keith
  0 siblings, 1 reply; 2+ messages in thread
From: Banashankar KV @ 2014-02-05  2:51 UTC (permalink / raw)
  To: <dev@dpdk.org>

Hi,
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.


Thanks
Banashankar

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-05  7:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-05  2:51 [dpdk-dev] Sending modified pcap packets from pktgen Banashankar KV
2014-02-05  7:52 ` Wiles, Roger Keith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).