From 53b78ea11efb56a2f44599d686ce0caf2f93efd2 Mon Sep 17 00:00:00 2001 From: Raslan Darawsheh Date: Sun, 23 Feb 2020 11:30:59 +0200 Subject: [PATCH] doc: add raw encap/decap limitations in mlx5 guide Document validation limitations for encap/decap. Signed-off-by: Raslan Darawsheh Acked-by: Ori Kam --- doc/guides/nics/mlx5.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 2e9c71ad5b..7fac9d15f4 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -202,6 +202,16 @@ Limitations - can be applied to VF ports only. - must specify PF port action (packet redirection from VF to PF). +- Raw encapsulation: + + - The input buffer, used as outer header, is not validated. + +- Raw decapsulation: + + - The decapsulation is always done up to the outermost tunnel detected by the HW. + - The input buffer, providing the removal size, is not validated. + - The buffer size must match the length of the headers to be removed. + - ICMP/ICMP6 code/type matching, IP-in-IP and MPLS flow matching are all mutually exclusive features which cannot be supported together (see :ref:`mlx5_firmware_config`). -- 2.20.1