\hypertarget{medford2__nic_8c}{}\doxysection{dev/sfxge/common/medford2\+\_\+nic.c File Reference}
\label{medford2__nic_8c}\index{dev/sfxge/common/medford2\_nic.c@{dev/sfxge/common/medford2\_nic.c}}
{\ttfamily \#include $<$sys/cdefs.\+h$>$}\newline
{\ttfamily \#include \char`\"{}efx.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}efx\+\_\+impl.\+h\char`\"{}}\newline
Include dependency graph for medford2\+\_\+nic.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{da/d8c/medford2__nic_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{medford2__nic_8c_a8c3ef283470a68cd30afe9b8a72cb60f}{\+\_\+\+\_\+\+FBSDID}} (\char`\"{}\$Free\+BSD\$\char`\"{})
\item 
static \mbox{\hyperlink{efx__annote_8h_a1f1031c250d4a2092f48ae69723d66d7}{\+\_\+\+\_\+check\+Return}} efx\+\_\+rc\+\_\+t \mbox{\hyperlink{medford2__nic_8c_af99e947850e3a7a73c5363e8a9015d0f}{medford2\+\_\+nic\+\_\+get\+\_\+required\+\_\+pcie\+\_\+bandwidth}} (\mbox{\hyperlink{efx__annote_8h_a3f6b8655e1aa9dfc15a9029f0343009e}{\+\_\+\+\_\+in}} \mbox{\hyperlink{efx_8h_ae837d8ee3d8adadc8e9fc25e2b7d690b}{efx\+\_\+nic\+\_\+t}} $\ast$enp, \mbox{\hyperlink{efx__annote_8h_abb4c3c1135aab6c47cff22e7c16efb74}{\+\_\+\+\_\+out}} uint32\+\_\+t $\ast$bandwidth\+\_\+mbpsp)
\item 
\mbox{\hyperlink{efx__annote_8h_a1f1031c250d4a2092f48ae69723d66d7}{\+\_\+\+\_\+check\+Return}} efx\+\_\+rc\+\_\+t \mbox{\hyperlink{medford2__nic_8c_a99e6bf909958d3937d2365a8e5459531}{medford2\+\_\+board\+\_\+cfg}} (\mbox{\hyperlink{efx__annote_8h_a3f6b8655e1aa9dfc15a9029f0343009e}{\+\_\+\+\_\+in}} \mbox{\hyperlink{efx_8h_ae837d8ee3d8adadc8e9fc25e2b7d690b}{efx\+\_\+nic\+\_\+t}} $\ast$enp)
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{medford2__nic_8c_a8c3ef283470a68cd30afe9b8a72cb60f}\label{medford2__nic_8c_a8c3ef283470a68cd30afe9b8a72cb60f}} 
\index{medford2\_nic.c@{medford2\_nic.c}!\_\_FBSDID@{\_\_FBSDID}}
\index{\_\_FBSDID@{\_\_FBSDID}!medford2\_nic.c@{medford2\_nic.c}}
\doxysubsubsection{\texorpdfstring{\_\_FBSDID()}{\_\_FBSDID()}}
{\footnotesize\ttfamily \+\_\+\+\_\+\+FBSDID (\begin{DoxyParamCaption}\item[{\char`\"{}\$Free\+BSD\$\char`\"{}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{medford2__nic_8c_a99e6bf909958d3937d2365a8e5459531}\label{medford2__nic_8c_a99e6bf909958d3937d2365a8e5459531}} 
\index{medford2\_nic.c@{medford2\_nic.c}!medford2\_board\_cfg@{medford2\_board\_cfg}}
\index{medford2\_board\_cfg@{medford2\_board\_cfg}!medford2\_nic.c@{medford2\_nic.c}}
\doxysubsubsection{\texorpdfstring{medford2\_board\_cfg()}{medford2\_board\_cfg()}}
{\footnotesize\ttfamily \mbox{\hyperlink{efx__annote_8h_a1f1031c250d4a2092f48ae69723d66d7}{\+\_\+\+\_\+check\+Return}} efx\+\_\+rc\+\_\+t medford2\+\_\+board\+\_\+cfg (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{efx__annote_8h_a3f6b8655e1aa9dfc15a9029f0343009e}{\+\_\+\+\_\+in}} \mbox{\hyperlink{efx_8h_ae837d8ee3d8adadc8e9fc25e2b7d690b}{efx\+\_\+nic\+\_\+t}} $\ast$}]{enp }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{medford2__nic_8c_source_l00066}{66}} of file \mbox{\hyperlink{medford2__nic_8c_source}{medford2\+\_\+nic.\+c}}.



References \mbox{\hyperlink{ef10__impl_8h_source_l00041}{EF10\+\_\+\+MAX\+\_\+\+PIOBUF\+\_\+\+NBUFS}}, \mbox{\hyperlink{efsys_8h_source_l00225}{EFSYS\+\_\+\+PROBE}}, \mbox{\hyperlink{efsys_8h_source_l00227}{EFSYS\+\_\+\+PROBE1}}, \mbox{\hyperlink{ef10__nic_8c_source_l00450}{efx\+\_\+mcdi\+\_\+get\+\_\+clock()}}, \mbox{\hyperlink{ef10__nic_8c_source_l00508}{efx\+\_\+mcdi\+\_\+get\+\_\+rxdp\+\_\+config()}}, \mbox{\hyperlink{efx__mcdi_8c_source_l02084}{efx\+\_\+mcdi\+\_\+set\+\_\+workaround()}}, \mbox{\hyperlink{efx_8h_source_l01429}{EFX\+\_\+\+PCI\+\_\+\+FUNCTION\+\_\+\+IS\+\_\+\+VF}}, \mbox{\hyperlink{efx_8h_source_l00223}{EFX\+\_\+\+PCIE\+\_\+\+LINK\+\_\+\+SPEED\+\_\+\+GEN3}}, \mbox{\hyperlink{efx_8h_source_l00047}{EFX\+\_\+\+STATIC\+\_\+\+ASSERT}}, \mbox{\hyperlink{efx_8h_source_l01360}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+bug26807\+\_\+workaround}}, \mbox{\hyperlink{efx_8h_source_l01362}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+bug41750\+\_\+workaround}}, \mbox{\hyperlink{efx_8h_source_l01363}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+bug61265\+\_\+workaround}}, \mbox{\hyperlink{efx_8h_source_l01364}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+bug61297\+\_\+workaround}}, \mbox{\hyperlink{efx_8h_source_l01311}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+evq\+\_\+timer\+\_\+max\+\_\+us}}, \mbox{\hyperlink{efx_8h_source_l01310}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+evq\+\_\+timer\+\_\+quantum\+\_\+ns}}, \mbox{\hyperlink{efx_8h_source_l01415}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+max\+\_\+pcie\+\_\+link\+\_\+gen}}, \mbox{\hyperlink{efx_8h_source_l01307}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+piobuf\+\_\+limit}}, \mbox{\hyperlink{efx_8h_source_l01309}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+piobuf\+\_\+min\+\_\+alloc\+\_\+size}}, \mbox{\hyperlink{efx_8h_source_l01308}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+piobuf\+\_\+size}}, \mbox{\hyperlink{efx_8h_source_l01414}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+required\+\_\+pcie\+\_\+bandwidth\+\_\+mbps}}, \mbox{\hyperlink{efx_8h_source_l01315}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+rx\+\_\+buf\+\_\+align\+\_\+end}}, \mbox{\hyperlink{efx_8h_source_l01314}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+rx\+\_\+buf\+\_\+align\+\_\+start}}, \mbox{\hyperlink{efx_8h_source_l01305}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+txq\+\_\+max\+\_\+ndescs}}, \mbox{\hyperlink{efx_8h_source_l01412}{efx\+\_\+nic\+\_\+cfg\+\_\+s\+::enc\+\_\+vpd\+\_\+is\+\_\+global}}, \mbox{\hyperlink{efx__regs_8h_source_l01137}{FRF\+\_\+\+CZ\+\_\+\+TC\+\_\+\+TIMER\+\_\+\+VAL\+\_\+\+WIDTH}}, \mbox{\hyperlink{efx__regs__mcdi_8h_source_l05698}{MC\+\_\+\+CMD\+\_\+\+WORKAROUND\+\_\+\+BUG61265}}, \mbox{\hyperlink{medford2__impl_8h_source_l00049}{MEDFORD2\+\_\+\+MIN\+\_\+\+PIO\+\_\+\+ALLOC\+\_\+\+SIZE}}, \mbox{\hyperlink{medford2__nic_8c_source_l00042}{medford2\+\_\+nic\+\_\+get\+\_\+required\+\_\+pcie\+\_\+bandwidth()}}, \mbox{\hyperlink{medford2__impl_8h_source_l00046}{MEDFORD2\+\_\+\+PIOBUF\+\_\+\+NBUFS}}, and \mbox{\hyperlink{medford2__impl_8h_source_l00047}{MEDFORD2\+\_\+\+PIOBUF\+\_\+\+SIZE}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/d03/medford2__nic_8c_a99e6bf909958d3937d2365a8e5459531_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{medford2__nic_8c_af99e947850e3a7a73c5363e8a9015d0f}\label{medford2__nic_8c_af99e947850e3a7a73c5363e8a9015d0f}} 
\index{medford2\_nic.c@{medford2\_nic.c}!medford2\_nic\_get\_required\_pcie\_bandwidth@{medford2\_nic\_get\_required\_pcie\_bandwidth}}
\index{medford2\_nic\_get\_required\_pcie\_bandwidth@{medford2\_nic\_get\_required\_pcie\_bandwidth}!medford2\_nic.c@{medford2\_nic.c}}
\doxysubsubsection{\texorpdfstring{medford2\_nic\_get\_required\_pcie\_bandwidth()}{medford2\_nic\_get\_required\_pcie\_bandwidth()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{efx__annote_8h_a1f1031c250d4a2092f48ae69723d66d7}{\+\_\+\+\_\+check\+Return}} efx\+\_\+rc\+\_\+t medford2\+\_\+nic\+\_\+get\+\_\+required\+\_\+pcie\+\_\+bandwidth (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{efx__annote_8h_a3f6b8655e1aa9dfc15a9029f0343009e}{\+\_\+\+\_\+in}} \mbox{\hyperlink{efx_8h_ae837d8ee3d8adadc8e9fc25e2b7d690b}{efx\+\_\+nic\+\_\+t}} $\ast$}]{enp,  }\item[{\mbox{\hyperlink{efx__annote_8h_abb4c3c1135aab6c47cff22e7c16efb74}{\+\_\+\+\_\+out}} uint32\+\_\+t $\ast$}]{bandwidth\+\_\+mbpsp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{medford2__nic_8c_source_l00042}{42}} of file \mbox{\hyperlink{medford2__nic_8c_source}{medford2\+\_\+nic.\+c}}.



References \mbox{\hyperlink{ef10__nic_8c_source_l00157}{ef10\+\_\+nic\+\_\+get\+\_\+port\+\_\+mode\+\_\+bandwidth()}}, and \mbox{\hyperlink{efsys_8h_source_l00227}{EFSYS\+\_\+\+PROBE1}}.



Referenced by \mbox{\hyperlink{medford2__nic_8c_source_l00066}{medford2\+\_\+board\+\_\+cfg()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/d03/medford2__nic_8c_af99e947850e3a7a73c5363e8a9015d0f_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d1/d03/medford2__nic_8c_af99e947850e3a7a73c5363e8a9015d0f_icgraph}
\end{center}
\end{figure}
