]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: Return ready to use ASO WQE
authorLeon Romanovsky <leonro@nvidia.com>
Fri, 2 Dec 2022 20:10:22 +0000 (22:10 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Tue, 6 Dec 2022 12:49:44 +0000 (13:49 +0100)
commite77bbde73ed0a2d5342a98fb050287cdbe5db524
tree72525f24a06f6507ae312e6c7fbac0b8f2f85ae6
parent89ae65734a995f1c728669fc3b0759a36f1d678e
net/mlx5: Return ready to use ASO WQE

There is no need in hiding returned ASO WQE type by providing void*,
use the real type instead. Do it together with zeroing that memory,
so ASO WQE will be ready to use immediately.

Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc/meter.c
drivers/net/ethernet/mellanox/mlx5/core/lib/aso.c
drivers/net/ethernet/mellanox/mlx5/core/lib/aso.h