net/mlx5: Implement interfaces to control ASO SQ and CQ
authorJianbo Liu <jianbol@nvidia.com>
Fri, 29 Apr 2022 07:46:47 +0000 (07:46 +0000)
committerSaeed Mahameed <saeedm@nvidia.com>
Sat, 2 Jul 2022 18:58:27 +0000 (11:58 -0700)
commitc491ded04325b92fa1cc4af678154cb02fec0ae4
tree7fa55337ec09ba18689e66dd268967ad30d77bd3
parentcdd04f4d4d71cbf93d0d9abe63bc838f47c467fa
net/mlx5: Implement interfaces to control ASO SQ and CQ

Add interfaces to use ASO object control channel. The channel consists
of a control SQ and CQ to which user can post ACCESS_ASO work requests
to modify ASO objects. The functions to get wqe from SQ, fill wqe,
post the request, and poll the completion of the work, are provided.

Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Ariel Levkovich <lariel@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/aso.c
drivers/net/ethernet/mellanox/mlx5/core/lib/aso.h