]> git.baikalelectronics.ru Git - 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)
commit5775a1db7ad59de5d83d539698ef049ad1f30312
treedbb56e3b7e6c92e31a63b05966eea4c6fbc5f4c2
parent079b3a595713bad5b80af1501dd12446408efacd
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