[v1 4/4] net/mlx5: support matching optional fields of GRE
Ferruh Yigit
ferruh.yigit at intel.com
Tue Feb 1 11:50:11 CET 2022
On 1/26/2022 8:44 AM, Sean Zhang wrote:
> This patch adds matching on the optional fields (checksum/key/sequence)
> of GRE header. The matching of checksum and sequence fields requests
> support from rdma-core with capability of misc5 and tunner_header 0-3.
>
> For patterns without checksum and sequence specified, keep using misc for
> matching as before, but for patterns with checksum or sequence, validate
> capability first and then use misc5 for the matching.
>
> Signed-off-by: Sean Zhang<xiazhang at nvidia.com>
> ---
> drivers/common/mlx5/mlx5_devx_cmds.c | 3 +
> drivers/net/mlx5/linux/mlx5_os.c | 2 +
> drivers/net/mlx5/mlx5.h | 1 +
> drivers/net/mlx5/mlx5_flow.c | 106 +++++++++++++++++++++++++
> drivers/net/mlx5/mlx5_flow.h | 6 ++
> drivers/net/mlx5/mlx5_flow_dv.c | 146 +++++++++++++++++++++++++++++++++++
> 6 files changed, 264 insertions(+)
Documentation seems missing:
$ ./devtools/check-doc-vs-code.sh
rte_flow doc out of sync for mlx5
item gre_option
More information about the dev
mailing list