diff options
| author | Michael Brown | 2010-09-15 20:25:05 +0200 |
|---|---|---|
| committer | Michael Brown | 2010-09-15 20:25:05 +0200 |
| commit | 52e54a8c69351ee1455f8fbf2a9cd5d27d42f7ab (patch) | |
| tree | d8b88315c25088f824ee97b0b0faf4945311445a /src/drivers/infiniband/hermon.c | |
| parent | [e1000] Strip the Ethernet CRC from received packets (diff) | |
| download | ipxe-52e54a8c69351ee1455f8fbf2a9cd5d27d42f7ab.tar.gz ipxe-52e54a8c69351ee1455f8fbf2a9cd5d27d42f7ab.tar.xz ipxe-52e54a8c69351ee1455f8fbf2a9cd5d27d42f7ab.zip | |
[infiniband] Match GID/GUID terminology as used in the IBA
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband/hermon.c')
| -rw-r--r-- | src/drivers/infiniband/hermon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/infiniband/hermon.c b/src/drivers/infiniband/hermon.c index f074386ff..8b5c2487c 100644 --- a/src/drivers/infiniband/hermon.c +++ b/src/drivers/infiniband/hermon.c @@ -474,7 +474,7 @@ hermon_cmd_write_mcg ( struct hermon *hermon, unsigned int index, } static inline int -hermon_cmd_mgid_hash ( struct hermon *hermon, const struct ib_gid *gid, +hermon_cmd_mgid_hash ( struct hermon *hermon, const union ib_gid *gid, struct hermonprm_mgm_hash *hash ) { return hermon_cmd ( hermon, HERMON_HCR_INOUT_CMD ( HERMON_HCR_MGID_HASH, @@ -2012,7 +2012,7 @@ static int hermon_inform_sma ( struct ib_device *ibdev, */ static int hermon_mcast_attach ( struct ib_device *ibdev, struct ib_queue_pair *qp, - struct ib_gid *gid ) { + union ib_gid *gid ) { struct hermon *hermon = ib_get_drvdata ( ibdev ); struct hermonprm_mgm_hash hash; struct hermonprm_mcg_entry mcg; @@ -2066,7 +2066,7 @@ static int hermon_mcast_attach ( struct ib_device *ibdev, */ static void hermon_mcast_detach ( struct ib_device *ibdev, struct ib_queue_pair *qp __unused, - struct ib_gid *gid ) { + union ib_gid *gid ) { struct hermon *hermon = ib_get_drvdata ( ibdev ); struct hermonprm_mgm_hash hash; struct hermonprm_mcg_entry mcg; |
