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

credit_request_thresholds.h (939B)


      1 /*  
      2  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      3  * 
      4  * Copyright 2007-2020 Broadcom Inc. All rights reserved.
      5  *
      6  * File:        credit_request_thresholds.h
      7  * Purpose:     Extern declarations for DPP init ips thresholds routines.
      8  */
      9 
     10 #ifndef __BCM_CREDIT_REQUEST_THRESHOLDS_H__
     11 #define __BCM_CREDIT_REQUEST_THRESHOLDS_H__
     12 
     13 #include <soc/dpp/TMC/tmc_api_ingress_traffic_mgmt.h>
     14 
     15 typedef enum {
     16     APPL_DPP_COSQ_DIAG_CREDIT_REQUEST_THRESHOLDS_MODE_SINGLE_FAP=0,
     17     APPL_DPP_COSQ_DIAG_CREDIT_REQUEST_THRESHOLDS_MODE_MGMT=1,
     18     APPL_DPP_COSQ_DIAG_CREDIT_REQUEST_THRESHOLDS_MODE_HIGH_PRIO=2
     19 } APPL_DPP_COSQ_DIAG_CREDIT_REQUEST_THRESHOLDS_MODE;
     20 
     21 int appl_dpp_cosq_diag_credit_request_thresholds_set(int unit, uint32 port_speed, int is_slow, APPL_DPP_COSQ_DIAG_CREDIT_REQUEST_THRESHOLDS_MODE mode);
     22 
     23 #endif /* __BCM_CREDIT_REQUEST_THRESHOLDS_H__ */