summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/driver.h
diff options
context:
space:
mode:
authorAchiad Shochat <achiad@mellanox.com>2015-12-23 18:47:21 +0200
committerDoug Ledford <dledford@redhat.com>2015-12-23 12:07:37 -0500
commit3f89a643eb29543af0838d37604bbc29a4e1eb60 (patch)
tree4f4ae3c4ee32f022a78ee957b98bfdf2fda2655a /include/linux/mlx5/driver.h
parent9efa75254593d6ca3ae54bac8153f47e1a7cbcda (diff)
downloadlinux-3f89a643eb29543af0838d37604bbc29a4e1eb60.tar.gz
linux-3f89a643eb29543af0838d37604bbc29a4e1eb60.tar.bz2
linux-3f89a643eb29543af0838d37604bbc29a4e1eb60.zip
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.h7
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);