diff options
author | Ilan Tayari <ilant@mellanox.com> | 2017-07-02 10:47:24 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2018-05-29 17:27:49 -0700 |
commit | d1a15b1a7e75503b178c75476faa689ed86db223 (patch) | |
tree | a314a026d36b9178959fb6576a10784edf131170 /drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.h | |
parent | d80c9f88317272b54b0e0ec0dd6332d7aef5deea (diff) | |
download | op-kernel-dev-d1a15b1a7e75503b178c75476faa689ed86db223.zip op-kernel-dev-d1a15b1a7e75503b178c75476faa689ed86db223.tar.gz |
net/mlx5: FPGA, Add device name
Add device name for Mellanox FPGA devices.
Signed-off-by: Ilan Tayari <ilant@mellanox.com>
Signed-off-by: Adi Nissim <adin@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.h b/drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.h index d05233c..eb8b0fe 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/fpga/cmd.h @@ -35,6 +35,13 @@ #include <linux/mlx5/driver.h> +enum mlx5_fpga_device_id { + MLX5_FPGA_DEVICE_UNKNOWN = 0, + MLX5_FPGA_DEVICE_KU040 = 1, + MLX5_FPGA_DEVICE_KU060 = 2, + MLX5_FPGA_DEVICE_KU060_2 = 3, +}; + enum mlx5_fpga_image { MLX5_FPGA_IMAGE_USER = 0, MLX5_FPGA_IMAGE_FACTORY, |