net/mlx5e: Align IPsec ASO result memory to be as required by hardware
authorLeon Romanovsky <leonro@nvidia.com>
Sun, 19 Feb 2023 09:09:10 +0000 (11:09 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 21 Feb 2023 00:52:56 +0000 (16:52 -0800)
commitf2b6cfda76d2119871e10fa01ecdc7178401ef22
tree14ef50253c092134b568af026e777f536f5a09f8
parent05b953a550625dc05652e15aeb9af34771c96325
net/mlx5e: Align IPsec ASO result memory to be as required by hardware

Hardware requires an alignment to 64 bytes to return ASO data. Missing
this alignment caused to unpredictable results while ASO events were
generated.

Fixes: 8518d05b8f9a ("net/mlx5e: Create Advanced Steering Operation object for IPsec")
Reported-by: Emeel Hakim <ehakim@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/de0302c572b90c9224a72868d4e0d657b6313c4b.1676797613.git.leon@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.h