]> 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)
commit3343820eb3aacc0e38915572397efe232b1ab2d0
tree30b914886998e6b38602dacb1caf5d6012a49997
parentf8e98a136e7baf90bca694e8070cdf4ea63f0da6
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