net/mlx5: enforce limitation on IPv6 next protocol
authorDekel Peled <dekelp@nvidia.com>
Thu, 15 Oct 2020 14:05:57 +0000 (17:05 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 21:29:25 +0000 (22:29 +0100)
commit491757372f98acbc6aa346730a55ed4cd2bfd676
tree7aba4f5c902ed93379fdaaf5d52d14ecc6cabacf
parent0e5a0d8f7556d933b965b7fce3274b997c780470
net/mlx5: enforce limitation on IPv6 next protocol

Due to PRM requirement, the IPv6 header item 'proto' field, indicating
the next header protocol, should not be set as extension header.
This patch adds the relevant validation, and documents the limitation.

Signed-off-by: Dekel Peled <dekelp@nvidia.com>
Acked-by: Ori Kam <orika@nvidia.com>
doc/guides/nics/mlx5.rst
drivers/net/mlx5/mlx5_flow.c