[dpdk-dev] [dpdk-stable] [PATCH] app/testpmd: fix set L4 len for UDP packets

Ferruh Yigit ferruh.yigit at intel.com
Mon Nov 12 15:31:51 CET 2018


On 11/11/2018 3:31 PM, Raslan Darawsheh wrote:
> testpmd only sets the L4 len in case of TCP packets.
> some PMD's like tap rely on mbuf meta data to calculate csum
> 
> this will set the L4 len for UDP packets same as TCP
> 
> Fixes: 160c3dc9 ("app/testpmd: introduce IP parsing functions in csum fwd engine")
> CC: stable at dpdk.org
>
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
> Signed-off-by: Ophir Munk <ophirmu at mellanox.com>


Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list