net/bnxt: fix VLAN/VXLAN encapsulation header size
authorXiaoyu Min <jackmin@nvidia.com>
Mon, 16 Nov 2020 07:55:16 +0000 (15:55 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 22 Nov 2020 16:07:25 +0000 (17:07 +0100)
The rte_flow_item_eth and rte_flow_item_vlan items are refined.
The structs do not exactly represent the packet bits captured on the
wire anymore so should only copy real header instead of the whole struct.

Replace the rte_flow_item_* with the existing corresponding rte_*_hdr.

Fixes: 09315fc83861 ("ethdev: add VLAN attributes to ethernet and VLAN items")

Signed-off-by: Xiaoyu Min <jackmin@nvidia.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>

No differences found