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

fcoe.h (1835B)


      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  * This file contains FCOE definitions internal to the BCM library.
      8  */
      9 
     10 #ifndef _BCM_INT_FCOE_H
     11 #define _BCM_INT_FCOE_H
     12 
     13 #include <bcm/types.h>
     14 #include <bcm/error.h>
     15 #include <bcm/fcoe.h>
     16 
     17 extern int bcm_esw_fcoe_init_check(int unit);
     18 
     19 /* Get flex counter for FCOE VSAN ID */                          
     20 extern int 
     21 _bcm_esw_fcoe_vsan_stat_counter_get (int                  unit, 
     22                                      int                  sync_mode, 
     23                                      bcm_fcoe_vsan_id_t   vsan,
     24                                      bcm_fcoe_vsan_stat_t stat, 
     25                                      uint32               num_entries, 
     26                                      uint32               *counter_indexes, 
     27                                      bcm_stat_value_t     *counter_values);
     28 
     29 /* Get flex counter for FCOE Route */                                
     30 extern int 
     31 _bcm_esw_fcoe_route_stat_counter_get (int                   unit, 
     32                                       int                   sync_mode, 
     33                                       bcm_fcoe_route_t      *route,
     34                                       bcm_fcoe_route_stat_t stat, 
     35                                       uint32                num_entries, 
     36                                       uint32                *counter_indexes, 
     37                                       bcm_stat_value_t      *counter_values);
     38 
     39 #ifdef BCM_WARM_BOOT_SUPPORT
     40 extern int _bcm_esw_fcoe_sync(int unit);
     41 #endif
     42 
     43 #ifdef BCM_WARM_BOOT_SUPPORT_SW_DUMP
     44 extern void _bcm_esw_fcoe_sw_dump(int unit);
     45 #endif /* BCM_WARM_BOOT_SUPPORT_SW_DUMP */
     46 
     47 #endif	/* !_BCM_INT_FCOE_H */