\hypertarget{mlx5__mcg_8c}{}\doxysection{dev/mlx5/mlx5\+\_\+core/mlx5\+\_\+mcg.c File Reference}
\label{mlx5__mcg_8c}\index{dev/mlx5/mlx5\_core/mlx5\_mcg.c@{dev/mlx5/mlx5\_core/mlx5\_mcg.c}}
{\ttfamily \#include \char`\"{}opt\+\_\+rss.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}opt\+\_\+ratelimit.\+h\char`\"{}}\newline
{\ttfamily \#include $<$linux/kernel.\+h$>$}\newline
{\ttfamily \#include $<$linux/module.\+h$>$}\newline
{\ttfamily \#include $<$dev/mlx5/driver.\+h$>$}\newline
{\ttfamily \#include $<$rdma/ib\+\_\+verbs.\+h$>$}\newline
{\ttfamily \#include $<$dev/mlx5/mlx5\+\_\+core/mlx5\+\_\+core.\+h$>$}\newline
Include dependency graph for mlx5\+\_\+mcg.\+c\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d0/d01/mlx5__mcg_8c__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{mlx5__mcg_8c_affaf1b7dbbf8d9c67b6f9679a8a5dec4}{mlx5\+\_\+core\+\_\+attach\+\_\+mcg}} (struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$dev, union ib\+\_\+gid $\ast$mgid, u32 qpn)
\item 
\mbox{\hyperlink{mlx5__mcg_8c_a066d2faec6d635d330f0ca3c34eee922}{EXPORT\+\_\+\+SYMBOL}} (\mbox{\hyperlink{mlx5__mcg_8c_affaf1b7dbbf8d9c67b6f9679a8a5dec4}{mlx5\+\_\+core\+\_\+attach\+\_\+mcg}})
\item 
int \mbox{\hyperlink{mlx5__mcg_8c_a23151306d4c8e26df288f2af7a6a9d39}{mlx5\+\_\+core\+\_\+detach\+\_\+mcg}} (struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$dev, union ib\+\_\+gid $\ast$mgid, u32 qpn)
\item 
\mbox{\hyperlink{mlx5__mcg_8c_a1d9cc31016682578f4545b0cfa31aad2}{EXPORT\+\_\+\+SYMBOL}} (\mbox{\hyperlink{mlx5__mcg_8c_a23151306d4c8e26df288f2af7a6a9d39}{mlx5\+\_\+core\+\_\+detach\+\_\+mcg}})
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{mlx5__mcg_8c_a066d2faec6d635d330f0ca3c34eee922}\label{mlx5__mcg_8c_a066d2faec6d635d330f0ca3c34eee922}} 
\index{mlx5\_mcg.c@{mlx5\_mcg.c}!EXPORT\_SYMBOL@{EXPORT\_SYMBOL}}
\index{EXPORT\_SYMBOL@{EXPORT\_SYMBOL}!mlx5\_mcg.c@{mlx5\_mcg.c}}
\doxysubsubsection{\texorpdfstring{EXPORT\_SYMBOL()}{EXPORT\_SYMBOL()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily EXPORT\+\_\+\+SYMBOL (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{mlx5__mcg_8c_affaf1b7dbbf8d9c67b6f9679a8a5dec4}{mlx5\+\_\+core\+\_\+attach\+\_\+mcg}}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{mlx5__mcg_8c_a1d9cc31016682578f4545b0cfa31aad2}\label{mlx5__mcg_8c_a1d9cc31016682578f4545b0cfa31aad2}} 
\index{mlx5\_mcg.c@{mlx5\_mcg.c}!EXPORT\_SYMBOL@{EXPORT\_SYMBOL}}
\index{EXPORT\_SYMBOL@{EXPORT\_SYMBOL}!mlx5\_mcg.c@{mlx5\_mcg.c}}
\doxysubsubsection{\texorpdfstring{EXPORT\_SYMBOL()}{EXPORT\_SYMBOL()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily EXPORT\+\_\+\+SYMBOL (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{mlx5__mcg_8c_a23151306d4c8e26df288f2af7a6a9d39}{mlx5\+\_\+core\+\_\+detach\+\_\+mcg}}}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{mlx5__mcg_8c_affaf1b7dbbf8d9c67b6f9679a8a5dec4}\label{mlx5__mcg_8c_affaf1b7dbbf8d9c67b6f9679a8a5dec4}} 
\index{mlx5\_mcg.c@{mlx5\_mcg.c}!mlx5\_core\_attach\_mcg@{mlx5\_core\_attach\_mcg}}
\index{mlx5\_core\_attach\_mcg@{mlx5\_core\_attach\_mcg}!mlx5\_mcg.c@{mlx5\_mcg.c}}
\doxysubsubsection{\texorpdfstring{mlx5\_core\_attach\_mcg()}{mlx5\_core\_attach\_mcg()}}
{\footnotesize\ttfamily int mlx5\+\_\+core\+\_\+attach\+\_\+mcg (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$}]{dev,  }\item[{union ib\+\_\+gid $\ast$}]{mgid,  }\item[{u32}]{qpn }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mlx5__mcg_8c_source_l00037}{37}} of file \mbox{\hyperlink{mlx5__mcg_8c_source}{mlx5\+\_\+mcg.\+c}}.



References \mbox{\hyperlink{device_8h_source_l00070}{MLX5\+\_\+\+ADDR\+\_\+\+OF}}, \mbox{\hyperlink{mlx5__cmd_8c_source_l01347}{mlx5\+\_\+cmd\+\_\+exec()}}, \mbox{\hyperlink{mlx5__ifc_8h_source_l00204}{MLX5\+\_\+\+CMD\+\_\+\+OP\+\_\+\+ATTACH\+\_\+\+TO\+\_\+\+MCG}}, \mbox{\hyperlink{device_8h_source_l00073}{MLX5\+\_\+\+SET}}, and \mbox{\hyperlink{device_8h_source_l00065}{MLX5\+\_\+\+ST\+\_\+\+SZ\+\_\+\+DW}}.



Referenced by \mbox{\hyperlink{mlx5__ib__main_8c_source_l02491}{mlx5\+\_\+ib\+\_\+mcg\+\_\+attach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/d3e/mlx5__mcg_8c_affaf1b7dbbf8d9c67b6f9679a8a5dec4_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/d3e/mlx5__mcg_8c_affaf1b7dbbf8d9c67b6f9679a8a5dec4_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mlx5__mcg_8c_a23151306d4c8e26df288f2af7a6a9d39}\label{mlx5__mcg_8c_a23151306d4c8e26df288f2af7a6a9d39}} 
\index{mlx5\_mcg.c@{mlx5\_mcg.c}!mlx5\_core\_detach\_mcg@{mlx5\_core\_detach\_mcg}}
\index{mlx5\_core\_detach\_mcg@{mlx5\_core\_detach\_mcg}!mlx5\_mcg.c@{mlx5\_mcg.c}}
\doxysubsubsection{\texorpdfstring{mlx5\_core\_detach\_mcg()}{mlx5\_core\_detach\_mcg()}}
{\footnotesize\ttfamily int mlx5\+\_\+core\+\_\+detach\+\_\+mcg (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$}]{dev,  }\item[{union ib\+\_\+gid $\ast$}]{mgid,  }\item[{u32}]{qpn }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mlx5__mcg_8c_source_l00051}{51}} of file \mbox{\hyperlink{mlx5__mcg_8c_source}{mlx5\+\_\+mcg.\+c}}.



References \mbox{\hyperlink{device_8h_source_l00070}{MLX5\+\_\+\+ADDR\+\_\+\+OF}}, \mbox{\hyperlink{mlx5__cmd_8c_source_l01347}{mlx5\+\_\+cmd\+\_\+exec()}}, \mbox{\hyperlink{mlx5__ifc_8h_source_l00205}{MLX5\+\_\+\+CMD\+\_\+\+OP\+\_\+\+DETACH\+\_\+\+FROM\+\_\+\+MCG}}, \mbox{\hyperlink{device_8h_source_l00073}{MLX5\+\_\+\+SET}}, and \mbox{\hyperlink{device_8h_source_l00065}{MLX5\+\_\+\+ST\+\_\+\+SZ\+\_\+\+DW}}.



Referenced by \mbox{\hyperlink{mlx5__ib__main_8c_source_l02504}{mlx5\+\_\+ib\+\_\+mcg\+\_\+detach()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/d3e/mlx5__mcg_8c_a23151306d4c8e26df288f2af7a6a9d39_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/d3e/mlx5__mcg_8c_a23151306d4c8e26df288f2af7a6a9d39_icgraph}
\end{center}
\end{figure}
