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

fabric_rci_throttling.h (1136B)


      1 /*
      2  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      3  * 
      4  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
      5  */
      6 /*
      7  * ! \file bcm_int/dnx/fabric/fabric_rci_throttling.h
      8  * Reserved.$ 
      9  */
     10 
     11 #ifndef _DNX_FABRIC_RCI_THROTTLING_H_INCLUDED_
     12 /*
     13  * { 
     14  */
     15 #define _DNX_FABRIC_RCI_THROTTLING_H_INCLUDED_
     16 
     17 #ifndef BCM_DNX_SUPPORT
     18 #error "This file is for use by DNX (JR2) family only!"
     19 #endif
     20 
     21 /**
     22  * \brief - 
     23  * function for managing RCI throttling  mechanism mode
     24  *  
     25  * \param [in] unit -  Unit-ID 
     26  * \param [in] mode - RCI throttling mechanism mode see 
     27  *        bcm_fabric_control_rci_throttling_mode_t
     28  * \return
     29  *   See shr_error_e 
     30  * \remark
     31  *   * None
     32  * \see
     33  *   * bcm_fabric_control_rci_throttling_mode_t
     34  */
     35 shr_error_e dnx_fabric_rci_throttling_mode_set(
     36     int unit,
     37     bcm_fabric_control_rci_throttling_mode_t mode);
     38 
     39 /**
     40  * \brief -
     41  * get RCI throttling mode from HW
     42  */
     43 shr_error_e dnx_fabric_rci_throttling_mode_get(
     44     int unit,
     45     bcm_fabric_control_rci_throttling_mode_t * mode);
     46 
     47 #endif /*_DNX_SCHEDULER_H_INCLUDED_*/