summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/mlx4_ib.h
diff options
context:
space:
mode:
authorMoni Shoua <monis@mellanox.com>2016-01-14 17:50:33 +0200
committerDoug Ledford <dledford@redhat.com>2016-01-19 15:35:00 -0500
commitb699a859d17b3a7a8edc5441ee99d245dfd9f86c (patch)
tree07e31422adc4d9384a5980068a7bccfd0212f28b /drivers/infiniband/hw/mlx4/mlx4_ib.h
parentd8ae914196d35bbc0c459aec6de588ba585a1c3e (diff)
downloadlinux-b699a859d17b3a7a8edc5441ee99d245dfd9f86c.tar.bz2
IB/mlx4: Add gid_type to GID properties
IB core driver adds a property of type to struct ib_gid_attr. The mlx4 driver should take that in consideration when modifying or querying the hardware gid table. Signed-off-by: Moni Shoua <monis@mellanox.com> Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mlx4_ib.h')
-rw-r--r--drivers/infiniband/hw/mlx4/mlx4_ib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx4/mlx4_ib.h b/drivers/infiniband/hw/mlx4/mlx4_ib.h
index 8916e9b55324..7179fb15edac 100644
--- a/drivers/infiniband/hw/mlx4/mlx4_ib.h
+++ b/drivers/infiniband/hw/mlx4/mlx4_ib.h
@@ -478,6 +478,7 @@ struct gid_cache_context {
struct gid_entry {
union ib_gid gid;
+ enum ib_gid_type gid_type;
struct gid_cache_context *ctx;
};