[PATCH] app/testpmd:add vxlan txonly

Ferruh Yigit ferruh.yigit at amd.com
Fri Feb 17 21:43:03 CET 2023


On 1/3/2023 2:30 AM, wushaohua at chinatelecom.cn wrote:
> From: Shaohua Wu <wushaohua at chinatelecom.cn>
> 
> Add the vxlan packet sending module to actively send
> vxlan packets using a common network adapter.
> The default vni is 1000.
> example:
>  ./dpdk-testpmd -l 32-47 -n 16 --file-prefix pg0 -- -i
> 	--rxq=16 --txq=16 --rxd=1024 --txd=1024
> 	--txpkts=64 --burst=64  --mbuf-size=4096
> 	--nb-cores=15  --underlay_tx_only
> 	--underlay-eth-peer=0,f0:00:00:00:00:66
> 	--eth-peer=0,08:c0:eb:3e:87:af
> 	--utx-ip=11.0.0.1,11.0.0.2
> 	--tx-ip=30.0.0.1,30.0.0.2
> 	--forward-mode=tuntxonly
> 	--txonly-multi-flow
> 
> Signed-off-by: Shaohua Wu <wushaohua at chinatelecom.cn>

Hi Shaohua,

This is a good feature but I am not sure if this is in the scope of
testpmd application.

Testpmd has basic packet generation capabilities, and it is useful for
quick/dirty testing, but for more advanced packet generation perhaps
other tools like pktgen [1] can be used, what do you think?

What is the justification to have this feature in testpmd, and what is
your usecase?


[1]
https://git.dpdk.org/apps/pktgen-dpdk/


More information about the dev mailing list