\hypertarget{lio__ctrl_8c}{}\doxysection{dev/liquidio/base/lio\+\_\+ctrl.c File Reference}
\label{lio__ctrl_8c}\index{dev/liquidio/base/lio\_ctrl.c@{dev/liquidio/base/lio\_ctrl.c}}
{\ttfamily \#include \char`\"{}lio\+\_\+bsd.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}lio\+\_\+common.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}lio\+\_\+droq.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}lio\+\_\+iq.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}lio\+\_\+response\+\_\+manager.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}lio\+\_\+device.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}lio\+\_\+ctrl.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}lio\+\_\+main.\+h\char`\"{}}\newline
Include dependency graph for lio\+\_\+ctrl.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d6/d65/lio__ctrl_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{lio__ctrl_8c_a983d3d30828169adae4e8a58c1817fd1}{lio\+\_\+send\+\_\+data\+\_\+pkt}} (struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$oct, struct \mbox{\hyperlink{structlio__data__pkt}{lio\+\_\+data\+\_\+pkt}} $\ast$ndata)
\item 
static void \mbox{\hyperlink{lio__ctrl_8c_a2214608728cc814b88a54d3cc479bb56}{lio\+\_\+ctrl\+\_\+callback}} (struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$oct, uint32\+\_\+t status, void $\ast$sc\+\_\+ptr)
\item 
static struct \mbox{\hyperlink{structlio__soft__command}{lio\+\_\+soft\+\_\+command}} $\ast$ \mbox{\hyperlink{lio__ctrl_8c_a43bfc3089b31e04bb164007e936bb559}{lio\+\_\+alloc\+\_\+ctrl\+\_\+pkt\+\_\+sc}} (struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$oct, struct \mbox{\hyperlink{structlio__ctrl__pkt}{lio\+\_\+ctrl\+\_\+pkt}} $\ast$nctrl)
\item 
int \mbox{\hyperlink{lio__ctrl_8c_a93d515939a6aef78b9f008a414e73940}{lio\+\_\+send\+\_\+ctrl\+\_\+pkt}} (struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$oct, struct \mbox{\hyperlink{structlio__ctrl__pkt}{lio\+\_\+ctrl\+\_\+pkt}} $\ast$nctrl)
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{lio__ctrl_8c_a43bfc3089b31e04bb164007e936bb559}\label{lio__ctrl_8c_a43bfc3089b31e04bb164007e936bb559}} 
\index{lio\_ctrl.c@{lio\_ctrl.c}!lio\_alloc\_ctrl\_pkt\_sc@{lio\_alloc\_ctrl\_pkt\_sc}}
\index{lio\_alloc\_ctrl\_pkt\_sc@{lio\_alloc\_ctrl\_pkt\_sc}!lio\_ctrl.c@{lio\_ctrl.c}}
\doxysubsubsection{\texorpdfstring{lio\_alloc\_ctrl\_pkt\_sc()}{lio\_alloc\_ctrl\_pkt\_sc()}}
{\footnotesize\ttfamily static struct \mbox{\hyperlink{structlio__soft__command}{lio\+\_\+soft\+\_\+command}} $\ast$ lio\+\_\+alloc\+\_\+ctrl\+\_\+pkt\+\_\+sc (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$}]{oct,  }\item[{struct \mbox{\hyperlink{structlio__ctrl__pkt}{lio\+\_\+ctrl\+\_\+pkt}} $\ast$}]{nctrl }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Definition at line \mbox{\hyperlink{lio__ctrl_8c_source_l00075}{75}} of file \mbox{\hyperlink{lio__ctrl_8c_source}{lio\+\_\+ctrl.\+c}}.



