net/mlx5: Bridge, extract VLAN pop code to dedicated functions

Following patches in series need to pop VLAN when packet misses on egress.
To reuse existing bridge VLAN pop handling code, extract it to dedicated
helpers mlx5_esw_bridge_pkt_reformat_vlan_pop_supported() and

Signed-off-by: Vlad Buslov <>
Reviewed-by: Paul Blakey <>
Signed-off-by: Saeed Mahameed <>
1 file changed