cosq_stat.h (1080B)
1 /* 2 * DO NOT EDIT THIS FILE! 3 * This file is auto-generated. 4 * Edits to this file will be lost when it is regenerated. 5 * 6 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 7 * 8 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 9 */ 10 11 #ifndef BCMI_LTSW_COSQ_STAT_H 12 #define BCMI_LTSW_COSQ_STAT_H 13 14 /*! 15 * \brief Clear the cosq stat per port. 16 * 17 * \param [in] unit Unit Number. 18 * \param [in] port Logic port id. 19 * 20 * \retval SHR_E_NONE No errors. 21 * \retval !SHR_E_NONE Failure. 22 */ 23 extern int 24 bcmi_ltsw_cosq_stat_clear( 25 int unit, 26 int port); 27 28 /*! 29 * \brief Initialize the cosq_stat module. 30 * 31 * \param [in] unit Unit Number. 32 * 33 * \retval SHR_E_NONE No errors. 34 * \retval !SHR_E_NONE Failure. 35 */ 36 extern int 37 bcmi_ltsw_cosq_stat_init(int unit); 38 39 /*! 40 * \brief Detach the cosq_stat module. 41 * 42 * \param [in] unit Unit Number. 43 * 44 * \retval SHR_E_NONE No errors. 45 * \retval !SHR_E_NONE Failure. 46 */ 47 extern int 48 bcmi_ltsw_cosq_stat_detach(int unit); 49 50 #endif /* BCMI_LTSW_COSQ_STAT_H */