Hi,
> -Original Message-
> From: Ophir Munk
> Sent: Wednesday, February 26, 2020 10:28 AM
> To: dev@dpdk.org
> Cc: Thomas Monjalon ; Raslan Darawsheh
> ; Ophir Munk
> Subject: [PATCH v1] net/mlx5: fix VLAN PCP item calculation
>
> The VLAN 16 bits tci field contains both values of PCP a
> -Original Message-
> From: dev On Behalf Of Ophir Munk
> Sent: Wednesday, February 26, 2020 10:28
> To: dev@dpdk.org
> Cc: Thomas Monjalon ; Raslan Darawsheh
> ; Ophir Munk
> Subject: [dpdk-dev] [PATCH v1] net/mlx5: fix VLAN PCP item calculation
>
> The VLAN
The VLAN 16 bits tci field contains both values of PCP and VID. When
extracting any one of them - it is required not to affect the other one.
Previous to this commit in routine flow_dev_get_vlan_info_from_items()
we calcualted the PCP as follows:
(1) vlan->vlan_tci &= MLX5DV_FLOW_VLAN_PCP_MASK;
3 matches
Mail list logo