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

gport.h (839B)


      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  * File:        diag.h
      9  * Purpose:     Device diagnostics commands.
     10  */
     11 
     12 
     13 #ifndef _GPORT_H_INCLUDED_
     14 #define _GPORT_H_INCLUDED_
     15 
     16 #include <soc/chip.h>
     17 
     18 #define DPP_CMD_COSQ_GPORT_SHOW_ALL 2
     19 #define DPP_CMD_COSQ_GPORT_COUNT    3
     20 /* Future cmds could be remove, remove all */
     21 
     22 typedef struct gport_count_s {
     23       int nof_conn;
     24       int nof_uc_qs;
     25       int nof_mc_qs;
     26       int nof_cl_ses;
     27       int nof_fq_ses;
     28       int nof_hr_ses;
     29 } gport_count_t;
     30 
     31 typedef struct dpp_gport_cb_params_s {
     32   int cmd;
     33   int verbose;
     34   int modid;
     35   int port;
     36   gport_count_t gport_count;
     37 } dpp_gport_cb_params_t;
     38 
     39 
     40 #endif /*_GPORT_H_INCLUDED_*/