References \mbox{\hyperlink{lio__iq_8h_source_l00261}{lio\+\_\+soft\+\_\+command\+::callback}}, \mbox{\hyperlink{lio__iq_8h_source_l00263}{lio\+\_\+soft\+\_\+command\+::callback\+\_\+arg}}, \mbox{\hyperlink{lio__iq_8h_source_l00254}{lio\+\_\+soft\+\_\+command\+::ctxptr}}, \mbox{\hyperlink{lio__iq_8h_source_l00246}{lio\+\_\+soft\+\_\+command\+::datasize}}, \mbox{\hyperlink{lio__ctrl_8h_source_l00068}{lio\+\_\+ctrl\+\_\+pkt\+::iq\+\_\+no}}, \mbox{\hyperlink{lio__iq_8h_source_l00260}{lio\+\_\+soft\+\_\+command\+::iq\+\_\+no}}, \mbox{\hyperlink{lio__request__manager_8c_source_l00780}{lio\+\_\+alloc\+\_\+soft\+\_\+command()}}, \mbox{\hyperlink{lio__ctrl_8c_source_l00054}{lio\+\_\+ctrl\+\_\+callback()}}, \mbox{\hyperlink{lio__common_8h_source_l00080}{LIO\+\_\+\+OPCODE\+\_\+\+NIC}}, \mbox{\hyperlink{lio__common_8h_source_l00095}{LIO\+\_\+\+OPCODE\+\_\+\+NIC\+\_\+\+CMD}}, \mbox{\hyperlink{lio__request__manager_8c_source_l00631}{lio\+\_\+prepare\+\_\+soft\+\_\+command()}}, \mbox{\hyperlink{lio__main_8h_source_l00052}{lio\+\_\+swap\+\_\+8\+B\+\_\+data()}}, \mbox{\hyperlink{lio__common_8h_source_l00277}{octeon\+\_\+cmd\+::more}}, \mbox{\hyperlink{lio__ctrl_8h_source_l00054}{lio\+\_\+ctrl\+\_\+pkt\+::ncmd}}, \mbox{\hyperlink{lio__common_8h_source_l00302}{OCTEON\+\_\+\+CMD\+\_\+\+SIZE}}, \mbox{\hyperlink{lio__iq_8h_source_l00251}{lio\+\_\+soft\+\_\+command\+::rdatasize}}, \mbox{\hyperlink{unionocteon__cmd_ad5cae7e8f601a66277962156b10a211e}{octeon\+\_\+cmd\+::s}}, \mbox{\hyperlink{lio__ctrl_8h_source_l00065}{lio\+\_\+ctrl\+\_\+pkt\+::udd}}, \mbox{\hyperlink{lio__iq_8h_source_l00244}{lio\+\_\+soft\+\_\+command\+::virtdptr}}, \mbox{\hyperlink{lio__ctrl_8h_source_l00074}{lio\+\_\+ctrl\+\_\+pkt\+::wait\+\_\+time}}, and \mbox{\hyperlink{lio__iq_8h_source_l00258}{lio\+\_\+soft\+\_\+command\+::wait\+\_\+time}}.



