summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4/device.h
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2015-03-03 10:54:48 +0200
committerDoug Ledford <dledford@redhat.com>2015-04-15 15:51:50 -0400
commit773af94e4e3984d4055c332602de5d0d2ee3d840 (patch)
tree279890735fdf6fe80071275be570f7c256d65bc2 /include/linux/mlx4/device.h
parent99ee4df6aaf542b84f68d66a02de7b68b72a87a8 (diff)
downloadblackbird-op-linux-773af94e4e3984d4055c332602de5d0d2ee3d840.tar.gz
blackbird-op-linux-773af94e4e3984d4055c332602de5d0d2ee3d840.zip
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/device.h')
-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);
int mlx4_counter_alloc(struct mlx4_dev *dev, u32 *idx);
void mlx4_counter_free(struct mlx4_dev *dev, u32 idx);
+void mlx4_set_admin_guid(struct mlx4_dev *dev, __be64 guid, int entry,
+ int port);
+__be64 mlx4_get_admin_guid(struct mlx4_dev *dev, int entry, int port);
int mlx4_flow_attach(struct mlx4_dev *dev,
struct mlx4_net_trans_rule *rule, u64 *reg_id);
int mlx4_flow_detach(struct mlx4_dev *dev, u64 reg_id);
OpenPOWER on IntegriCloud