]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net/mlx5: mlx5_ifc support for header insert/remove
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Tue, 9 Mar 2021 01:29:16 +0000 (03:29 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 10 Jun 2021 01:36:06 +0000 (18:36 -0700)
commit67133eaa93e810f5c510cd0ec6e2e7ca76fc1340
treedbb56e3b7e6c92e31a63b05966eea4c6fbc5f4c2
parent0d155170d6eebbd6c50e16bc928c31b3f5473025
net/mlx5: mlx5_ifc support for header insert/remove

Add support for HCA caps 2 that contains capabilities for the new
insert/remove header actions.

Added the required definitions for supporting the new reformat type:
added packet reformat parameters, reformat anchors and definitions
to allow copy/set into the inserted EMD (Embedded MetaData) tag.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Reviewed-by: Jianbo Liu <jianbol@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/fw.c
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h