[dpdk-dev] [PATCH] app/testpmd: set raw cmd use rte hdr struct

Ferruh Yigit ferruh.yigit at intel.com
Tue Nov 3 18:40:03 CET 2020


On 11/3/2020 1:20 PM, Xiaoyu Min wrote:
> From: Xiaoyu Min <jackmin at nvidia.com>
> 
> The rte_flow_item_eth and rte_flow_item_vlan items are refined [1].
> The structs do not exactly represent the packet bits captured on the wire
> anymore so set raw_encap/decap commands should only copy real header
> instead of the whole struct.
> 
> Replace the rte_flow_item_* with the existing corresponding rte_*_hdr.
> 
> [1]:
> commit 09315fc83861 ("ethdev: add VLAN attributes to ethernet and VLAN
> items")
> 
> Signed-off-by: Xiaoyu Min <jackmin at nvidia.com>

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

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


More information about the dev mailing list