numam-dpdk/doc/guides/rel_notes
Dekel Peled 00f75a4057 net/mlx5: fix VLAN match for DV mode
Currently MLX5 PMD can't match on untagged packets specifically.
Tagged traffic still hits the flows intended for untagged packets.
If the flow has ETH, it will catch all matching packets, tagged
and untagged.
The solution is to use cvlan_tag bit.
If mask=1 and value=0 it matches on untagged traffic.
If mask=1 and value=1 it matches on tagged traffic.
This is the kernel implementation.

This patch updated MLX5 PMD to set cvlan_tag mask and value according
to flow rule contents.
This update is relevant when using DV flow engine (dv_flow_en=1).

See example at https://doc.dpdk.org/guides/nics/mlx5.html#limitations.

Fixes: fc2c498ccb ("net/mlx5: add Direct Verbs translate items")
Cc: stable@dpdk.org

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
2020-02-14 12:42:12 +01:00
..
deprecation.rst doc: announce API change for mempool IOVA populate 2020-01-20 16:37:27 +01:00
index.rst version: 20.02-rc0 2019-12-02 17:59:49 +01:00
known_issues.rst eal: pick IOVA as PA if IOMMU is not available 2019-07-30 10:09:13 +02:00
release_1_8.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
release_2_0.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
release_2_1.rst mk: use linux and freebsd in config names 2019-03-12 23:05:06 +01:00
release_2_2.rst doc: add SPDX and copyright to release notes 2018-08-09 22:48:10 +02:00
release_16_04.rst doc: add SPDX and copyright to release notes 2018-08-09 22:48:10 +02:00
release_16_07.rst remove blank lines at end of file 2019-11-26 00:12:08 +01:00
release_16_11.rst doc: add SPDX and copyright to release notes 2018-08-09 22:48:10 +02:00
release_17_02.rst doc: remove useless anchor for flow API guide 2019-01-31 18:41:07 +01:00
release_17_05.rst doc: add SPDX and copyright to release notes 2018-08-09 22:48:10 +02:00
release_17_08.rst doc: add SPDX and copyright to release notes 2018-08-09 22:48:10 +02:00
release_17_11.rst doc/guides: clean repeated words 2019-11-15 11:36:27 +01:00
release_18_02.rst doc/guides: clean repeated words 2019-11-15 11:36:27 +01:00
release_18_05.rst doc: fix link in release notes 2019-08-02 21:58:59 +02:00
release_18_08.rst doc: fix eventdev shared library version 2018-10-01 16:43:21 +02:00
release_18_11.rst doc: update release notes for 18.11 2018-11-27 00:26:07 +01:00
release_19_02.rst doc/guides: clean repeated words 2019-11-15 11:36:27 +01:00
release_19_05.rst doc: update release notes for 19.05 2019-05-13 21:50:14 +02:00
release_19_08.rst doc: update release notes for i40e MARK+RSS 2019-08-06 11:39:55 +02:00
release_19_11.rst doc: add tested platforms with Mellanox NICs 2019-11-28 22:31:53 +01:00
release_20_02.rst net/mlx5: fix VLAN match for DV mode 2020-02-14 12:42:12 +01:00