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

ecgm_tune.h (861B)


      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/tune/ecgm_tune.h
      8  * Reserved.$ 
      9  */
     10 
     11 #ifndef _DNX_ECGM_TUNE_H_INCLUDED_
     12 /*
     13  * { 
     14  */
     15 #define _DNX_ECGM_TUNE_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  * Include files.
     23  * {
     24  */
     25 
     26 /**
     27 * \brief -   set port and queue ecgm thresholds for single port.
     28 *
     29 * \param [in] unit -  Unit-ID.
     30 * \param [in] local_port -  logical port.
     31 * \param [in] port_rate - configured port rate (speed).
     32 *
     33 * \return
     34 *   shr_error_e
     35 *
     36 * \remark
     37 */
     38 shr_error_e dnx_ecgm_tune_single_port(
     39     int unit,
     40     bcm_port_t local_port,
     41     int port_rate);
     42 
     43 /** } */
     44 #endif /*_DNX_ECGM_TUNE_H_INCLUDED_*/