Referenced by \mbox{\hyperlink{lio__ctrl_8c_source_l00117}{lio\+\_\+send\+\_\+ctrl\+\_\+pkt()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/dff/lio__ctrl_8c_a43bfc3089b31e04bb164007e936bb559_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/dff/lio__ctrl_8c_a43bfc3089b31e04bb164007e936bb559_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{lio__ctrl_8c_a2214608728cc814b88a54d3cc479bb56}\label{lio__ctrl_8c_a2214608728cc814b88a54d3cc479bb56}} 
\index{lio\_ctrl.c@{lio\_ctrl.c}!lio\_ctrl\_callback@{lio\_ctrl\_callback}}
\index{lio\_ctrl\_callback@{lio\_ctrl\_callback}!lio\_ctrl.c@{lio\_ctrl.c}}
\doxysubsubsection{\texorpdfstring{lio\_ctrl\_callback()}{lio\_ctrl\_callback()}}
{\footnotesize\ttfamily static void lio\+\_\+ctrl\+\_\+callback (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$}]{oct,  }\item[{uint32\+\_\+t}]{status,  }\item[{void $\ast$}]{sc\+\_\+ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Definition at line \mbox{\hyperlink{lio__ctrl_8c_source_l00054}{54}} of file \mbox{\hyperlink{lio__ctrl_8c_source}{lio\+\_\+ctrl.\+c}}.



References \mbox{\hyperlink{lio__ctrl_8h_source_l00080}{lio\+\_\+ctrl\+\_\+pkt\+::cb\+\_\+fn}}, \mbox{\hyperlink{lio__iq_8h_source_l00254}{lio\+\_\+soft\+\_\+command\+::ctxptr}}, and \mbox{\hyperlink{lio__request__manager_8c_source_l00847}{lio\+\_\+free\+\_\+soft\+\_\+command()}}.



Referenced by \mbox{\hyperlink{lio__ctrl_8c_source_l00075}{lio\+\_\+alloc\+\_\+ctrl\+\_\+pkt\+\_\+sc()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=342pt]{d4/dff/lio__ctrl_8c_a2214608728cc814b88a54d3cc479bb56_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/dff/lio__ctrl_8c_a2214608728cc814b88a54d3cc479bb56_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{lio__ctrl_8c_a93d515939a6aef78b9f008a414e73940}\label{lio__ctrl_8c_a93d515939a6aef78b9f008a414e73940}} 
\index{lio\_ctrl.c@{lio\_ctrl.c}!lio\_send\_ctrl\_pkt@{lio\_send\_ctrl\_pkt}}
\index{lio\_send\_ctrl\_pkt@{lio\_send\_ctrl\_pkt}!lio\_ctrl.c@{lio\_ctrl.c}}
\doxysubsubsection{\texorpdfstring{lio\_send\_ctrl\_pkt()}{lio\_send\_ctrl\_pkt()}}
{\footnotesize\ttfamily int lio\+\_\+send\+\_\+ctrl\+\_\+pkt (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$}]{oct,  }\item[{struct \mbox{\hyperlink{structlio__ctrl__pkt}{lio\+\_\+ctrl\+\_\+pkt}} $\ast$}]{nctrl }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{lio__ctrl_8c_source_l00117}{117}} of file \mbox{\hyperlink{lio__ctrl_8c_source}{lio\+\_\+ctrl.\+c}}.



References \mbox{\hyperlink{lio__common_8h_source_l00275}{octeon\+\_\+cmd\+::cmd}}, \mbox{\hyperlink{lio__device_8h_source_l00485}{octeon\+\_\+device\+::cmd\+\_\+resp\+\_\+state}}, \mbox{\hyperlink{lio__device_8h_source_l00484}{octeon\+\_\+device\+::cmd\+\_\+resp\+\_\+wqlock}}, \mbox{\hyperlink{lio__ctrl_8c_source_l00075}{lio\+\_\+alloc\+\_\+ctrl\+\_\+pkt\+\_\+sc()}}, \mbox{\hyperlink{lio__common_8h_source_l00194}{LIO\+\_\+\+CMD\+\_\+\+RX\+\_\+\+CTL}}, \mbox{\hyperlink{lio__bsd_8h_source_l00103}{lio\+\_\+dev\+\_\+err}}, \mbox{\hyperlink{lio__device_8h_source_l00542}{LIO\+\_\+\+DRV\+\_\+\+OFFLINE}}, \mbox{\hyperlink{lio__request__manager_8c_source_l00847}{lio\+\_\+free\+\_\+soft\+\_\+command()}}, \mbox{\hyperlink{lio__iq_8h_source_l00046}{LIO\+\_\+\+IQ\+\_\+\+SEND\+\_\+\+FAILED}}, \mbox{\hyperlink{lio__request__manager_8c_source_l00695}{lio\+\_\+send\+\_\+soft\+\_\+command()}}, \mbox{\hyperlink{lio__ctrl_8h_source_l00054}{lio\+\_\+ctrl\+\_\+pkt\+::ncmd}}, \mbox{\hyperlink{lio__device_8h_source_l00396}{octeon\+\_\+device\+::pf\+\_\+num}}, and \mbox{\hyperlink{unionocteon__cmd_ad5cae7e8f601a66277962156b10a211e}{octeon\+\_\+cmd\+::s}}.



Referenced by \mbox{\hyperlink{lio__ioctl_8c_source_l00066}{lio\+\_\+change\+\_\+dev\+\_\+flags()}}, \mbox{\hyperlink{lio__sysctl_8c_source_l00657}{lio\+\_\+get\+\_\+set\+\_\+pauseparam()}}, \mbox{\hyperlink{lio__sysctl_8c_source_l00108}{lio\+\_\+send\+\_\+queue\+\_\+count\+\_\+update()}}, \mbox{\hyperlink{lio__core_8c_source_l00047}{lio\+\_\+set\+\_\+feature()}}, \mbox{\hyperlink{lio__ioctl_8c_source_l00424}{lio\+\_\+set\+\_\+mac()}}, \mbox{\hyperlink{lio__ioctl_8c_source_l00512}{lio\+\_\+set\+\_\+mcast\+\_\+list()}}, \mbox{\hyperlink{lio__main_8c_source_l01626}{lio\+\_\+set\+\_\+rxcsum\+\_\+command()}}, \mbox{\hyperlink{lio__main_8c_source_l02071}{lio\+\_\+vlan\+\_\+rx\+\_\+add\+\_\+vid()}}, and \mbox{\hyperlink{lio__main_8c_source_l02102}{lio\+\_\+vlan\+\_\+rx\+\_\+kill\+\_\+vid()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/dff/lio__ctrl_8c_a93d515939a6aef78b9f008a414e73940_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/dff/lio__ctrl_8c_a93d515939a6aef78b9f008a414e73940_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{lio__ctrl_8c_a983d3d30828169adae4e8a58c1817fd1}\label{lio__ctrl_8c_a983d3d30828169adae4e8a58c1817fd1}} 
\index{lio\_ctrl.c@{lio\_ctrl.c}!lio\_send\_data\_pkt@{lio\_send\_data\_pkt}}
\index{lio\_send\_data\_pkt@{lio\_send\_data\_pkt}!lio\_ctrl.c@{lio\_ctrl.c}}
\doxysubsubsection{\texorpdfstring{lio\_send\_data\_pkt()}{lio\_send\_data\_pkt()}}
{\footnotesize\ttfamily int lio\+\_\+send\+\_\+data\+\_\+pkt (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structocteon__device}{octeon\+\_\+device}} $\ast$}]{oct,  }\item[{struct \mbox{\hyperlink{structlio__data__pkt}{lio\+\_\+data\+\_\+pkt}} $\ast$}]{ndata }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{lio__ctrl_8c_source_l00045}{45}} of file \mbox{\hyperlink{lio__ctrl_8c_source}{lio\+\_\+ctrl.\+c}}.



References \mbox{\hyperlink{lio__ctrl_8h_source_l00092}{lio\+\_\+data\+\_\+pkt\+::buf}}, \mbox{\hyperlink{lio__ctrl_8h_source_l00101}{lio\+\_\+data\+\_\+pkt\+::cmd}}, \mbox{\hyperlink{lio__ctrl_8h_source_l00098}{lio\+\_\+data\+\_\+pkt\+::datasize}}, \mbox{\hyperlink{lio__request__manager_8c_source_l00594}{lio\+\_\+send\+\_\+command()}}, \mbox{\hyperlink{lio__ctrl_8h_source_l00104}{lio\+\_\+data\+\_\+pkt\+::q\+\_\+no}}, and \mbox{\hyperlink{lio__ctrl_8h_source_l00095}{lio\+\_\+data\+\_\+pkt\+::reqtype}}.



Referenced by \mbox{\hyperlink{lio__rxtx_8c_source_l00047}{lio\+\_\+xmit()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/dff/lio__ctrl_8c_a983d3d30828169adae4e8a58c1817fd1_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d4/dff/lio__ctrl_8c_a983d3d30828169adae4e8a58c1817fd1_icgraph}
\end{center}
\end{figure}
