\hypertarget{mpfs_8h}{}\doxysection{dev/mlx5/mpfs.h File Reference}
\label{mpfs_8h}\index{dev/mlx5/mpfs.h@{dev/mlx5/mpfs.h}}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d6a/mpfs_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{mpfs_8h_ae81652b86784ac6d7ac6ebdca6281138}{mlx5\+\_\+mpfs\+\_\+add\+\_\+mac}} (struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$dev, u32 $\ast$p\+\_\+index, const u8 $\ast$mac, u8 vlan\+\_\+valid, u16 bbvlan)
\item 
int \mbox{\hyperlink{mpfs_8h_ad8c179552af531145d7d7ac54b79d4d1}{mlx5\+\_\+mpfs\+\_\+del\+\_\+mac}} (struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$dev, u32 index)
\item 
int \mbox{\hyperlink{mpfs_8h_a5c2be96b9863422cd00914d13f421835}{mlx5\+\_\+mpfs\+\_\+init}} (struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$dev)
\item 
void \mbox{\hyperlink{mpfs_8h_a4ff0e26c2aeae16b6f4a3472db27c8de}{mlx5\+\_\+mpfs\+\_\+destroy}} (struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$dev)
\end{DoxyCompactItemize}


\doxysubsection{Function Documentation}
\mbox{\Hypertarget{mpfs_8h_ae81652b86784ac6d7ac6ebdca6281138}\label{mpfs_8h_ae81652b86784ac6d7ac6ebdca6281138}} 
\index{mpfs.h@{mpfs.h}!mlx5\_mpfs\_add\_mac@{mlx5\_mpfs\_add\_mac}}
\index{mlx5\_mpfs\_add\_mac@{mlx5\_mpfs\_add\_mac}!mpfs.h@{mpfs.h}}
\doxysubsubsection{\texorpdfstring{mlx5\_mpfs\_add\_mac()}{mlx5\_mpfs\_add\_mac()}}
{\footnotesize\ttfamily int mlx5\+\_\+mpfs\+\_\+add\+\_\+mac (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$}]{dev,  }\item[{u32 $\ast$}]{p\+\_\+index,  }\item[{const u8 $\ast$}]{mac,  }\item[{u8}]{vlan\+\_\+valid,  }\item[{u16}]{bbvlan }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mlx5__mpfs_8c_source_l00045}{45}} of file \mbox{\hyperlink{mlx5__mpfs_8c_source}{mlx5\+\_\+mpfs.\+c}}.



References \mbox{\hyperlink{driver_8h_source_l00715}{mlx5\+\_\+core\+\_\+dev\+::bitmap}}, \mbox{\hyperlink{device_8h_source_l00070}{MLX5\+\_\+\+ADDR\+\_\+\+OF}}, \mbox{\hyperlink{device_8h_source_l01027}{MLX5\+\_\+\+CAP\+\_\+\+GEN}}, \mbox{\hyperlink{mlx5__cmd_8c_source_l01347}{mlx5\+\_\+cmd\+\_\+exec()}}, \mbox{\hyperlink{mlx5__ifc_8h_source_l00228}{MLX5\+\_\+\+CMD\+\_\+\+OP\+\_\+\+SET\+\_\+\+L2\+\_\+\+TABLE\+\_\+\+ENTRY}}, \mbox{\hyperlink{driver_8h_source_l00714}{MLX5\+\_\+\+MPFS\+\_\+\+TABLE\+\_\+\+MAX}}, \mbox{\hyperlink{device_8h_source_l00073}{MLX5\+\_\+\+SET}}, \mbox{\hyperlink{device_8h_source_l00065}{MLX5\+\_\+\+ST\+\_\+\+SZ\+\_\+\+DW}}, \mbox{\hyperlink{structmlx5__core__dev_a576180451848b73ad5ea278af4374512}{mlx5\+\_\+core\+\_\+dev\+::mpfs}}, \mbox{\hyperlink{mlx5__mpfs_8c_source_l00041}{MPFS\+\_\+\+LOCK}}, and \mbox{\hyperlink{mlx5__mpfs_8c_source_l00042}{MPFS\+\_\+\+UNLOCK}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00346}{esw\+\_\+add\+\_\+uc\+\_\+addr()}}, and \mbox{\hyperlink{mlx5__en__flow__table_8c_source_l01083}{mlx5e\+\_\+sync\+\_\+ifp\+\_\+addr()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d3d/mpfs_8h_ae81652b86784ac6d7ac6ebdca6281138_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d3d/mpfs_8h_ae81652b86784ac6d7ac6ebdca6281138_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mpfs_8h_ad8c179552af531145d7d7ac54b79d4d1}\label{mpfs_8h_ad8c179552af531145d7d7ac54b79d4d1}} 
\index{mpfs.h@{mpfs.h}!mlx5\_mpfs\_del\_mac@{mlx5\_mpfs\_del\_mac}}
\index{mlx5\_mpfs\_del\_mac@{mlx5\_mpfs\_del\_mac}!mpfs.h@{mpfs.h}}
\doxysubsubsection{\texorpdfstring{mlx5\_mpfs\_del\_mac()}{mlx5\_mpfs\_del\_mac()}}
{\footnotesize\ttfamily int mlx5\+\_\+mpfs\+\_\+del\+\_\+mac (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$}]{dev,  }\item[{u32}]{index }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mlx5__mpfs_8c_source_l00090}{90}} of file \mbox{\hyperlink{mlx5__mpfs_8c_source}{mlx5\+\_\+mpfs.\+c}}.



