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

fabric.h (1114B)


      1 /*
      2  * 
      3  *
      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  * DNXF FABRIC H
      9  */
     10 #ifndef _BCM_INT_DNXF_FABRIC_H_
     11 #define _BCM_INT_DNXF_FABRIC_H_
     12 
     13 #ifndef BCM_DNXF_SUPPORT
     14 #error "This file is for use by DNXF (Ramon) family only!"
     15 #endif
     16 
     17 #include <sal/types.h>
     18 #include <bcm/types.h>
     19 
     20 #include <bcm_int/dnxf/dnxf_multicast_id_map.h>
     21 
     22 #include <soc/dnxc/fabric.h>
     23 
     24 #include <soc/dnxf/cmn/dnxf_defs.h>
     25 
     26 int dnxf_fabric_init(
     27     int unit);
     28 int dnxf_fabric_deinit(
     29     int unit);
     30 int _bcm_dnxf_fabric_link_flow_status_cell_format_set(
     31     int unit,
     32     bcm_port_t port,
     33     int cell_format);
     34 int _bcm_dnxf_fabric_link_flow_status_cell_format_get(
     35     int unit,
     36     bcm_port_t port,
     37     int *cell_format);
     38 int _bcm_dnxf_fabric_fifo_info_get(
     39     int unit,
     40     bcm_port_t port,
     41     bcm_fabric_pipe_t pipe_id,
     42     soc_dnxc_fabric_direction_t direction,
     43     uint32 *fifo_type,
     44     bcm_fabric_pipe_t * pipe_get,
     45     uint32 *flags_get);
     46 
     47 #endif /*_BCM_INT_DNXF_FABRIC_H_*/