net/mlx5: Fix FPGA capability location
authorInbar Karmy <inbark@mellanox.com>
Thu, 24 Aug 2017 14:21:44 +0000 (17:21 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 Sep 2017 04:23:09 +0000 (07:23 +0300)
commit99d3cd27f755d63fd6cf85169eaa873d90769aa5
treea7063bee9260e276ae0af910e633d86ba3102219
parent38e8a5c040d3ec99a8351c688dcdf0f549611565
net/mlx5: Fix FPGA capability location

Currently, FPGA capability is located in (mdev)->caps.hca_cur,
change the location to be (mdev)->caps.fpga,
since hca_cur is reserved for HCA device capabilities.

Fixes: e29341fb3a5b ("net/mlx5: FPGA, Add basic support for Innova")
Signed-off-by: Inbar Karmy <inbark@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.h
drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c
include/linux/mlx5/device.h
include/linux/mlx5/driver.h