References \mbox{\hyperlink{driver_8h_source_l00715}{mlx5\+\_\+core\+\_\+dev\+::bitmap}}, \mbox{\hyperlink{device_8h_source_l01027}{MLX5\+\_\+\+CAP\+\_\+\+GEN}}, \mbox{\hyperlink{mlx5__cmd_8c_source_l01347}{mlx5\+\_\+cmd\+\_\+exec()}}, \mbox{\hyperlink{mlx5__ifc_8h_source_l00230}{MLX5\+\_\+\+CMD\+\_\+\+OP\+\_\+\+DELETE\+\_\+\+L2\+\_\+\+TABLE\+\_\+\+ENTRY}}, \mbox{\hyperlink{device_8h_source_l00073}{MLX5\+\_\+\+SET}}, \mbox{\hyperlink{device_8h_source_l00065}{MLX5\+\_\+\+ST\+\_\+\+SZ\+\_\+\+DW}}, \mbox{\hyperlink{structmlx5__core__dev_a576180451848b73ad5ea278af4374512}{mlx5\+\_\+core\+\_\+dev\+::mpfs}}, \mbox{\hyperlink{mlx5__mpfs_8c_source_l00041}{MPFS\+\_\+\+LOCK}}, and \mbox{\hyperlink{mlx5__mpfs_8c_source_l00042}{MPFS\+\_\+\+UNLOCK}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00382}{esw\+\_\+del\+\_\+uc\+\_\+addr()}}, and \mbox{\hyperlink{mlx5__en__flow__table_8c_source_l01015}{mlx5e\+\_\+execute\+\_\+action()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d3d/mpfs_8h_ad8c179552af531145d7d7ac54b79d4d1_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d3d/mpfs_8h_ad8c179552af531145d7d7ac54b79d4d1_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mpfs_8h_a4ff0e26c2aeae16b6f4a3472db27c8de}\label{mpfs_8h_a4ff0e26c2aeae16b6f4a3472db27c8de}} 
\index{mpfs.h@{mpfs.h}!mlx5\_mpfs\_destroy@{mlx5\_mpfs\_destroy}}
\index{mlx5\_mpfs\_destroy@{mlx5\_mpfs\_destroy}!mpfs.h@{mpfs.h}}
\doxysubsubsection{\texorpdfstring{mlx5\_mpfs\_destroy()}{mlx5\_mpfs\_destroy()}}
{\footnotesize\ttfamily void mlx5\+\_\+mpfs\+\_\+destroy (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$}]{dev }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mlx5__mpfs_8c_source_l00124}{124}} of file \mbox{\hyperlink{mlx5__mpfs_8c_source}{mlx5\+\_\+mpfs.\+c}}.



References \mbox{\hyperlink{driver_8h_source_l00715}{mlx5\+\_\+core\+\_\+dev\+::bitmap}}, \mbox{\hyperlink{mlx5__core_8h_source_l00056}{mlx5\+\_\+core\+\_\+err}}, \mbox{\hyperlink{driver_8h_source_l00714}{MLX5\+\_\+\+MPFS\+\_\+\+TABLE\+\_\+\+MAX}}, \mbox{\hyperlink{structmlx5__core__dev_a576180451848b73ad5ea278af4374512}{mlx5\+\_\+core\+\_\+dev\+::mpfs}}, and \mbox{\hyperlink{driver_8h_source_l00713}{mlx5\+\_\+core\+\_\+dev\+::spinlock}}.



Referenced by \mbox{\hyperlink{mlx5__main_8c_source_l01035}{mlx5\+\_\+load\+\_\+one()}}, and \mbox{\hyperlink{mlx5__main_8c_source_l01256}{mlx5\+\_\+unload\+\_\+one()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d3d/mpfs_8h_a4ff0e26c2aeae16b6f4a3472db27c8de_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{mpfs_8h_a5c2be96b9863422cd00914d13f421835}\label{mpfs_8h_a5c2be96b9863422cd00914d13f421835}} 
\index{mpfs.h@{mpfs.h}!mlx5\_mpfs\_init@{mlx5\_mpfs\_init}}
\index{mlx5\_mpfs\_init@{mlx5\_mpfs\_init}!mpfs.h@{mpfs.h}}
\doxysubsubsection{\texorpdfstring{mlx5\_mpfs\_init()}{mlx5\_mpfs\_init()}}
{\footnotesize\ttfamily int mlx5\+\_\+mpfs\+\_\+init (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$}]{dev }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{mlx5__mpfs_8c_source_l00115}{115}} of file \mbox{\hyperlink{mlx5__mpfs_8c_source}{mlx5\+\_\+mpfs.\+c}}.



References \mbox{\hyperlink{driver_8h_source_l00715}{mlx5\+\_\+core\+\_\+dev\+::bitmap}}, \mbox{\hyperlink{driver_8h_source_l00714}{MLX5\+\_\+\+MPFS\+\_\+\+TABLE\+\_\+\+MAX}}, \mbox{\hyperlink{structmlx5__core__dev_a576180451848b73ad5ea278af4374512}{mlx5\+\_\+core\+\_\+dev\+::mpfs}}, and \mbox{\hyperlink{driver_8h_source_l00713}{mlx5\+\_\+core\+\_\+dev\+::spinlock}}.



Referenced by \mbox{\hyperlink{mlx5__main_8c_source_l01035}{mlx5\+\_\+load\+\_\+one()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d7/d3d/mpfs_8h_a5c2be96b9863422cd00914d13f421835_icgraph}
\end{center}
\end{figure}
