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

l2_station.h (1479B)


      1 /**
      2  * \file bcm_int/dnx/l2/l2_station.h 
      3  * Internal DNX L2 APIs 
      4  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      5  * 
      6  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
      7  */
      8 
      9 #ifndef L2_STATION_H_INCLUDED
     10 /*
     11  * {
     12  */
     13 #define L2_STATION_H_INCLUDED
     14 
     15 #ifndef BCM_DNX_SUPPORT
     16 #error "This file is for use by DNX (JR2) family only!"
     17 #endif
     18 
     19 /*
     20  * Include files.
     21  * {
     22  */
     23 
     24 /*
     25  * }
     26  */
     27 
     28 /*
     29  * DEFINES
     30  * {
     31  */
     32 
     33 /*
     34  * }
     35  */
     36 
     37 /**
     38  * \brief - Set EXEM based multiple my mac system mode.
     39  * Current supported modes are either VSI or source port.
     40  *  
     41  * \param [in] unit - Number of hardware unit used.
     42  * \param [in] arg - system mode:
     43  * * 0 - multiple my mac VSI mode (default)
     44  * * 1 - multiple my mac source port mode  
     45  * \return
     46  *   shr_error_e  
     47  *   
     48  * \remark
     49  *   * None
     50  * \see
     51  *   * None
     52  */
     53 shr_error_e dnx_l2_station_multi_my_mac_exem_mode_set(
     54     int unit,
     55     int arg);
     56 
     57 /**
     58  * \brief - Get EXEM based multiple my mac system mode.
     59  * Current supported modes are either VSI or source port.
     60  *
     61  * \param [in] unit - Number of hardware unit used.
     62  * \param [out] arg - system mode:
     63  * * 0 - multiple my mac VSI mode (default)
     64  * * 1 - multiple my mac source port mode
     65  * \return
     66  *   shr_error_e
     67  *
     68  * \remark
     69  *   * None
     70  * \see
     71  *   * None
     72  */
     73 shr_error_e dnx_l2_station_multi_my_mac_exem_mode_get(
     74     int unit,
     75     int *arg);
     76 
     77 /*
     78  * }
     79  */
     80 #endif /* L2_STATION_H_INCLUDED */