openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

trunk_init.h (1275B)


      1 /** \file bcm_int/dnx/trunk/trunk_init.h
      2  * 
      3  * Internal DNX TRUNK INIT/DEINIT APIs to be used in init 
      4  * sequence 
      5  */
      6 
      7 /*
      8  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      9  * 
     10  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
     11  */
     12 
     13 #ifndef _BCMINT_DNX_TRUNK_TRUNKINIT_H_INCLUDED
     14 /*
     15  * { 
     16  */
     17 #define _BCMINT_DNX_TRUNK_TRUNKINIT_H_INCLUDED
     18 
     19 /**
     20  * \brief This file is only used by DNX (JR2 family). Including it by
     21  * software that is not specific to DNX is an error.
     22  */
     23 #ifndef BCM_DNX_SUPPORT
     24 #error "This file is for use by DNX (JR2) family only!"
     25 #endif
     26 
     27 #include <shared/shrextend/shrextend_debug.h>
     28 
     29 /**
     30  * \brief - initialize trunk module, to be called from init 
     31  *        sequence.
     32  * 
     33  * \param [in] unit - unit number
     34  *   
     35  * \return
     36  *   shr_error_e 
     37  *   
     38  * \remark
     39  *   * None
     40  * \see
     41  *   * None
     42  */
     43 shr_error_e dnx_trunk_init(
     44     int unit);
     45 
     46 /**
     47  * \brief - de-init trunk module, to be called from init 
     48  *        sequence.
     49  * 
     50  * \param [in] unit - unit number
     51  *   
     52  * \return
     53  *   shr_error_e 
     54  *   
     55  * \remark
     56  *   * None
     57  * \see
     58  *   * None
     59  */
     60 shr_error_e dnx_trunk_deinit(
     61     int unit);
     62 
     63 /*
     64  * } 
     65  */
     66 #endif /* _BCMINT_DNX_TRUNK_TRUNKINIT_H_INCLUDED */