public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Hal Rosenstock <hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH 1/2] opensm/osm_port: Add infrastructure for alias GUID support
Date: Wed, 20 Apr 2011 15:08:54 +0300	[thread overview]
Message-ID: <20110420120854.GA28761@calypso.voltaire.com> (raw)
In-Reply-To: <4DA31781.7070606-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>

Hi Hal,

On 11:00 Mon 11 Apr     , Hal Rosenstock wrote:
> 
> alias GUIDs are those indicated in SM GUIDInfo attribute
> (other than index 0) and are created/removed via SA Set/Delete
> of GUIDInfoRecord per IBTA MgtWG errata RefIDs 4704-4706.
> 
> Up to now, this attribute was unneeded by the SM as only base port
> GUIDs were supported (and are available from the SM NodeInfo attribute).
> 
> In order to support alias GUIDs, a new alias GUID table is to be added
> indexed by alias GUID, each containing a pointer to the base port. The
> routines for creating and removing alias GUID table entries are added
> by this patch. Also, a pointer to the alias port GUIDs provided by the
> SM GUIDInfo attribute is added to the osm_physp_t structure.
> 
> Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> ---
> diff --git a/include/opensm/osm_port.h b/include/opensm/osm_port.h
> index ee9feec..3433e31 100644
> --- a/include/opensm/osm_port.h
> +++ b/include/opensm/osm_port.h
> @@ -1,6 +1,6 @@
>  /*
>   * Copyright (c) 2004-2009 Voltaire, Inc. All rights reserved.
> - * Copyright (c) 2002-2007 Mellanox Technologies LTD. All rights reserved.
> + * Copyright (c) 2002-2010 Mellanox Technologies LTD. All rights reserved.
>   * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
>   *
>   * This software is available to you under a choice of one of two
> @@ -105,6 +105,7 @@ struct osm_mgrp;
>  typedef struct osm_physp {
>  	ib_port_info_t port_info;
>  	ib_net64_t port_guid;
> +	ib_net64_t (*p_guids)[];

Can we use only one array for port guids? I guess port_guid would be always
the first element of p_guids[].


-- Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2011-04-20 12:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-11 15:00 [PATCH 1/2] opensm/osm_port: Add infrastructure for alias GUID support Hal Rosenstock
     [not found] ` <4DA31781.7070606-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-04-20 12:08   ` Alex Netes [this message]
     [not found]     ` <20110420120854.GA28761-iQai9MGU/dyyaiaB+Ve85laTQe2KTcn/@public.gmane.org>
2011-04-20 12:20       ` Hal Rosenstock
     [not found]         ` <4DAECF94.7000903-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-04-20 12:39           ` Alex Netes
     [not found]             ` <20110420123947.GB28761-iQai9MGU/dyyaiaB+Ve85laTQe2KTcn/@public.gmane.org>
2011-04-20 13:00               ` Hal Rosenstock
2011-04-27 16:08   ` Alex Netes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110420120854.GA28761@calypso.voltaire.com \
    --to=alexne-vpraknaxozvwk0htik3j/w@public.gmane.org \
    --cc=hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox