1 /* SPDX-License-Identifier: BSD-3-Clause
3 * Copyright(c) 2019-2021 Xilinx, Inc.
4 * Copyright(c) 2009-2019 Solarflare Communications Inc.
7 #ifndef _SYS_MCDI_MON_H
8 #define _SYS_MCDI_MON_H
16 #if EFSYS_OPT_MON_MCDI
18 #if EFSYS_OPT_MON_STATS
21 extern __checkReturn efx_rc_t
32 extern __checkReturn efx_rc_t
35 __in efx_qword_t *eqp,
36 __out efx_mon_stat_t *idp,
37 __out efx_mon_stat_value_t *valuep);
40 extern __checkReturn efx_rc_t
41 mcdi_mon_stats_update(
43 __in efsys_mem_t *esmp,
44 __inout_ecount(EFX_MON_NSTATS) efx_mon_stat_value_t *values);
47 extern __checkReturn efx_rc_t
48 mcdi_mon_limits_update(
50 __inout_ecount(EFX_MON_NSTATS) efx_mon_stat_limits_t *values);
52 #endif /* EFSYS_OPT_MON_STATS */
54 #endif /* EFSYS_OPT_MON_MCDI */
60 #endif /* _SYS_MCDI_MON_H */