]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc5c3632a6dec075570af81e644b72e1fcdbb174
tree7fa55337ec09ba18689e66dd268967ad30d77bd3
parenteb9a32ca0befe77305a72708ca6bad01fbd319b6
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