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)
commit9fba2b9b4f1566213a4f0cec658479d8915086fa
tree30b914886998e6b38602dacb1caf5d6012a49997
parentc3bdd5e65185f46150b3bac103b3854040487857
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