]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net/mlx5: Use MLX5_IPSEC_DEV macro for ipsec caps
authorSaeed Mahameed <saeedm@mellanox.com>
Wed, 7 Mar 2018 23:44:48 +0000 (15:44 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 7 Mar 2018 23:49:19 +0000 (15:49 -0800)
commitd83a69c2b1b17a8aedc7a75ba8b620bfd2057e93
tree0be1d9707033c2af92929f873df5657c45a63ded
parente810bf5e96e327500cc6334f9d56c8047aaabcff
net/mlx5: Use MLX5_IPSEC_DEV macro for ipsec caps

Fix build break of mlx5_accel_ipsec_device_caps is not defined when
MLX5_ACCEL is not selected, use MLX5_IPSEC_DEV instead which handles
such case.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reported-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c