net/mlx5: IPSec, Generalize sandbox QP commands
authorYossi Kuperman <yossiku@mellanox.com>
Sun, 22 Oct 2017 16:43:58 +0000 (19:43 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 7 Mar 2018 23:53:17 +0000 (15:53 -0800)
commit581fdddee420cebe2cb781cb3c84c82676a86949
tree2276d85a576277db99f3728990300e364d947aa0
parentd83a69c2b1b17a8aedc7a75ba8b620bfd2057e93
net/mlx5: IPSec, Generalize sandbox QP commands

The current code assume only SA QP commands.
Refactor in order to pave the way for new QP commands:
1. Generic cmd response format.
2. SA cmd checks are in dedicated functions.
3. Aligned debug prints.

Signed-off-by: Yossi Kuperman <yossiku@mellanox.com>
Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c
include/linux/mlx5/mlx5_ifc_fpga.h