metrolite.h (1849B)
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-2020 Broadcom Inc. All rights reserved. 6 * 7 * File: metrolite.h 8 * Purpose: Function declarations for metrolite bcm functions 9 */ 10 11 #ifndef _BCM_INT_METROLITE_H_ 12 #define _BCM_INT_METROLITE_H_ 13 #if defined(BCM_METROLITE_SUPPORT) 14 #include <bcm_int/esw/subport.h> 15 #include <bcm_int/esw/firebolt.h> 16 #include <bcm_int/esw/mbcm.h> 17 #include <bcm_int/esw/oam.h> 18 #include <bcm_int/esw/field.h> 19 #include <bcm/qos.h> 20 #include <bcm/failover.h> 21 #include <bcm/sat.h> 22 #if defined(INCLUDE_L3) 23 24 #endif 25 extern int _bcm_ml_port_lanes_set_post_operation(int unit, bcm_port_t port); 26 extern int _bcm_ml_port_lanes_set(int unit, bcm_port_t port, int value); 27 extern int _bcm_ml_port_lanes_get(int unit, bcm_port_t port, int *value); 28 29 extern int _bcm_ml_port_sw_info_display(int unit, bcm_port_t port); 30 extern int _bcm_ml_port_hw_info_display(int unit, bcm_port_t port); 31 32 extern int bcm_ml_oam_opcodes_count_profile_create( int unit, uint8 *lm_count_profile); 33 34 extern int bcm_ml_oam_opcodes_count_profile_set( 35 int unit, 36 uint8 lm_count_profile, 37 uint8 count_enable, 38 bcm_oam_opcodes_t *opcodes_bitmap); 39 40 extern int bcm_ml_oam_opcodes_count_profile_get( 41 int unit, 42 uint8 lm_count_profile, 43 uint8 count_enable, 44 bcm_oam_opcodes_t *opcodes_bitmap); 45 46 extern int bcm_ml_oam_opcodes_count_profile_delete( 47 int unit, 48 uint8 lm_count_profile); 49 50 #ifdef BCM_WARM_BOOT_SUPPORT_SW_DUMP /* BCM_WARM_BOOT_SUPPORT_SW_DUMP*/ 51 52 #endif /* !BCM_WARM_BOOT_SUPPORT_SW_DUMP */ 53 #ifdef BCM_WARM_BOOT_SUPPORT /* BCM_WARM_BOOT_SUPPORT */ 54 55 #endif/* BCM_WARM_BOOT_SUPPORT */ 56 #endif /* BCM_METROLITE_SUPPORT */ 57 #endif /* !_BCM_INT_METROLITE_H_ */ 58