DPDK usage discussions
 help / color / mirror / Atom feed
From: Wael Abualrub <waela@mellanox.com>
To: "jiayu.hu@intel.com" <jiayu.hu@intel.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Unable to Configure GRO in Testpmd
Date: Wed, 25 Oct 2017 09:01:10 +0000	[thread overview]
Message-ID: <AM4PR0501MB22757F4FD9A98F86EB7E1B62DB440@AM4PR0501MB2275.eurprd05.prod.outlook.com> (raw)



From: Wael Abualrub
Sent: Wednesday, October 25, 2017 11:10 AM
To: 'jiayu.hu@intel.com' <jiayu.hu@intel.com>
Subject: Unable to Configure GRO in Testpmd

Hello Jiayu,

This's Wael from Mellanox DPDK team, I'm working on GRO feature and seems to be not working on my machines, I do the following:

First I'm starting testpmd using the following command line:
"
/download/dpdk/x86_64-native-linuxapp-gcc/build/app/test-pmd/testpmd n 4 -w 82:00.0 -w 82:00.1 -- --burst=64 --mbcache=512 --portmask 0xf -i --txd=1024 --rxd=1024 --nb-cores=9 --rxq=2 --txq=2 --txqflags=0
"
Then:
Testpmd> set fwd csum
Testpmd> gro on 0
Testpmd> gro on  1
Testpmd> start

Then send the following TCP/IPV4 fragmented packet via scapy:
"
p=Ether(src=get_if_hwaddr('ens3f1'), dst= '24:8A:07:8D:AE:B6')/IP(src='1.1.1.1', dst='192.168.241.100')/TCP(sport=3512,dport=545)
p.add_payload(('F' * 500))
frags=fragment(p, fragsize=100)
for fragment in frags:send(fragment,iface="ens3f0")
"
"
<Ether  dst=24:8A:07:8D:AE:B6 src=24:8a:07:8d:ae:c7 type=IPv4 |<IP  flags=MF frag=0 proto=tcp src=1.1.1.1 dst=192.168.241.100 |<Raw  load='\r\xb8\x02!\x00\x00\x00\x00\x00\x00\x00\x00P\x02 \x00)f\x00\x00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' |>>>
<Ether  dst=24:8A:07:8D:AE:B6 src=24:8a:07:8d:ae:c7 type=IPv4 |<IP  flags=MF frag=13 proto=tcp src=1.1.1.1 dst=192.168.241.100 |<Raw  load='FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' |>>>
<Ether  dst=24:8A:07:8D:AE:B6 src=24:8a:07:8d:ae:c7 type=IPv4 |<IP  flags=MF frag=26 proto=tcp src=1.1.1.1 dst=192.168.241.100 |<Raw  load='FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' |>>>
<Ether  dst=24:8A:07:8D:AE:B6 src=24:8a:07:8d:ae:c7 type=IPv4 |<IP  flags=MF frag=39 proto=tcp src=1.1.1.1 dst=192.168.241.100 |<Raw  load='FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' |>>>
<Ether  dst=24:8A:07:8D:AE:B6 src=24:8a:07:8d:ae:c7 type=IPv4 |<IP  flags= frag=52 proto=tcp src=1.1.1.1 dst=192.168.241.100 |<Raw  load='FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' |>>>
"

With this configuration is the expected to receive the fragmented packets and merge it as a single one?

Kindest Regards,
Wael Abualrub

                 reply	other threads:[~2017-10-25  9:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM4PR0501MB22757F4FD9A98F86EB7E1B62DB440@AM4PR0501MB2275.eurprd05.prod.outlook.com \
    --to=waela@mellanox.com \
    --cc=jiayu.hu@intel.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).