]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9cc0ce6dbcc094f4e4052a09f8b2b95773e45608
treea7063bee9260e276ae0af910e633d86ba3102219
parent3ce18527adb310adcf7e98f2de36ac983994e4e6
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: 7ba50225c931 ("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