diff options
author | Achiad Shochat <achiad@mellanox.com> | 2015-12-23 19:47:21 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-12-23 20:07:37 +0300 |
commit | 3f89a643eb29543af0838d37604bbc29a4e1eb60 (patch) | |
tree | 4f4ae3c4ee32f022a78ee957b98bfdf2fda2655a /include/linux/mlx5/driver.h | |
parent | 9efa75254593d6ca3ae54bac8153f47e1a7cbcda (diff) | |
download | linux-3f89a643eb29543af0838d37604bbc29a4e1eb60.tar.xz |
IB/mlx5: Extend query_device/port to support RoCE
Using the vport access functions to retrieve the Ethernet
specific information and return this information in
ib_query_device and ib_query_port.
Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/mlx5/driver.h')
-rw-r--r-- | include/linux/mlx5/driver.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 5c857f2a20d7..7b9c976b42d9 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -632,13 +632,6 @@ extern struct workqueue_struct *mlx5_core_wq; .struct_offset_bytes = offsetof(struct ib_unpacked_ ## header, field), \ .struct_size_bytes = sizeof((struct ib_unpacked_ ## header *)0)->field -struct ib_field { - size_t struct_offset_bytes; - size_t struct_size_bytes; - int offset_bits; - int size_bits; -}; - static inline struct mlx5_core_dev *pci2mlx5_core_dev(struct pci_dev *pdev) { return pci_get_drvdata(pdev); |