[opensm] delete unused files
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 23 Sep 2007 10:36:08 +0000 (10:36 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 23 Sep 2007 10:36:08 +0000 (10:36 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@830 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/opensm/user/include/opensm/osm_ft_config_ctrl.h [deleted file]
ulp/opensm/user/include/opensm/osm_mcast_config_ctrl.h [deleted file]
ulp/opensm/user/include/opensm/osm_mcmember.h [deleted file]
ulp/opensm/user/include/opensm/osm_pi_config_ctrl.h [deleted file]
ulp/opensm/user/include/opensm/osm_pkey_config_ctrl.h [deleted file]
ulp/opensm/user/include/opensm/osm_sm_info_get_ctrl.h [deleted file]
ulp/opensm/user/include/opensm/osm_subnet_config_ctrl.h [deleted file]
ulp/opensm/user/include/opensm/osm_ucast_updn.h [deleted file]

diff --git a/ulp/opensm/user/include/opensm/osm_ft_config_ctrl.h b/ulp/opensm/user/include/opensm/osm_ft_config_ctrl.h
deleted file mode 100644 (file)
index d42f36e..0000000
+++ /dev/null
@@ -1,227 +0,0 @@
-/*
- * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved.
- * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
- * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
- *
- * This software is available to you under the OpenIB.org BSD license
- * below:
- *
- *     Redistribution and use in source and binary forms, with or
- *     without modification, are permitted provided that the following
- *     conditions are met:
- *
- *      - Redistributions of source code must retain the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer.
- *
- *      - Redistributions in binary form must reproduce the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer in the documentation and/or other materials
- *        provided with the distribution.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- * $Id$
- */
-
-
-/*
- * Abstract:
- *     Declaration of osm_ft_conf_ctrl_t.
- *     This object represents a controller that performs a 
- *     Set(Linear/Random ForwardingTable) for the specified switch.
- *     This object is part of the OpenSM family of objects.
- *
- * Environment:
- *     Linux User Mode
- *
- * $Revision: 1.4 $
- */
-
-#ifndef _OSM_FT_CONFIG_CTRL_H_
-#define _OSM_FT_CONFIG_CTRL_H_
-
-#ifdef __cplusplus
-#  define BEGIN_C_DECLS extern "C" {
-#  define END_C_DECLS   }
-#else /* !__cplusplus */
-#  define BEGIN_C_DECLS
-#  define END_C_DECLS
-#endif /* __cplusplus */
-
-BEGIN_C_DECLS
-
-/****h* OpenSM/Forwarding Table Configuration Controller
-* NAME
-*      Forwarding Table Configuration Controller
-*
-* DESCRIPTION
-*      The Forwarding Table Configuration Controller object encapsulates the
-*      information needed to Set(Linear/Random ForwardingTable) at the
-*      specified switch.
-*
-*      The Forwarding Table Configuration Controller object is thread safe.
-*
-*      This object should be treated as opaque and should be
-*      manipulated only through the provided functions.
-*
-* AUTHOR
-*      Steve King, Intel
-*
-*********/
-/****s* OpenSM: Forwarding Table Configuration Controller/osm_ft_conf_ctrl_t
-* NAME
-*      osm_ft_conf_ctrl_t
-*
-* DESCRIPTION
-*      Forwarding Table Configuration Controller structure.
-*
-*      This object should be treated as opaque and should
-*      be manipulated only through the provided functions.
-*
-* SYNOPSIS
-*/
-typedef struct _osm_ft_conf_ctrl
-{
-       osm_subn_t                                      *p_subn;
-       osm_log_t                                       *p_log;
-       cl_plock_t                                      *p_lock;
-       cl_dispatcher_t                         *p_disp;
-
-} osm_ft_conf_ctrl_t;
-/*
-* FIELDS
-*      p_subn
-*              Pointer to the Subnet object for this subnet.
-*
-*      p_log
-*              Pointer to the log object.
-*
-*      p_lock
-*              Pointer to the serializing lock.
-*
-*      p_disp
-*              Pointer to the Dispatcher.
-*
-* SEE ALSO
-*      Forwarding Table Configuration Controller object
-*********/
-/****f* OpenSM: Forwarding Table Configuration Controller/osm_ft_conf_ctrl_construct
-* NAME
-*      osm_ft_conf_ctrl_construct
-*
-* DESCRIPTION
-*      This function constructs a Forwarding Table Configuration Controller object.
-*
-* SYNOPSIS
-*/
-void osm_ft_conf_ctrl_construct(
-       IN osm_ft_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to a Forwarding Table Configuration Controller object to construct.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Allows calling osm_ft_conf_ctrl_init, osm_ft_conf_ctrl_destroy
-*
-*      Calling osm_ft_conf_ctrl_construct is a prerequisite to calling any other
-*      method except osm_ft_conf_ctrl_init.
-*
-* SEE ALSO
-*      Forwarding Table Configuration Controller object, osm_ft_conf_ctrl_init,
-*      osm_ft_conf_ctrl_destroy
-*********/
-
-/****f* OpenSM: Forwarding Table Configuration Controller/osm_ft_conf_ctrl_destroy
-* NAME
-*      osm_ft_conf_ctrl_destroy
-*
-* DESCRIPTION
-*      The osm_ft_conf_ctrl_destroy function destroys the object, releasing
-*      all resources.
-*
-* SYNOPSIS
-*/
-void
-osm_ft_conf_ctrl_destroy(
-       IN osm_ft_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to the object to destroy.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Performs any necessary cleanup of the specified
-*      Forwarding Table Configuration Controller object.
-*      Further operations should not be attempted on the destroyed object.
-*      This function should only be called after a call to
-*      osm_ft_conf_ctrl_construct or osm_ft_conf_ctrl_init.
-*
-* SEE ALSO
-*      Forwarding Table Configuration Controller object, osm_ft_conf_ctrl_construct,
-*      osm_ft_conf_ctrl_init
-*********/
-
-/****f* OpenSM: Forwarding Table Configuration Controller/osm_ft_conf_ctrl_init
-* NAME
-*      osm_ft_conf_ctrl_init
-*
-* DESCRIPTION
-*      The osm_ft_conf_ctrl_init function initializes a
-*      Forwarding Table Configuration Controller object for use.
-*
-* SYNOPSIS
-*/
-ib_api_status_t
-osm_ft_conf_ctrl_init(
-       IN osm_ft_conf_ctrl_t* const p_ctrl,
-       IN osm_subn_t* const p_subn,
-       IN osm_log_t* const p_log,
-       IN cl_plock_t* const p_lock,
-       IN cl_dispatcher_t* const p_disp );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_ft_conf_ctrl_t object to initialize.
-*
-*      p_subn
-*              [in] Pointer to the Subnet object for this subnet.
-*
-*      p_log
-*              [in] Pointer to the log object.
-*
-*      p_lock
-*              [in] Pointer to the OpenSM serializing lock.
-*
-*      p_disp
-*              [in] Pointer to the OpenSM central Dispatcher.
-*
-* RETURN VALUES
-*      CL_SUCCESS if the Forwarding Table Configuration Controller object was initialized
-*      successfully.
-*
-* NOTES
-*      Allows calling other Forwarding Table Configuration Controller methods.
-*
-* SEE ALSO
-*      Forwarding Table Configuration Controller object, osm_ft_conf_ctrl_construct,
-*      osm_ft_conf_ctrl_destroy
-*********/
-
-END_C_DECLS
-
-#endif /* _OSM_FT_CONFIG_CTRL_H_ */
diff --git a/ulp/opensm/user/include/opensm/osm_mcast_config_ctrl.h b/ulp/opensm/user/include/opensm/osm_mcast_config_ctrl.h
deleted file mode 100644 (file)
index 17390ba..0000000
+++ /dev/null
@@ -1,288 +0,0 @@
-/*
- * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved.
- * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
- * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
- *
- * This software is available to you under the OpenIB.org BSD license
- * below:
- *
- *     Redistribution and use in source and binary forms, with or
- *     without modification, are permitted provided that the following
- *     conditions are met:
- *
- *      - Redistributions of source code must retain the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer.
- *
- *      - Redistributions in binary form must reproduce the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer in the documentation and/or other materials
- *        provided with the distribution.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- * $Id$
- */
-
-
-/*
- * Abstract:
- *     Declaration of osm_mcast_conf_ctrl_t.
- *     This object represents a controller that performs a 
- *     Set(MulticastForwardingTable) for the specified port.
- *     This object is part of the OpenSM family of objects.
- *
- * Environment:
- *     Linux User Mode
- *
- * $Revision: 1.4 $
- */
-
-#ifndef _OSM_MCAST_CONFIG_CTRL_H_
-#define _OSM_MCAST_CONFIG_CTRL_H_
-
-#ifdef __cplusplus
-#  define BEGIN_C_DECLS extern "C" {
-#  define END_C_DECLS   }
-#else /* !__cplusplus */
-#  define BEGIN_C_DECLS
-#  define END_C_DECLS
-#endif /* __cplusplus */
-
-BEGIN_C_DECLS
-
-/****h* OpenSM/Multicast Forwarding Table Configuration Controller
-* NAME
-*      Multicast Forwarding Table Configuration Controller
-*
-* DESCRIPTION
-*      The Multicast Forwarding Table Configuration Controller object
-*      encapsulates the information needed to Set(MulticastForwardingTable)
-*      at the specified port.
-*
-*      The Multicast Forwarding Table Configuration Controller object
-*      is thread safe.
-*
-*      This object should be treated as opaque and should be
-*      manipulated only through the provided functions.
-*
-* AUTHOR
-*      Steve King, Intel
-*
-*********/
-/****s* OpenSM: Multicast Forwarding Table Configuration Controller/osm_mcast_conf_ctrl_t
-* NAME
-*      osm_mcast_conf_ctrl_t
-*
-* DESCRIPTION
-*      Multicast Forwarding Table Configuration Controller structure.
-*
-*      This object should be treated as opaque and should
-*      be manipulated only through the provided functions.
-*
-* SYNOPSIS
-*/
-typedef struct _osm_mcast_conf_ctrl
-{
-       osm_subn_t                                      *p_subn;
-       osm_log_t                                       *p_log;
-       cl_plock_t                                      *p_lock;
-       cl_dispatcher_t                         *p_disp;
-
-} osm_mcast_conf_ctrl_t;
-/*
-* FIELDS
-*      p_subn
-*              Pointer to the Subnet object for this subnet.
-*
-*      p_log
-*              Pointer to the log object.
-*
-*      p_lock
-*              Pointer to the serializing lock.
-*
-*      p_disp
-*              Pointer to the Dispatcher.
-*
-* SEE ALSO
-*      Multicast Forwarding Table Configuration Controller object
-*********/
-/****f* OpenSM: Multicast Forwarding Table Configuration Controller/osm_mcast_conf_ctrl_construct
-* NAME
-*      osm_mcast_conf_ctrl_construct
-*
-* DESCRIPTION
-*      This function constructs a Multicast Forwarding Table Configuration Controller object.
-*
-* SYNOPSIS
-*/
-void osm_mcast_conf_ctrl_construct(
-       IN osm_mcast_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to a Multicast Forwarding Table Configuration Controller object to construct.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Allows calling osm_mcast_conf_ctrl_init, osm_mcast_conf_ctrl_destroy,
-*      and osm_mcast_conf_ctrl_is_inited.
-*
-*      Calling osm_mcast_conf_ctrl_construct is a prerequisite to calling any other
-*      method except osm_mcast_conf_ctrl_init.
-*
-* SEE ALSO
-*      Multicast Forwarding Table Configuration Controller object, osm_mcast_conf_ctrl_init,
-*      osm_mcast_conf_ctrl_destroy, osm_mcast_conf_ctrl_is_inited
-*********/
-
-/****f* OpenSM: Multicast Forwarding Table Configuration Controller/osm_mcast_conf_ctrl_destroy
-* NAME
-*      osm_mcast_conf_ctrl_destroy
-*
-* DESCRIPTION
-*      The osm_mcast_conf_ctrl_destroy function destroys the object, releasing
-*      all resources.
-*
-* SYNOPSIS
-*/
-void osm_mcast_conf_ctrl_destroy(
-       IN osm_mcast_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to the object to destroy.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Performs any necessary cleanup of the specified
-*      Multicast Forwarding Table Configuration Controller object.
-*      Further operations should not be attempted on the destroyed object.
-*      This function should only be called after a call to
-*      osm_mcast_conf_ctrl_construct or osm_mcast_conf_ctrl_init.
-*
-* SEE ALSO
-*      Multicast Forwarding Table Configuration Controller object, osm_mcast_conf_ctrl_construct,
-*      osm_mcast_conf_ctrl_init
-*********/
-
-/****f* OpenSM: Multicast Forwarding Table Configuration Controller/osm_mcast_conf_ctrl_init
-* NAME
-*      osm_mcast_conf_ctrl_init
-*
-* DESCRIPTION
-*      The osm_mcast_conf_ctrl_init function initializes a
-*      Multicast Forwarding Table Configuration Controller object for use.
-*
-* SYNOPSIS
-*/
-ib_api_status_t osm_mcast_conf_ctrl_init(
-       IN osm_mcast_conf_ctrl_t* const p_ctrl,
-       IN osm_subn_t* const p_subn,
-       IN osm_log_t* const p_log,
-       IN cl_plock_t* const p_lock,
-       IN cl_dispatcher_t* const p_disp );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_mcast_conf_ctrl_t object to initialize.
-*
-*      p_subn
-*              [in] Pointer to the Subnet object for this subnet.
-*
-*      p_log
-*              [in] Pointer to the log object.
-*
-*      p_lock
-*              [in] Pointer to the OpenSM serializing lock.
-*
-*      p_disp
-*              [in] Pointer to the OpenSM central Dispatcher.
-*
-* RETURN VALUES
-*      CL_SUCCESS if the Multicast Forwarding Table Configuration Controller object was initialized
-*      successfully.
-*
-* NOTES
-*      Allows calling other Multicast Forwarding Table Configuration Controller methods.
-*
-* SEE ALSO
-*      Multicast Forwarding Table Configuration Controller object, osm_mcast_conf_ctrl_construct,
-*      osm_mcast_conf_ctrl_destroy, osm_mcast_conf_ctrl_is_inited
-*********/
-
-/****f* OpenSM: Multicast Forwarding Table Configuration Controller/osm_mcast_conf_ctrl_is_inited
-* NAME
-*      osm_mcast_conf_ctrl_is_inited
-*
-* DESCRIPTION
-*      Indicates if the object has been initialized with osm_mcast_conf_ctrl_init.
-*
-* SYNOPSIS
-*/
-boolean_t osm_mcast_conf_ctrl_is_inited(
-       IN const osm_mcast_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_mcast_conf_ctrl_t object.
-*
-* RETURN VALUES
-*      TRUE if the object was initialized successfully,
-*      FALSE otherwise.
-*
-* NOTES
-*      The osm_mcast_conf_ctrl_construct or osm_mcast_conf_ctrl_init must be
-*      called before using     this function.
-*
-* SEE ALSO
-*      Multicast Forwarding Table Configuration Controller object, osm_mcast_conf_ctrl_construct,
-*      osm_mcast_conf_ctrl_init
-*********/
-
-/****f* OpenSM: Multicast Forwarding Table Configuration Controller/osm_mcast_conf_ctrl_process
-* NAME
-*      osm_mcast_conf_ctrl_process
-*
-* DESCRIPTION
-*      Initiate a MulticastForwardingTable configuration.
-*
-* SYNOPSIS
-*/
-ib_api_status_t osm_mcast_conf_ctrl_process(
-       IN const osm_mcast_conf_ctrl_t* const p_ctrl,
-       IN const ib_guid_t guid );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_mcast_conf_ctrl_t object.
-*
-*      guid
-*              [in] Node GUID of switch to configure.
-*
-* RETURN VALUES
-*      CL_SUCCESS if configuration processing was successfully
-*      initiated.
-*
-* NOTES
-*      A success status here does not indicate that
-*      the Multicast Forwarding Table configuration completed successfully.
-*
-* SEE ALSO
-*      Multicast Forwarding Table Configuration Controller
-*********/
-       
-END_C_DECLS
-
-#endif /* _OSM_MCAST_CONFIG_CTRL_H_ */
diff --git a/ulp/opensm/user/include/opensm/osm_mcmember.h b/ulp/opensm/user/include/opensm/osm_mcmember.h
deleted file mode 100644 (file)
index ab47ea2..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
-/*
- * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved.
- * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
- * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
- *
- * This software is available to you under the OpenIB.org BSD license
- * below:
- *
- *     Redistribution and use in source and binary forms, with or
- *     without modification, are permitted provided that the following
- *     conditions are met:
- *
- *      - Redistributions of source code must retain the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer.
- *
- *      - Redistributions in binary form must reproduce the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer in the documentation and/or other materials
- *        provided with the distribution.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- * $Id$
- */
-
-
-/*
- * Abstract:
- *     Declaration of osm_mcmember_t.
- *     This object represents an IBA mcmember.
- *     This object is part of the OpenSM family of objects.
- *
- * Environment:
- *     Linux User Mode
- *
- * $Revision: 1.4 $
- */
-
-#ifndef _OSM_MCMEMBER_H_
-#define _OSM_MCMEMBER_H_
-
-#include <complib/cl_qmap.h>
-#include <complib/cl_qlist.h>
-#include <iba/ib_types.h>
-#include <opensm/osm_base.h>
-
-#ifdef __cplusplus
-#  define BEGIN_C_DECLS extern "C" {
-#  define END_C_DECLS   }
-#else /* !__cplusplus */
-#  define BEGIN_C_DECLS
-#  define END_C_DECLS
-#endif /* __cplusplus */
-
-BEGIN_C_DECLS
-
-/****h* OpenSM/MCMember
-* NAME
-*      MCMember
-*
-* DESCRIPTION
-*      The MCMember object encapsulates the information needed by the
-*      OpenSM to manage mcmembers.  The OpenSM allocates one MCMember object
-*      per mcmember in the IBA subnet.
-*
-*      The MCMember object is not thread safe, thus callers must provide
-*      serialization.
-*
-*      This object should be treated as opaque and should be
-*      manipulated only through the provided functions.
-*
-* AUTHOR
-*      Ranjit Pandit, Intel
-*
-*********/
-/****s* OpenSM: MCMember/osm_mcmember_t
-* NAME
-*      osm_mcmember_t
-*
-* DESCRIPTION
-*      MCMember structure.
-*
-*      This object should be treated as opaque and should
-*      be manipulated only through the provided functions.
-*
-* SYNOPSIS
-*/
-typedef struct _osm_mcmember
-{
-       cl_map_item_t                           map_item;
-       ib_member_rec_t                         mcmember_rec;
-       cl_qlist_t                                      mcmember_port_list;
-
-} osm_mcmember_t;
-
-/*
-* FIELDS
-*      map_item
-*              Linkage structure for cl_qmap.  MUST BE FIRST MEMBER!
-*
-*      mcmember_rec
-*              The IBA defined MCMemberRecord data for this mcmember.
-*
-*      member_port_list
-*              List of Port specific information for each port that in
-*              member of a MultiCast Group.
-*
-* SEE ALSO
-*      MCMember object
-*********/
-
-/****s* OpenSM: MCMember/osm_mcmember_t
-* NAME
-*   osm_mcmember_t
-*
-* DESCRIPTION
-*   MCMember structure.
-*
-*   This object should be treated as opaque and should
-*   be manipulated only through the provided functions.
-*
-* SYNOPSIS
-*/
-typedef struct _osm_mcmember_port
-{
-    cl_list_item_t         list_item;
-       ib_gid_t                                port_gid;
-       uint8_t                                 scope_state;
-
-} osm_mcmember_port_t;
-
-/*
-* FIELDS
-*      list_item
-*              DESCRIPTION???
-*
-*      port_gid
-*              DESCRIPTION???
-*
-*      scope_state
-*              description???
-*
-* SEE ALSO
-*      MCMember object
-*********/
-
-END_C_DECLS
-
-#endif /* _OSM_MCMEMBER_H_ */
diff --git a/ulp/opensm/user/include/opensm/osm_pi_config_ctrl.h b/ulp/opensm/user/include/opensm/osm_pi_config_ctrl.h
deleted file mode 100644 (file)
index ab5ea3a..0000000
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
- * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved.
- * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
- * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
- *
- * This software is available to you under the OpenIB.org BSD license
- * below:
- *
- *     Redistribution and use in source and binary forms, with or
- *     without modification, are permitted provided that the following
- *     conditions are met:
- *
- *      - Redistributions of source code must retain the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer.
- *
- *      - Redistributions in binary form must reproduce the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer in the documentation and/or other materials
- *        provided with the distribution.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- * $Id$
- */
-
-
-/*
- * Abstract:
- *     Declaration of osm_pi_conf_ctrl_t.
- *     This object represents a controller that performs a 
- *     Set(PortInfo) for the specified port.
- *     This object is part of the OpenSM family of objects.
- *
- * Environment:
- *     Linux User Mode
- *
- * $Revision: 1.4 $
- */
-
-#ifndef _OSM_PI_CONFIG_CTRL_H_
-#define _OSM_PI_CONFIG_CTRL_H_
-
-#ifdef __cplusplus
-#  define BEGIN_C_DECLS extern "C" {
-#  define END_C_DECLS   }
-#else /* !__cplusplus */
-#  define BEGIN_C_DECLS
-#  define END_C_DECLS
-#endif /* __cplusplus */
-
-BEGIN_C_DECLS
-
-/****h* OpenSM/Port Info Configuration Controller
-* NAME
-*      Port Info Configuration Controller
-*
-* DESCRIPTION
-*      The Port Info Configuration Controller object encapsulates the
-*      information needed to Set(PortInfo) at the specified port.
-*
-*      The Port Info Configuration Controller object is thread safe.
-*
-*      This object should be treated as opaque and should be
-*      manipulated only through the provided functions.
-*
-* AUTHOR
-*      Steve King, Intel
-*
-*********/
-/****s* OpenSM: Port Info Configuration Controller/osm_pi_conf_ctrl_t
-* NAME
-*      osm_pi_conf_ctrl_t
-*
-* DESCRIPTION
-*      Port Info Configuration Controller structure.
-*
-*      This object should be treated as opaque and should
-*      be manipulated only through the provided functions.
-*
-* SYNOPSIS
-*/
-typedef struct _osm_pi_conf_ctrl
-{
-       osm_subn_t                                      *p_subn;
-       osm_log_t                                       *p_log;
-       cl_plock_t                                      *p_lock;
-       cl_dispatcher_t                         *p_disp;
-
-} osm_pi_conf_ctrl_t;
-/*
-* FIELDS
-*      p_subn
-*              Pointer to the Subnet object for this subnet.
-*
-*      p_log
-*              Pointer to the log object.
-*
-*      p_lock
-*              Pointer to the serializing lock.
-*
-*      p_disp
-*              Pointer to the Dispatcher.
-*
-* SEE ALSO
-*      Port Info Configuration Controller object
-*********/
-/****f* OpenSM: Port Info Configuration Controller/osm_pi_conf_ctrl_construct
-* NAME
-*      osm_pi_conf_ctrl_construct
-*
-* DESCRIPTION
-*      This function constructs a Port Info Configuration Controller object.
-*
-* SYNOPSIS
-*/
-void osm_pi_conf_ctrl_construct(
-       IN osm_pi_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to a Port Info Configuration Controller object to construct.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Allows calling osm_pi_conf_ctrl_init, osm_pi_conf_ctrl_destroy,
-*      and osm_pi_conf_ctrl_is_inited.
-*
-*      Calling osm_pi_conf_ctrl_construct is a prerequisite to calling any other
-*      method except osm_pi_conf_ctrl_init.
-*
-* SEE ALSO
-*      Port Info Configuration Controller object, osm_pi_conf_ctrl_init,
-*      osm_pi_conf_ctrl_destroy, osm_pi_conf_ctrl_is_inited
-*********/
-
-/****f* OpenSM: Port Info Configuration Controller/osm_pi_conf_ctrl_destroy
-* NAME
-*      osm_pi_conf_ctrl_destroy
-*
-* DESCRIPTION
-*      The osm_pi_conf_ctrl_destroy function destroys the object, releasing
-*      all resources.
-*
-* SYNOPSIS
-*/
-void osm_pi_conf_ctrl_destroy(
-       IN osm_pi_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to the object to destroy.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Performs any necessary cleanup of the specified
-*      Port Info Configuration Controller object.
-*      Further operations should not be attempted on the destroyed object.
-*      This function should only be called after a call to
-*      osm_pi_conf_ctrl_construct or osm_pi_conf_ctrl_init.
-*
-* SEE ALSO
-*      Port Info Configuration Controller object, osm_pi_conf_ctrl_construct,
-*      osm_pi_conf_ctrl_init
-*********/
-
-/****f* OpenSM: Port Info Configuration Controller/osm_pi_conf_ctrl_init
-* NAME
-*      osm_pi_conf_ctrl_init
-*
-* DESCRIPTION
-*      The osm_pi_conf_ctrl_init function initializes a
-*      Port Info Configuration Controller object for use.
-*
-* SYNOPSIS
-*/
-ib_api_status_t osm_pi_conf_ctrl_init(
-       IN osm_pi_conf_ctrl_t* const p_ctrl,
-       IN osm_subn_t* const p_subn,
-       IN osm_log_t* const p_log,
-       IN cl_plock_t* const p_lock,
-       IN cl_dispatcher_t* const p_disp );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_pi_conf_ctrl_t object to initialize.
-*
-*      p_subn
-*              [in] Pointer to the Subnet object for this subnet.
-*
-*      p_log
-*              [in] Pointer to the log object.
-*
-*      p_lock
-*              [in] Pointer to the OpenSM serializing lock.
-*
-*      p_disp
-*              [in] Pointer to the OpenSM central Dispatcher.
-*
-* RETURN VALUES
-*      CL_SUCCESS if the Port Info Configuration Controller object was initialized
-*      successfully.
-*
-* NOTES
-*      Allows calling other Port Info Configuration Controller methods.
-*
-* SEE ALSO
-*      Port Info Configuration Controller object, osm_pi_conf_ctrl_construct,
-*      osm_pi_conf_ctrl_destroy, osm_pi_conf_ctrl_is_inited
-*********/
-
-/****f* OpenSM: Port Info Configuration Controller/osm_pi_conf_ctrl_is_inited
-* NAME
-*      osm_pi_conf_ctrl_is_inited
-*
-* DESCRIPTION
-*      Indicates if the object has been initialized with osm_pi_conf_ctrl_init.
-*
-* SYNOPSIS
-*/
-boolean_t osm_pi_conf_ctrl_is_inited(
-       IN const osm_pi_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_pi_conf_ctrl_t object.
-*
-* RETURN VALUES
-*      TRUE if the object was initialized successfully,
-*      FALSE otherwise.
-*
-* NOTES
-*      The osm_pi_conf_ctrl_construct or osm_pi_conf_ctrl_init must be
-*      called before using     this function.
-*
-* SEE ALSO
-*      Port Info Configuration Controller object, osm_pi_conf_ctrl_construct,
-*      osm_pi_conf_ctrl_init
-*********/
-
-/****f* OpenSM: Port Info Configuration Controller/osm_pi_conf_ctrl_process
-* NAME
-*      osm_pi_conf_ctrl_process
-*
-* DESCRIPTION
-*      Initiate a PortInfo configuration.
-*
-* SYNOPSIS
-*/
-ib_api_status_t osm_pi_conf_ctrl_process(
-       IN const osm_pi_conf_ctrl_t* const p_ctrl,
-       IN const ib_guid_t guid );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_pi_conf_ctrl_t object.
-*
-*      guid
-*              [in] GUID of port to configure.
-*
-* RETURN VALUES
-*      CL_SUCCESS if configuration processing was successfully
-*      initiated.
-*
-* NOTES
-*      A success status here does not indicate that
-*      the PortInfo configuration process completed successfully.
-*
-* SEE ALSO
-*      Port Info Configuration Controller
-*********/
-       
-END_C_DECLS
-
-#endif /* _OSM_PI_CONFIG_CTRL_H_ */
diff --git a/ulp/opensm/user/include/opensm/osm_pkey_config_ctrl.h b/ulp/opensm/user/include/opensm/osm_pkey_config_ctrl.h
deleted file mode 100644 (file)
index 070399d..0000000
+++ /dev/null
@@ -1,286 +0,0 @@
-/*
- * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved.
- * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
- * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
- *
- * This software is available to you under the OpenIB.org BSD license
- * below:
- *
- *     Redistribution and use in source and binary forms, with or
- *     without modification, are permitted provided that the following
- *     conditions are met:
- *
- *      - Redistributions of source code must retain the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer.
- *
- *      - Redistributions in binary form must reproduce the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer in the documentation and/or other materials
- *        provided with the distribution.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- * $Id$
- */
-
-
-/*
- * Abstract:
- *     Declaration of osm_pkey_conf_ctrl_t.
- *     This object represents a controller that performs a 
- *     Set(P_KeyTable) for the specified port.
- *     This object is part of the OpenSM family of objects.
- *
- * Environment:
- *     Linux User Mode
- *
- * $Revision: 1.4 $
- */
-
-#ifndef _OSM_PKEY_CONFIG_CTRL_H_
-#define _OSM_PKEY_CONFIG_CTRL_H_
-
-#ifdef __cplusplus
-#  define BEGIN_C_DECLS extern "C" {
-#  define END_C_DECLS   }
-#else /* !__cplusplus */
-#  define BEGIN_C_DECLS
-#  define END_C_DECLS
-#endif /* __cplusplus */
-
-BEGIN_C_DECLS
-
-/****h* OpenSM/P_Key Table Configuration Controller
-* NAME
-*      P_Key Table Configuration Controller
-*
-* DESCRIPTION
-*      The P_Key Table Configuration Controller object encapsulates the
-*      information needed to Set(PortInfo) at the specified port.
-*
-*      The P_Key Table Configuration Controller object is thread safe.
-*
-*      This object should be treated as opaque and should be
-*      manipulated only through the provided functions.
-*
-* AUTHOR
-*      Steve King, Intel
-*
-*********/
-/****s* OpenSM: P_Key Table Configuration Controller/osm_pkey_conf_ctrl_t
-* NAME
-*      osm_pkey_conf_ctrl_t
-*
-* DESCRIPTION
-*      P_Key Table Configuration Controller structure.
-*
-*      This object should be treated as opaque and should
-*      be manipulated only through the provided functions.
-*
-* SYNOPSIS
-*/
-typedef struct _osm_pkey_conf_ctrl
-{
-       osm_subn_t                                      *p_subn;
-       osm_log_t                                       *p_log;
-       cl_plock_t                                      *p_lock;
-       cl_dispatcher_t                         *p_disp;
-
-} osm_pkey_conf_ctrl_t;
-/*
-* FIELDS
-*      p_subn
-*              Pointer to the Subnet object for this subnet.
-*
-*      p_log
-*              Pointer to the log object.
-*
-*      p_lock
-*              Pointer to the serializing lock.
-*
-*      p_disp
-*              Pointer to the Dispatcher.
-*
-* SEE ALSO
-*      P_Key Table Configuration Controller object
-*********/
-/****f* OpenSM: P_Key Table Configuration Controller/osm_pkey_conf_ctrl_construct
-* NAME
-*      osm_pkey_conf_ctrl_construct
-*
-* DESCRIPTION
-*      This function constructs a P_Key Table Configuration Controller object.
-*
-* SYNOPSIS
-*/
-void osm_pkey_conf_ctrl_construct(
-       IN osm_pkey_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to a P_Key Table Configuration Controller object to construct.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Allows calling osm_pkey_conf_ctrl_init, osm_pkey_conf_ctrl_destroy,
-*      and osm_pkey_conf_ctrl_is_inited.
-*
-*      Calling osm_pkey_conf_ctrl_construct is a prerequisite to calling any other
-*      method except osm_pkey_conf_ctrl_init.
-*
-* SEE ALSO
-*      P_Key Table Configuration Controller object, osm_pkey_conf_ctrl_init,
-*      osm_pkey_conf_ctrl_destroy, osm_pkey_conf_ctrl_is_inited
-*********/
-
-/****f* OpenSM: P_Key Table Configuration Controller/osm_pkey_conf_ctrl_destroy
-* NAME
-*      osm_pkey_conf_ctrl_destroy
-*
-* DESCRIPTION
-*      The osm_pkey_conf_ctrl_destroy function destroys the object, releasing
-*      all resources.
-*
-* SYNOPSIS
-*/
-void osm_pkey_conf_ctrl_destroy(
-       IN osm_pkey_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to the object to destroy.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Performs any necessary cleanup of the specified
-*      P_Key Table Configuration Controller object.
-*      Further operations should not be attempted on the destroyed object.
-*      This function should only be called after a call to
-*      osm_pkey_conf_ctrl_construct or osm_pkey_conf_ctrl_init.
-*
-* SEE ALSO
-*      P_Key Table Configuration Controller object, osm_pkey_conf_ctrl_construct,
-*      osm_pkey_conf_ctrl_init
-*********/
-
-/****f* OpenSM: P_Key Table Configuration Controller/osm_pkey_conf_ctrl_init
-* NAME
-*      osm_pkey_conf_ctrl_init
-*
-* DESCRIPTION
-*      The osm_pkey_conf_ctrl_init function initializes a
-*      P_Key Table Configuration Controller object for use.
-*
-* SYNOPSIS
-*/
-ib_api_status_t osm_pkey_conf_ctrl_init(
-       IN osm_pkey_conf_ctrl_t* const p_ctrl,
-       IN osm_subn_t* const p_subn,
-       IN osm_log_t* const p_log,
-       IN cl_plock_t* const p_lock,
-       IN cl_dispatcher_t* const p_disp );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_pkey_conf_ctrl_t object to initialize.
-*
-*      p_subn
-*              [in] Pointer to the Subnet object for this subnet.
-*
-*      p_log
-*              [in] Pointer to the log object.
-*
-*      p_lock
-*              [in] Pointer to the OpenSM serializing lock.
-*
-*      p_disp
-*              [in] Pointer to the OpenSM central Dispatcher.
-*
-* RETURN VALUES
-*      CL_SUCCESS if the P_Key Table Configuration Controller object was initialized
-*      successfully.
-*
-* NOTES
-*      Allows calling other P_Key Table Configuration Controller methods.
-*
-* SEE ALSO
-*      P_Key Table Configuration Controller object, osm_pkey_conf_ctrl_construct,
-*      osm_pkey_conf_ctrl_destroy, osm_pkey_conf_ctrl_is_inited
-*********/
-
-/****f* OpenSM: P_Key Table Configuration Controller/osm_pkey_conf_ctrl_is_inited
-* NAME
-*      osm_pkey_conf_ctrl_is_inited
-*
-* DESCRIPTION
-*      Indicates if the object has been initialized with osm_pkey_conf_ctrl_init.
-*
-* SYNOPSIS
-*/
-boolean_t osm_pkey_conf_ctrl_is_inited(
-       IN const osm_pkey_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_pkey_conf_ctrl_t object.
-*
-* RETURN VALUES
-*      TRUE if the object was initialized successfully,
-*      FALSE otherwise.
-*
-* NOTES
-*      The osm_pkey_conf_ctrl_construct or osm_pkey_conf_ctrl_init must be
-*      called before using     this function.
-*
-* SEE ALSO
-*      P_Key Table Configuration Controller object, osm_pkey_conf_ctrl_construct,
-*      osm_pkey_conf_ctrl_init
-*********/
-
-/****f* OpenSM: P_Key Table Configuration Controller/osm_pkey_conf_ctrl_process
-* NAME
-*      osm_pkey_conf_ctrl_process
-*
-* DESCRIPTION
-*      Initiate a P_KeyTable configuration.
-*
-* SYNOPSIS
-*/
-ib_api_status_t osm_pkey_conf_ctrl_process(
-       IN const osm_pkey_conf_ctrl_t* const p_ctrl,
-       IN const ib_guid_t guid );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_pkey_conf_ctrl_t object.
-*
-*      guid
-*              [in] GUID of port to configure.
-*
-* RETURN VALUES
-*      CL_SUCCESS if configuration processing was successfully
-*      initiated.
-*
-* NOTES
-*      A success status here does not indicate that
-*      the P_Key Table configuration completed successfully.
-*
-* SEE ALSO
-*      P_Key Table Configuration Controller
-*********/
-       
-END_C_DECLS
-
-#endif /* _OSM_PKEY_CONFIG_CTRL_H_ */
diff --git a/ulp/opensm/user/include/opensm/osm_sm_info_get_ctrl.h b/ulp/opensm/user/include/opensm/osm_sm_info_get_ctrl.h
deleted file mode 100644 (file)
index 52a43ce..0000000
+++ /dev/null
@@ -1,294 +0,0 @@
-/*
- * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved.
- * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
- * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
- *
- * This software is available to you under the OpenIB.org BSD license
- * below:
- *
- *     Redistribution and use in source and binary forms, with or
- *     without modification, are permitted provided that the following
- *     conditions are met:
- *
- *      - Redistributions of source code must retain the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer.
- *
- *      - Redistributions in binary form must reproduce the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer in the documentation and/or other materials
- *        provided with the distribution.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- * $Id$
- */
-
-
-/*
- * Abstract:
- *     Declaration of osm_smi_get_ctrl_t.
- *     This object represents a controller that receives the IBA SMInfo
- *     query from a node.
- *     This object is part of the OpenSM family of objects.
- *
- * Environment:
- *     Linux User Mode
- *
- * $Revision: 1.4 $
- */
-
-#ifndef _OSM_SM_INFO_GET_CTRL_H_
-#define _OSM_SM_INFO_GET_CTRL_H_
-
-#ifdef __cplusplus
-#  define BEGIN_C_DECLS extern "C" {
-#  define END_C_DECLS   }
-#else /* !__cplusplus */
-#  define BEGIN_C_DECLS
-#  define END_C_DECLS
-#endif /* __cplusplus */
-
-BEGIN_C_DECLS
-
-/****h* OpenSM/SM Info Get Controller
-* NAME
-*      SM Info Get Controller
-*
-* DESCRIPTION
-*      The SM Info Get Controller object encapsulates the information
-*      needed to handle the SwitchInfo query from a node.
-*
-*      The SM Info Get Controller object is thread safe.
-*
-*      This object should be treated as opaque and should be
-*      manipulated only through the provided functions.
-*
-* AUTHOR
-*      Steve King, Intel
-*
-*********/
-/****s* OpenSM: SM Info Get Controller/osm_smi_get_ctrl_t
-* NAME
-*      osm_smi_get_ctrl_t
-*
-* DESCRIPTION
-*      SM Info Get Controller structure.
-*
-*      This object should be treated as opaque and should
-*      be manipulated only through the provided functions.
-*
-* SYNOPSIS
-*/
-typedef struct _osm_smi_get_ctrl
-{
-       osm_sminfo_t                            *p_smi;
-       osm_mad_pool_t                          *p_pool;
-       osm_log_t                                       *p_log;
-       cl_plock_t                                      *p_lock;
-       cl_dispatcher_t                         *p_disp;
-
-} osm_smi_get_ctrl_t;
-/*
-* FIELDS
-*      p_smi
-*              Pointer to the SM Info object of the SM.
-*
-*      p_pool
-*              Pointer to the MAD pool.
-*
-*      p_log
-*              Pointer to the log object.
-*
-*      p_lock
-*              Pointer to the serializing lock.
-*
-*      p_disp
-*              Pointer to the Dispatcher.
-*
-* SEE ALSO
-*      SM Info Get Controller object
-*********/
-
-/****f* OpenSM: SM Info Get Controller/osm_smi_get_ctrl_construct
-* NAME
-*      osm_smi_get_ctrl_construct
-*
-* DESCRIPTION
-*      This function constructs a SM Info Get Controller object.
-*
-* SYNOPSIS
-*/
-void osm_smi_get_ctrl_construct(
-       IN osm_smi_get_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to a SM Info Get Controller object to construct.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Allows calling osm_smi_get_ctrl_init, osm_smi_get_ctrl_destroy,
-*      and osm_smi_get_ctrl_is_inited.
-*
-*      Calling osm_smi_get_ctrl_construct is a prerequisite to calling any other
-*      method except osm_smi_get_ctrl_init.
-*
-* SEE ALSO
-*      SM Info Get Controller object, osm_smi_get_ctrl_init,
-*      osm_smi_get_ctrl_destroy, osm_smi_get_ctrl_is_inited
-*********/
-
-/****f* OpenSM: SM Info Get Controller/osm_smi_get_ctrl_destroy
-* NAME
-*      osm_smi_get_ctrl_destroy
-*
-* DESCRIPTION
-*      The osm_smi_get_ctrl_destroy function destroys the object, releasing
-*      all resources.
-*
-* SYNOPSIS
-*/
-void osm_smi_get_ctrl_destroy(
-       IN osm_smi_get_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to the object to destroy.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Performs any necessary cleanup of the specified
-*      SM Info Get Controller object.
-*      Further operations should not be attempted on the destroyed object.
-*      This function should only be called after a call to
-*      osm_smi_get_ctrl_construct or osm_smi_get_ctrl_init.
-*
-* SEE ALSO
-*      SM Info Get Controller object, osm_smi_get_ctrl_construct,
-*      osm_smi_get_ctrl_init
-*********/
-
-/****f* OpenSM: SM Info Get Controller/osm_smi_get_ctrl_init
-* NAME
-*      osm_smi_get_ctrl_init
-*
-* DESCRIPTION
-*      The osm_smi_get_ctrl_init function initializes a
-*      SM Info Get Controller object for use.
-*
-* SYNOPSIS
-*/
-ib_api_status_t osm_smi_get_ctrl_init(
-       IN osm_smi_get_ctrl_t* const p_ctrl,
-       IN osm_sminfo_t* const p_smi,
-       IN osm_mad_pool_t* const p_mad_pool,
-       IN osm_log_t* const p_log,
-       IN cl_plock_t* const p_lock,
-       IN cl_dispatcher_t* const p_disp );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_smi_get_ctrl_t object to initialize.
-*
-*      p_smi
-*              [in] Pointer to the SMInfo object of the SM.
-*
-*      p_mad_pool
-*              [in] Pointer to the MAD pool.
-*
-*      p_log
-*              [in] Pointer to the log object.
-*
-*      p_lock
-*              [in] Pointer to the OpenSM serializing lock.
-*
-*      p_disp
-*              [in] Pointer to the OpenSM central Dispatcher.
-*
-* RETURN VALUES
-*      CL_SUCCESS if the SM Info Get Controller object was initialized
-*      successfully.
-*
-* NOTES
-*      Allows calling other SM Info Get Controller methods.
-*
-* SEE ALSO
-*      SM Info Get Controller object, osm_smi_get_ctrl_construct,
-*      osm_smi_get_ctrl_destroy, osm_smi_get_ctrl_is_inited
-*********/
-
-/****f* OpenSM: SM Info Get Controller/osm_smi_get_ctrl_is_inited
-* NAME
-*      osm_smi_get_ctrl_is_inited
-*
-* DESCRIPTION
-*      Indicates if the object has been initialized with osm_smi_get_ctrl_init.
-*
-* SYNOPSIS
-*/
-boolean_t osm_smi_get_ctrl_is_inited(
-       IN const osm_smi_get_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_smi_get_ctrl_t object.
-*
-* RETURN VALUES
-*      TRUE if the object was initialized successfully,
-*      FALSE otherwise.
-*
-* NOTES
-*      The osm_smi_get_ctrl_construct or osm_smi_get_ctrl_init must be
-*      called before using     this function.
-*
-* SEE ALSO
-*      SM Info Get Controller object, osm_smi_get_ctrl_construct,
-*      osm_smi_get_ctrl_init
-*********/
-
-/****f* OpenSM: SM Info Get Controller/osm_smi_get_ctrl_process
-* NAME
-*      osm_smi_get_ctrl_process
-*
-* DESCRIPTION
-*      Process the SwitchInfo attribute.
-*
-* SYNOPSIS
-*/
-ib_api_status_t osm_smi_get_ctrl_process(
-       IN const osm_smi_get_ctrl_t* const p_ctrl,
-       IN osm_madw_t* const p_madw );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_smi_get_ctrl_t object.
-*
-*      p_madw
-*              [in] Pointer to the MAD Wrapper containing the MAD
-*              that contains the node's SwitchInfo attribute.
-*
-* RETURN VALUES
-*      CL_SUCCESS if the SwitchInfo processing was successful.
-*
-* NOTES
-*      This function processes a SwitchInfo attribute.
-*
-* SEE ALSO
-*      SM Info Get Controller, SM Info Response Controller
-*********/
-       
-END_C_DECLS
-
-#endif /* _OSM_SM_INFO_GET_CTRL_H_ */
diff --git a/ulp/opensm/user/include/opensm/osm_subnet_config_ctrl.h b/ulp/opensm/user/include/opensm/osm_subnet_config_ctrl.h
deleted file mode 100644 (file)
index 18fddb8..0000000
+++ /dev/null
@@ -1,287 +0,0 @@
-/*
- * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved.
- * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
- * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
- *
- * This software is available to you under the OpenIB.org BSD license
- * below:
- *
- *     Redistribution and use in source and binary forms, with or
- *     without modification, are permitted provided that the following
- *     conditions are met:
- *
- *      - Redistributions of source code must retain the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer.
- *
- *      - Redistributions in binary form must reproduce the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer in the documentation and/or other materials
- *        provided with the distribution.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- * $Id$
- */
-
-
-/*
- * Abstract:
- *     Declaration of osm_subn_conf_ctrl_t.
- *     This object represents a controller that initiates configuration
- *     of the subnet after the discovery phase is complete.
- *     This object is part of the OpenSM family of objects.
- *
- * Environment:
- *     Linux User Mode
- *
- * $Revision: 1.4 $
- */
-
-#ifndef _OSM_SUBNET_CONFIG_CTRL_H_
-#define _OSM_SUBNET_CONFIG_CTRL_H_
-
-#ifdef __cplusplus
-#  define BEGIN_C_DECLS extern "C" {
-#  define END_C_DECLS   }
-#else /* !__cplusplus */
-#  define BEGIN_C_DECLS
-#  define END_C_DECLS
-#endif /* __cplusplus */
-
-BEGIN_C_DECLS
-
-/****h* OpenSM/Subnet Configuration Controller
-* NAME
-*      Subnet Configuration Controller
-*
-* DESCRIPTION
-*      The Subnet Configuration Controller object encapsulates the
-*      information needed to initiate a subnet configuration pass.
-*      The Subnet Configuration Controller sends Dispatcher messages
-*      to controllers responsible for configuring LIDs,
-*      switch forwarding tables, etc.
-*
-*      The Subnet Configuration Controller object is thread safe.
-*
-*      This object should be treated as opaque and should be
-*      manipulated only through the provided functions.
-*
-* AUTHOR
-*      Steve King, Intel
-*
-*********/
-/****s* OpenSM: Subnet Configuration Controller/osm_subn_conf_ctrl_t
-* NAME
-*      osm_subn_conf_ctrl_t
-*
-* DESCRIPTION
-*      Subnet Configuration Controller structure.
-*
-*      This object should be treated as opaque and should
-*      be manipulated only through the provided functions.
-*
-* SYNOPSIS
-*/
-typedef struct _osm_subn_conf_ctrl
-{
-       osm_subn_t                                      *p_subn;
-       osm_log_t                                       *p_log;
-       cl_plock_t                                      *p_lock;
-       cl_dispatcher_t                         *p_disp;
-
-} osm_subn_conf_ctrl_t;
-/*
-* FIELDS
-*      p_subn
-*              Pointer to the Subnet object for this subnet.
-*
-*      p_log
-*              Pointer to the log object.
-*
-*      p_lock
-*              Pointer to the serializing lock.
-*
-*      p_disp
-*              Pointer to the Dispatcher.
-*
-* SEE ALSO
-*      Subnet Configuration Controller object
-*********/
-
-/****f* OpenSM: Subnet Configuration Controller/osm_subn_conf_ctrl_construct
-* NAME
-*      osm_subn_conf_ctrl_construct
-*
-* DESCRIPTION
-*      This function constructs a Subnet Configuration Controller object.
-*
-* SYNOPSIS
-*/
-void osm_subn_conf_ctrl_construct(
-       IN osm_subn_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to a Subnet Configuration Controller object to construct.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Allows calling osm_subn_conf_ctrl_init, osm_subn_conf_ctrl_destroy,
-*      and osm_subn_conf_ctrl_is_inited.
-*
-*      Calling osm_subn_conf_ctrl_construct is a prerequisite to calling any other
-*      method except osm_subn_conf_ctrl_init.
-*
-* SEE ALSO
-*      Subnet Configuration Controller object, osm_subn_conf_ctrl_init,
-*      osm_subn_conf_ctrl_destroy, osm_subn_conf_ctrl_is_inited
-*********/
-
-/****f* OpenSM: Subnet Configuration Controller/osm_subn_conf_ctrl_destroy
-* NAME
-*      osm_subn_conf_ctrl_destroy
-*
-* DESCRIPTION
-*      The osm_subn_conf_ctrl_destroy function destroys the object, releasing
-*      all resources.
-*
-* SYNOPSIS
-*/
-void osm_subn_conf_ctrl_destroy(
-       IN osm_subn_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to the object to destroy.
-*
-* RETURN VALUE
-*      This function does not return a value.
-*
-* NOTES
-*      Performs any necessary cleanup of the specified
-*      Subnet Configuration Controller object.
-*      Further operations should not be attempted on the destroyed object.
-*      This function should only be called after a call to
-*      osm_subn_conf_ctrl_construct or osm_subn_conf_ctrl_init.
-*
-* SEE ALSO
-*      Subnet Configuration Controller object, osm_subn_conf_ctrl_construct,
-*      osm_subn_conf_ctrl_init
-*********/
-
-/****f* OpenSM: Subnet Configuration Controller/osm_subn_conf_ctrl_init
-* NAME
-*      osm_subn_conf_ctrl_init
-*
-* DESCRIPTION
-*      The osm_subn_conf_ctrl_init function initializes a
-*      Subnet Configuration Controller object for use.
-*
-* SYNOPSIS
-*/
-ib_api_status_t osm_subn_conf_ctrl_init(
-       IN osm_subn_conf_ctrl_t* const p_ctrl,
-       IN osm_subn_t* const p_subn,
-       IN osm_log_t* const p_log,
-       IN cl_plock_t* const p_lock,
-       IN cl_dispatcher_t* const p_disp );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_subn_conf_ctrl_t object to initialize.
-*
-*      p_subn
-*              [in] Pointer to the Subnet object for this subnet.
-*
-*      p_log
-*              [in] Pointer to the log object.
-*
-*      p_lock
-*              [in] Pointer to the OpenSM serializing lock.
-*
-*      p_disp
-*              [in] Pointer to the OpenSM central Dispatcher.
-*
-* RETURN VALUES
-*      IB_SUCCESS if the Subnet Configuration Controller object was initialized
-*      successfully.
-*
-* NOTES
-*      Allows calling other Subnet Configuration Controller methods.
-*
-* SEE ALSO
-*      Subnet Configuration Controller object, osm_subn_conf_ctrl_construct,
-*      osm_subn_conf_ctrl_destroy, osm_subn_conf_ctrl_is_inited
-*********/
-
-/****f* OpenSM: Subnet Configuration Controller/osm_subn_conf_ctrl_is_inited
-* NAME
-*      osm_subn_conf_ctrl_is_inited
-*
-* DESCRIPTION
-*      Indicates if the object has been initialized with osm_subn_conf_ctrl_init.
-*
-* SYNOPSIS
-*/
-boolean_t osm_subn_conf_ctrl_is_inited(
-       IN const osm_subn_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_subn_conf_ctrl_t object.
-*
-* RETURN VALUES
-*      TRUE if the object was initialized successfully,
-*      FALSE otherwise.
-*
-* NOTES
-*      The osm_subn_conf_ctrl_construct or osm_subn_conf_ctrl_init must be
-*      called before using     this function.
-*
-* SEE ALSO
-*      Subnet Configuration Controller object, osm_subn_conf_ctrl_construct,
-*      osm_subn_conf_ctrl_init
-*********/
-
-/****f* OpenSM: Subnet Configuration Controller/osm_subn_conf_ctrl_process
-* NAME
-*      osm_subn_conf_ctrl_process
-*
-* DESCRIPTION
-*      Initiate a subnet configuration pass.
-*
-* SYNOPSIS
-*/
-ib_api_status_t osm_subn_conf_ctrl_process(
-       IN const osm_subn_conf_ctrl_t* const p_ctrl );
-/*
-* PARAMETERS
-*      p_ctrl
-*              [in] Pointer to an osm_subn_conf_ctrl_t object.
-*
-* RETURN VALUES
-*      IB_SUCCESS if configuration processing was successfully
-*      initiated.
-*
-* NOTES
-*      A success status here does not indicate that
-*      the entire subnet configuration process completed successfully.
-*      Only one configuration pass is active at one time.
-*
-* SEE ALSO
-*      Subnet Configuration Controller
-*********/
-       
-END_C_DECLS
-
-#endif /* _OSM_SUBNET_CONFIG_CTRL_H_ */
diff --git a/ulp/opensm/user/include/opensm/osm_ucast_updn.h b/ulp/opensm/user/include/opensm/osm_ucast_updn.h
deleted file mode 100644 (file)
index b82582e..0000000
+++ /dev/null
@@ -1,472 +0,0 @@
-/*
- * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved.
- * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
- * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
- *
- * This software is available to you under the OpenIB.org BSD license
- * below:
- *
- *     Redistribution and use in source and binary forms, with or
- *     without modification, are permitted provided that the following
- *     conditions are met:
- *
- *      - Redistributions of source code must retain the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer.
- *
- *      - Redistributions in binary form must reproduce the above
- *        copyright notice, this list of conditions and the following
- *        disclaimer in the documentation and/or other materials
- *        provided with the distribution.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
- * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
- * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- *
- * $Id$
- */
-
-
-#ifndef _OSM_UCAST_UPDN_H_
-#define _OSM_UCAST_UPDN_H_
-
-
-/*
- * Abstract:
- *     Implementation of Up Down Algorithm using ranking & Min Hop 
- *      Calculation functions
- *
- * Environment:
- *     Linux User Mode
- *
- * $Revision: 1.0 $
- */
-/* LS : This code is useless since we integrate it with opensm */
-/*
-#include <opensm/osm_opensm.h>
-#include <opensm/osm_node.h>
-#include <complib/cl_list.h>
-#include <opensm/osm_subnet.h>
-#include <osmsh/osmsh_ext_ifc.h> 
-#include <opensm/osm_ucast_mgr.h>
-*/
-
-#ifdef __cplusplus
-#  define BEGIN_C_DECLS extern "C" {
-#  define END_C_DECLS   }
-#else /* !__cplusplus */
-#  define BEGIN_C_DECLS
-#  define END_C_DECLS
-#endif /* __cplusplus */
-
-BEGIN_C_DECLS
-
-/* //////////////////////////// */
-/*  ENUM TypeDefs */
-/* /////////////////////////// */
-
-/*
-* DESCRIPTION
-*       This enum respresent available directions of arcs in the graph
-* SYNOPSIS
-*/
-typedef enum _updn_switch_dir
-  {
-    UP = 0,
-    DOWN
-
-  } updn_switch_dir_t;
-
-/*
- * TYPE DEFINITIONS
- *    UP 
- *      Current switch direction in propogating the subnet is up
- *    DOWN 
- *      Current switch direction in propogating the subnet is down
- *
- */
-
-
-/*
-* DESCRIPTION
-*       This enum respresent available states in the UPDN algorithm
-* SYNOPSIS
-*/
-typedef enum _updn_state
-  {
-    UPDN_INIT = 0,
-    UPDN_RANK,
-    UPDN_MIN_HOP_CALC,
-  } updn_state_t;
-
-/*
- * TYPE DEFINITIONS
- * UPDN_INIT - loading the package but still not performing anything
- * UPDN_RANK - post ranking algorithm
- * UPDN_MIN_HOP_CALC - post min hop table calculation
- */
-
-
-/* ////////////////////////////////// */
-/*  Struct TypeDefs */
-/* ///////////////////////////////// */
-
-/****s* UPDN: Rank element/updn_rank_t
-* NAME
-*      updn_rank_t
-*
-* DESCRIPTION
-*      This object represents a rank type element in a list
-*
-*      The updn_rank_t object should be treated as opaque and should
-*      be manipulated only through the provided functions.
-*
-* SYNOPSIS
-*/
-
-typedef struct _updn_rank
-{
-  cl_map_item_t map_item;
-  uint8_t rank;
-} updn_rank_t;
-
-/*
-* FIELDS
-*      map_item
-*              Linkage structure for cl_qmap.  MUST BE FIRST MEMBER!
-*
-*      rank
-*              Rank value of this node
-*
-*/
-
-/****s* UPDN: Histogram element/updn_hist_t
-* NAME
-*      updn_hist_t
-*
-* DESCRIPTION
-*      This object represents a histogram type element in a list
-*
-*      The updn_hist_t object should be treated as opaque and should
-*      be manipulated only through the provided functions.
-*
-* SYNOPSIS
-*/
-
-typedef struct _updn_hist
-{
-  cl_map_item_t map_item;
-  uint32_t bar_value;
-} updn_hist_t;
-
-/*
-* FIELDS
-*      map_item
-*              Linkage structure for cl_qmap.  MUST BE FIRST MEMBER!
-*
-*      bar_value
-*              The number of occurences of the same hop value 
-*
-*/
-
-typedef struct _updn_next_step
-{
-  updn_switch_dir_t state;
-  osm_switch_t *p_sw;
-} updn_next_step_t;
-
-/*****s* updn: updn/updn_input_t
-* NAME  updn_t
-*       
-*
-* DESCRIPTION
-*       updn input fields structure.
-*
-* SYNOPSIS
-*/
-
-typedef struct _updn_input
-{
-  uint32_t num_guids;
-  uint64_t * guid_list;
-} updn_input_t;
-
-/*
-* FIELDS
-*       num_guids
-*            number of guids given at the UI
-*
-*       guid_list
-*            guids specified as an array (converted from a list given in the UI) 
-*
-*
-* SEE ALSO
-*      
-*********/
-
-
-/*****s* updn: updn/updn_t
-* NAME  updn_t
-*       
-*
-* DESCRIPTION
-*       updn structure.
-*
-* SYNOPSIS
-*/
-
-typedef struct _updn
-{
-  updn_state_t   state;
-  boolean_t      auto_detect_root_nodes;
-  cl_qmap_t      guid_rank_tbl;
-  updn_input_t   updn_ucast_reg_inputs;
-  cl_list_t *    p_root_nodes;
-} updn_t;
-
-/*
-* FIELDS
-*       state
-*            state of the updn algorithm which basically should pass through Init 
-*            - Ranking - UpDn algorithm
-*
-*       guid_rank_tbl
-*            guid 2 rank mapping vector , indexed by guid in network order
-*
-*
-* SEE ALSO
-*      
-*********/
-
-
-/* ////////////////////////////// */
-/*  Function  */
-/* ////////////////////////////// */
-
-/***f** Osmsh: Updn/updn_construct
-* NAME
-*       updn_construct
-*
-* DESCRIPTION
-*      Allocation of updn_t struct
-*
-* SYNOPSIS
-*/
-
-updn_t*
-updn_construct(void);
-
-/*
-* PARAMETERS
-*
-*
-* RETURN VALUE
-*       Return a pointer to an updn struct. Null if fails to do so.
-*
-* NOTES
-*       First step of the creation of updn_t
-*/
-
-/****s* Osmsh: Updn/updn_destroy
-* NAME
-*       updn_destroy
-*
-* DESCRIPTION
-*      release of updn_t struct
-*
-* SYNOPSIS
-*/
-
-void
-updn_destroy(
-  IN updn_t* const p_updn );
-
-/*
-* PARAMETERS
-*       p_updn
-*               A pointer to the updn_t struct that is goining to be released
-*
-* RETURN VALUE
-*      
-* NOTES
-*       Final step of the releasing of updn_t
-*
-* SEE ALSO
-*       updn_construct
-*********/
-
-/****f* Osmsh: Updn/updn_init
-* NAME
-*       updn_init
-*
-* DESCRIPTION
-*      Initialization of an updn_t struct
-*
-* SYNOPSIS
-*/
-cl_status_t
-updn_init(
-  IN updn_t* const p_updn );
-
-/*
-* PARAMETERS
-*       p_updn
-*               A pointer to the updn_t struct that is goining to be initilized
-*
-* RETURN VALUE
-*       The status of the function.
-*      
-* NOTES
-*       
-* SEE ALSO
-*       updn_construct
-********/
-
-
-
-
-/****** Osmsh: Updn/updn_subn_rank
-* NAME
-*      updn_subn_rank
-*
-* DESCRIPTION
-*      This function ranks the subnet for credit loop free algorithm
-*
-* SYNOPSIS
-*/
-
-int
-updn_subn_rank(
-             IN uint64_t  root_guid ,
-             IN uint8_t base_rank,
-             IN updn_t* p_updn);
-
-/*
-* PARAMETERS
-*      p_subn
-*              [in] Pointer to a Subnet object to construct.
-*
-*       base_rank
-*              [in] The base ranking value (lowest value)
-*
-*      p_updn
-*              [in] Pointer to updn structure which includes state & lid2rank table
-*
-* RETURN VALUE
-*      This function returns 0 when rankning has succeded , otherwise 1.
-******/
-
-
-/****** Osmsh: UpDown/osm_subn_set_up_down_min_hop_table
-* NAME
-*      osm_subn_set_up_down_min_hop_table
-*
-* DESCRIPTION
-*      This function set min hop table of all switches by BFS through each
-*       port guid at the subnet using ranking done before.
-*
-* SYNOPSIS
-*/
-
-int
-osm_subn_set_up_down_min_hop_table(
-             IN updn_t* p_updn);
-
-/*
-* PARAMETERS
-*      p_updn
-*              [in] Pointer to updn structure which includes state & lid2rank table
-*
-* RETURN VALUE
-*      This function returns 0 when rankning has succeded , otherwise 1.
-******/
-
-
-
-
-/****** Osmsh: UpDown/osm_subn_calc_up_down_min_hop_table
-* NAME
-*      osm_subn_calc_up_down_min_hop_table
-*
-* DESCRIPTION
-*      This function perform ranking and setting of all switches' min hop table
-*        by UP DOWN algorithm
-*
-* SYNOPSIS
-*/
-
-int
-osm_subn_calc_up_down_min_hop_table(
-  IN uint32_t num_guids,
-  IN uint64_t* guid_list,
-  IN updn_t* p_updn);
-
-/*
-* PARAMETERS
-*
-*      guid_list
-*              [in] Guid list from which to start ranking .
-*
-*      p_updn
-*              [in] Pointer to updn structure which includes state & lid2rank table
-* RETURN VALUE
-*      This function returns 0 when rankning has succeded , otherwise 1.
-******/
-
-/****f* OpenSM: OpenSM/osm_updn_reg_calc_min_hop_table
-* NAME
-*      osm_updn_reg_calc_min_hop_table 
-*
-* DESCRIPTION
-*       Registration function to ucast routing manager (instead of 
-*       Min Hop Algorithm) 
-*
-* SYNOPSIS
-*/
-int
-osm_updn_reg_calc_min_hop_table(
-  IN updn_t * p_updn,
-  IN osm_subn_opt_t* p_opt );
-/*
-* PARAMETERS
-*
-* RETURN VALUES
-*      0 - on success , 1 - on failure
-*
-* NOTES
-*
-* SEE ALSO
-* osm_subn_calc_up_down_min_hop_table
-*********/
-
-/****** Osmsh: UpDown/osm_updn_find_root_nodes_by_min_hop
-* NAME
-*      osm_updn_find_root_nodes_by_min_hop
-*
-* DESCRIPTION
-*      This function perform auto identification of root nodes for UPDN ranking phase
-*
-* SYNOPSIS
-*/
-int
-osm_updn_find_root_nodes_by_min_hop( OUT updn_t *  p_updn );
-
-/*
-* PARAMETERS
-*      p_root_nodes_list
-*       
-*              [out] Pointer to the root nodes list found in the subnet
-*
-* RETURN VALUE
-*      This function returns 0 when auto identification had succeeded
-******/
-
-
-END_C_DECLS
-
-#endif /* _OSM_UCAST_UPDN_H_ */