\hypertarget{mcdi__mon_8h_source}{}\doxysection{mcdi\+\_\+mon.\+h}
\label{mcdi__mon_8h_source}\index{dev/sfxge/common/mcdi\_mon.h@{dev/sfxge/common/mcdi\_mon.h}}
\mbox{\hyperlink{mcdi__mon_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00002}00002 \textcolor{comment}{ * Copyright (c) 2009-\/2016 Solarflare Communications Inc.}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00003}00003 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00004}00004 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00005}00005 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00006}00006 \textcolor{comment}{ * modification, are permitted provided that the following conditions are met:}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00007}00007 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00008}00008 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright notice,}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00009}00009 \textcolor{comment}{ *    this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00010}00010 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright notice,}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00011}00011 \textcolor{comment}{ *    this list of conditions and the following disclaimer in the documentation}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00012}00012 \textcolor{comment}{ *    and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00013}00013 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00014}00014 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "{}AS IS"{}}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00015}00015 \textcolor{comment}{ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00016}00016 \textcolor{comment}{ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00017}00017 \textcolor{comment}{ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00018}00018 \textcolor{comment}{ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00019}00019 \textcolor{comment}{ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00020}00020 \textcolor{comment}{ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00021}00021 \textcolor{comment}{ * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00022}00022 \textcolor{comment}{ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00023}00023 \textcolor{comment}{ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00024}00024 \textcolor{comment}{ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00025}00025 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00026}00026 \textcolor{comment}{ * The views and conclusions contained in the software and documentation are}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00027}00027 \textcolor{comment}{ * those of the authors and should not be interpreted as representing official}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00028}00028 \textcolor{comment}{ * policies, either expressed or implied, of the FreeBSD Project.}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00029}00029 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00030}00030 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00031}00031 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00032}00032 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00033}00033 \textcolor{preprocessor}{\#ifndef \_SYS\_MCDI\_MON\_H}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00034}00034 \textcolor{preprocessor}{\#define \_SYS\_MCDI\_MON\_H}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00035}00035 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00036}00036 \textcolor{preprocessor}{\#include "{}\mbox{\hyperlink{efx_8h}{efx.h}}"{}}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00037}00037 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00038}00038 \textcolor{preprocessor}{\#ifdef  \_\_cplusplus}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00039}00039 \textcolor{keyword}{extern} \textcolor{stringliteral}{"{}C"{}} \{}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00040}00040 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00041}00041 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00042}00042 \textcolor{preprocessor}{\#if EFSYS\_OPT\_MON\_MCDI}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00043}00043 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00044}00044 \textcolor{preprocessor}{\#if EFSYS\_OPT\_MON\_STATS}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00045}00045 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00046}00046         \mbox{\hyperlink{efx__annote_8h_a1f1031c250d4a2092f48ae69723d66d7}{\_\_checkReturn}}      efx\_rc\_t}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00047}00047 mcdi\_mon\_cfg\_build(}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00048}00048     \mbox{\hyperlink{efx__annote_8h_a3f6b8655e1aa9dfc15a9029f0343009e}{\_\_in}}            \mbox{\hyperlink{structefx__nic__s}{efx\_nic\_t}} *enp);}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00049}00049 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00050}00050                         \textcolor{keywordtype}{void}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00051}00051 mcdi\_mon\_cfg\_free(}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00052}00052         \mbox{\hyperlink{efx__annote_8h_a3f6b8655e1aa9dfc15a9029f0343009e}{\_\_in}}                \mbox{\hyperlink{structefx__nic__s}{efx\_nic\_t}} *enp);}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00053}00053 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00054}00054 \textcolor{keyword}{extern}  \mbox{\hyperlink{efx__annote_8h_a1f1031c250d4a2092f48ae69723d66d7}{\_\_checkReturn}}                      efx\_rc\_t}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00055}00055 mcdi\_mon\_ev(}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00056}00056         \mbox{\hyperlink{efx__annote_8h_a3f6b8655e1aa9dfc15a9029f0343009e}{\_\_in}}                                \mbox{\hyperlink{structefx__nic__s}{efx\_nic\_t}} *enp,}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00057}00057         \mbox{\hyperlink{efx__annote_8h_a3f6b8655e1aa9dfc15a9029f0343009e}{\_\_in}}                                \mbox{\hyperlink{unionefx__qword__u}{efx\_qword\_t}} *eqp,}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00058}00058         \mbox{\hyperlink{efx__annote_8h_abb4c3c1135aab6c47cff22e7c16efb74}{\_\_out}}                              efx\_mon\_stat\_t *idp,}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00059}00059         \mbox{\hyperlink{efx__annote_8h_abb4c3c1135aab6c47cff22e7c16efb74}{\_\_out}}                              efx\_mon\_stat\_value\_t *valuep);}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00060}00060 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00061}00061 \textcolor{keyword}{extern}  \mbox{\hyperlink{efx__annote_8h_a1f1031c250d4a2092f48ae69723d66d7}{\_\_checkReturn}}                      efx\_rc\_t}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00062}00062 mcdi\_mon\_stats\_update(}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00063}00063         \mbox{\hyperlink{efx__annote_8h_a3f6b8655e1aa9dfc15a9029f0343009e}{\_\_in}}                                \mbox{\hyperlink{structefx__nic__s}{efx\_nic\_t}} *enp,}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00064}00064         \mbox{\hyperlink{efx__annote_8h_a3f6b8655e1aa9dfc15a9029f0343009e}{\_\_in}}                                \mbox{\hyperlink{structefsys__mem__s}{efsys\_mem\_t}} *esmp,}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00065}00065         \mbox{\hyperlink{efx__annote_8h_a558eebaf695b2df2f0c53bf98486e5ec}{\_\_inout\_ecount}}(EFX\_MON\_NSTATS)    efx\_mon\_stat\_value\_t *values);}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00066}00066 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00067}00067 \textcolor{keyword}{extern}  \mbox{\hyperlink{efx__annote_8h_a1f1031c250d4a2092f48ae69723d66d7}{\_\_checkReturn}}                      efx\_rc\_t}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00068}00068 mcdi\_mon\_limits\_update(}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00069}00069         \mbox{\hyperlink{efx__annote_8h_a3f6b8655e1aa9dfc15a9029f0343009e}{\_\_in}}                                \mbox{\hyperlink{structefx__nic__s}{efx\_nic\_t}} *enp,}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00070}00070         \mbox{\hyperlink{efx__annote_8h_a558eebaf695b2df2f0c53bf98486e5ec}{\_\_inout\_ecount}}(EFX\_MON\_NSTATS)    efx\_mon\_stat\_limits\_t *values);}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00071}00071 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00072}00072 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* EFSYS\_OPT\_MON\_STATS */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00073}00073 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00074}00074 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* EFSYS\_OPT\_MON\_MCDI */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00075}00075 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00076}00076 \textcolor{preprocessor}{\#ifdef  \_\_cplusplus}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00077}00077 \}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00078}00078 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00079}00079 }
\DoxyCodeLine{\Hypertarget{mcdi__mon_8h_source_l00080}00080 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* \_SYS\_MCDI\_MON\_H */}\textcolor{preprocessor}{}}

\end{DoxyCode}
