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

tune.h (1260B)


      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/tune.h
      8   * Reserved.$ 
      9   */
     10 
     11 #ifndef _DNXF_TUNE_H_INCLUDED_
     12 /*
     13  * { 
     14  */
     15 #define _DNXF_TUNE_H_INCLUDED_
     16 
     17 #ifndef BCM_DNXF_SUPPORT
     18 #error "This file is for use by Ramon only!"
     19 #endif
     20 
     21 #include <bcm/types.h>
     22 
     23 /**
     24  * \brief - perform  tune module init
     25  * 
     26  * \par DIRECT_INPUT:
     27  *   \param [in] unit -  Unit-ID 
     28  * \par DIRECT OUTPUT:
     29  *   shr_error_e 
     30  * \remark
     31  *   * None
     32  * \see
     33  *   * None
     34  */
     35 shr_error_e dnxf_tune_init(
     36     int unit);
     37 
     38 /**
     39  * \brief - perform tune when a port is added
     40  *
     41  * \param [in] unit -
     42  *   Unit-ID
     43  * \param [in] port -
     44  *   Port-ID
     45  * \return
     46  *   shr_error_e
     47  * \remark
     48  *   * None
     49  * \see
     50  *   * None
     51  */
     52 shr_error_e dnxf_tune_port_add(
     53     int unit,
     54     bcm_port_t port);
     55 
     56 /**
     57  * \brief - perform tune when a port is removed
     58  *
     59  * \param [in] unit -
     60  *   Unit-ID
     61  * \param [in] port -
     62  *   Port-ID
     63  * \return
     64  *   shr_error_e
     65  * \remark
     66  *   * None
     67  * \see
     68  *   * None
     69  */
     70 shr_error_e dnxf_tune_port_remove(
     71     int unit,
     72     bcm_port_t port);
     73 
     74 /** } */
     75 #endif /*_DNXF_TUNE_H_INCLUDED_*/