aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2015-03-03 03:54:48 -0500
committerDoug Ledford <dledford@redhat.com>2015-04-15 15:51:50 -0400
commit773af94e4e3984d4055c332602de5d0d2ee3d840 (patch)
tree279890735fdf6fe80071275be570f7c256d65bc2 /include/linux/mlx4
parent99ee4df6aaf542b84f68d66a02de7b68b72a87a8 (diff)
net/mlx4_core: Manage alias GUID per VF
Manages alias GUIDs per VF per port in the core layer. This is a pre-step for managing alias GUIDs in a mode that the admin GUID is returned via ib_query_gid() regardless of whether the SM has approved it or not. Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r--include/linux/mlx4/device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index f9ce34bec45b..39a91b0c5d5c 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -1345,6 +1345,9 @@ int mlx4_wol_write(struct mlx4_dev *dev, u64 config, int port);
1345int mlx4_counter_alloc(struct mlx4_dev *dev, u32 *idx); 1345int mlx4_counter_alloc(struct mlx4_dev *dev, u32 *idx);
1346void mlx4_counter_free(struct mlx4_dev *dev, u32 idx); 1346void mlx4_counter_free(struct mlx4_dev *dev, u32 idx);
1347 1347
1348void mlx4_set_admin_guid(struct mlx4_dev *dev, __be64 guid, int entry,
1349 int port);
1350__be64 mlx4_get_admin_guid(struct mlx4_dev *dev, int entry, int port);
1348int mlx4_flow_attach(struct mlx4_dev *dev, 1351int mlx4_flow_attach(struct mlx4_dev *dev,
1349 struct mlx4_net_trans_rule *rule, u64 *reg_id); 1352 struct mlx4_net_trans_rule *rule, u64 *reg_id);
1350int mlx4_flow_detach(struct mlx4_dev *dev, u64 reg_id); 1353int mlx4_flow_detach(struct mlx4_dev *dev, u64 reg_id);