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

safc.h (964B)


      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:        safc.h
      8  * Purpose:     SAFC board programming interfaces
      9  */
     10 
     11 #ifndef   _SAFC_H_
     12 #define   _SAFC_H_
     13 
     14 #include <appl/cpudb/cpudb.h>
     15 #include <appl/stktask/topology.h>
     16 
     17 extern int bcm_stack_spanning_tree_create(cpudb_ref_t db_ref,
     18                                           cpudb_entry_t *root, 
     19                                           topo_info_t **connection);
     20 
     21 extern int bcm_stack_connection_destroy(topo_info_t *connection);
     22 
     23 extern int bcm_board_safc_configure(topo_cpu_t *tp_cpu,
     24                                     cpudb_ref_t db_ref,
     25                                     uint32 safc_cos_map,
     26                                     int group_priority,
     27                                     topo_info_t *connection);
     28 
     29 #endif /* _SAFC_H_ */