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

tomahawk3_idb_flexport.h (1851B)


      1 /*
      2  * 
      3  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      4  * 
      5  * Copyright 2007-2019 Broadcom Inc. All rights reserved.
      6  *
      7  * File:       tomahawk3_idb_flexport.h
      8  */
      9 
     10 
     11 
     12 #ifndef _SOC_TOMAHAWK3_IDB_FLEXPORT_H_
     13 #define _SOC_TOMAHAWK3_IDB_FLEXPORT_H_
     14 
     15 #include <soc/init/tomahawk3_flexport_defines.h>
     16 #include <soc/init/tomahawk3_tdm.h>
     17 
     18 
     19 /*** START SDK API COMMON CODE ***/
     20 
     21 extern int soc_tomahawk3_flex_set_epc_link_bmap(
     22     int unit,
     23     soc_port_schedule_state_t *port_schedule_state,
     24     int is_port_down);
     25 
     26 extern int soc_tomahawk3_flex_set_dest_port_bmap(
     27     int unit,
     28     soc_port_schedule_state_t *port_schedule_state,
     29     int is_port_down);
     30 
     31 extern int soc_tomahawk3_flex_dis_forwarding_traffic(
     32     int unit, soc_port_schedule_state_t *port_schedule_state);
     33 
     34 extern int soc_tomahawk3_flex_en_forwarding_traffic(
     35     int unit, soc_port_schedule_state_t *port_schedule_state);
     36 
     37 extern int soc_tomahawk3_flex_idb_invalidate_pnum_mapping_tbl(
     38     int unit, soc_port_schedule_state_t *port_schedule_state);
     39 
     40 extern int soc_tomahawk3_flex_idb_init_pnum_mapping_tbl(
     41     int unit, soc_port_schedule_state_t *port_schedule_state);
     42 
     43 extern int soc_tomahawk3_flex_idb_invalidate_idb_to_dev_pmap_tbl(
     44     int unit, soc_port_schedule_state_t *port_schedule_state);
     45 
     46 extern int soc_tomahawk3_flex_idb_init_idb_to_dev_pmap_tbl(
     47     int unit, soc_port_schedule_state_t *port_schedule_state);
     48 
     49 extern int soc_tomahawk3_flex_idb_clear_stats_new_ports(
     50     int unit, soc_port_schedule_state_t *port_schedule_state);
     51 
     52 extern int soc_tomahawk3_flex_idb_reconfigure(
     53     int unit, soc_port_schedule_state_t *port_schedule_state);
     54 
     55 extern int soc_tomahawk3_idb_flexport(int unit,
     56     soc_port_schedule_state_t *port_schedule_state);
     57 
     58 /*** END SDK API COMMON CODE ***/
     59 
     60 #endif
     61 
     62