]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Expose SW ICM related device memory capabilities
authorAriel Levkovich <lariel@mellanox.com>
Sun, 31 Mar 2019 16:44:43 +0000 (19:44 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 24 Apr 2019 19:33:36 +0000 (12:33 -0700)
commit561fc2b4e9bf5a1bbeab536424d268781d8a59d4
tree30b914886998e6b38602dacb1caf5d6012a49997
parentbbdfb7d374288b195d97f7b2fe543187d5a211ef
net/mlx5: Expose SW ICM related device memory capabilities

Add SW ICM related fields to the device memory capabilities
structure and sw ownership capability in flow table properties.

The currently supported SW ICM types are steering and header modify
and the changes exposes the device memory capabilities for each
of these two types.

SW ICM memory can be allocated by SW and then be accessed by RDMA
operations for direct management of the HW packet handling tables.

Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Reviewed-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/linux/mlx5/mlx5_ifc.h