\hypertarget{structmlx5__vport}{}\doxysection{mlx5\+\_\+vport Struct Reference}
\label{structmlx5__vport}\index{mlx5\_vport@{mlx5\_vport}}


{\ttfamily \#include $<$eswitch.\+h$>$}



Collaboration diagram for mlx5\+\_\+vport\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{dd/d1b/structmlx5__vport__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}} $\ast$ \mbox{\hyperlink{structmlx5__vport_ac5a5dda75671c6403a5825d213a66878}{dev}}
\item 
int \mbox{\hyperlink{structmlx5__vport_a5b2b18b1f230f950b25edcebe18ffee7}{vport}}
\item 
struct hlist\+\_\+head \mbox{\hyperlink{structmlx5__vport_aa41215bf4ca4d3734d41626bc06fea7f}{uc\+\_\+list}} \mbox{[}\mbox{\hyperlink{eswitch_8h_a669d4925f0b52290a6bd3fb001315e4a}{MLX5\+\_\+\+L2\+\_\+\+ADDR\+\_\+\+HASH\+\_\+\+SIZE}}\mbox{]}
\item 
struct hlist\+\_\+head \mbox{\hyperlink{structmlx5__vport_a7e0f973583874bf1027e5c0a2f535f2b}{mc\+\_\+list}} \mbox{[}\mbox{\hyperlink{eswitch_8h_a669d4925f0b52290a6bd3fb001315e4a}{MLX5\+\_\+\+L2\+\_\+\+ADDR\+\_\+\+HASH\+\_\+\+SIZE}}\mbox{]}
\item 
struct work\+\_\+struct \mbox{\hyperlink{structmlx5__vport_a6f447c3dab781b7b5e7b354cee5c9c16}{vport\+\_\+change\+\_\+handler}}
\item 
struct \mbox{\hyperlink{structvport__ingress}{vport\+\_\+ingress}} \mbox{\hyperlink{structmlx5__vport_affd00d4bfc4b5245a711a59f7917b69e}{ingress}}
\item 
struct \mbox{\hyperlink{structvport__egress}{vport\+\_\+egress}} \mbox{\hyperlink{structmlx5__vport_a7f74ec472dcdfc2251fd5bef7438fd07}{egress}}
\item 
u16 \mbox{\hyperlink{structmlx5__vport_afb1f84fbfd5df5334e3347700e7b1725}{vlan}}
\item 
u8 \mbox{\hyperlink{structmlx5__vport_abe3537f1f1aeafe43c4d25aea57d6836}{qos}}
\item 
struct mutex \mbox{\hyperlink{structmlx5__vport_a39159bace2fec6f8a7d0a14211eed363}{state\+\_\+lock}}
\item 
spinlock\+\_\+t \mbox{\hyperlink{structmlx5__vport_a569b873f24a1575d26bf5e917ed60dda}{lock}}
\item 
bool \mbox{\hyperlink{structmlx5__vport_ae5d345507258e839dbcc381e618f4265}{enabled}}
\item 
u16 \mbox{\hyperlink{structmlx5__vport_a061cb2a83293ea89a796d9eb179e1f13}{enabled\+\_\+events}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}


Definition at line \mbox{\hyperlink{eswitch_8h_source_l00099}{99}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



\doxysubsection{Field Documentation}
\mbox{\Hypertarget{structmlx5__vport_ac5a5dda75671c6403a5825d213a66878}\label{structmlx5__vport_ac5a5dda75671c6403a5825d213a66878}} 
\index{mlx5\_vport@{mlx5\_vport}!dev@{dev}}
\index{dev@{dev}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{dev}{dev}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structmlx5__core__dev}{mlx5\+\_\+core\+\_\+dev}}$\ast$ mlx5\+\_\+vport\+::dev}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00100}{100}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00575}{esw\+\_\+vport\+\_\+change\+\_\+handler()}}, and \mbox{\hyperlink{mlx5__eswitch_8c_source_l01087}{mlx5\+\_\+eswitch\+\_\+init()}}.

\mbox{\Hypertarget{structmlx5__vport_a7f74ec472dcdfc2251fd5bef7438fd07}\label{structmlx5__vport_a7f74ec472dcdfc2251fd5bef7438fd07}} 
\index{mlx5\_vport@{mlx5\_vport}!egress@{egress}}
\index{egress@{egress}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{egress}{egress}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structvport__egress}{vport\+\_\+egress}} mlx5\+\_\+vport\+::egress}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00107}{107}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00854}{esw\+\_\+vport\+\_\+egress\+\_\+config()}}.

\mbox{\Hypertarget{structmlx5__vport_ae5d345507258e839dbcc381e618f4265}\label{structmlx5__vport_ae5d345507258e839dbcc381e618f4265}} 
\index{mlx5\_vport@{mlx5\_vport}!enabled@{enabled}}
\index{enabled@{enabled}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{enabled}{enabled}}
{\footnotesize\ttfamily bool mlx5\+\_\+vport\+::enabled}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00117}{117}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00575}{esw\+\_\+vport\+\_\+change\+\_\+handler()}}, and \mbox{\hyperlink{mlx5__eswitch_8c_source_l01279}{mlx5\+\_\+eswitch\+\_\+set\+\_\+vport\+\_\+vlan()}}.

\mbox{\Hypertarget{structmlx5__vport_a061cb2a83293ea89a796d9eb179e1f13}\label{structmlx5__vport_a061cb2a83293ea89a796d9eb179e1f13}} 
\index{mlx5\_vport@{mlx5\_vport}!enabled\_events@{enabled\_events}}
\index{enabled\_events@{enabled\_events}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{enabled\_events}{enabled\_events}}
{\footnotesize\ttfamily u16 mlx5\+\_\+vport\+::enabled\+\_\+events}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00118}{118}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00575}{esw\+\_\+vport\+\_\+change\+\_\+handler()}}.

\mbox{\Hypertarget{structmlx5__vport_affd00d4bfc4b5245a711a59f7917b69e}\label{structmlx5__vport_affd00d4bfc4b5245a711a59f7917b69e}} 
\index{mlx5\_vport@{mlx5\_vport}!ingress@{ingress}}
\index{ingress@{ingress}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{ingress}{ingress}}
{\footnotesize\ttfamily struct \mbox{\hyperlink{structvport__ingress}{vport\+\_\+ingress}} mlx5\+\_\+vport\+::ingress}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00106}{106}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00775}{esw\+\_\+vport\+\_\+cleanup\+\_\+ingress\+\_\+rules()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00783}{esw\+\_\+vport\+\_\+disable\+\_\+ingress\+\_\+acl()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00714}{esw\+\_\+vport\+\_\+enable\+\_\+ingress\+\_\+acl()}}, and \mbox{\hyperlink{mlx5__eswitch_8c_source_l00798}{esw\+\_\+vport\+\_\+ingress\+\_\+config()}}.

\mbox{\Hypertarget{structmlx5__vport_a569b873f24a1575d26bf5e917ed60dda}\label{structmlx5__vport_a569b873f24a1575d26bf5e917ed60dda}} 
\index{mlx5\_vport@{mlx5\_vport}!lock@{lock}}
\index{lock@{lock}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{lock}{lock}}
{\footnotesize\ttfamily spinlock\+\_\+t mlx5\+\_\+vport\+::lock}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00116}{116}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.

\mbox{\Hypertarget{structmlx5__vport_a7e0f973583874bf1027e5c0a2f535f2b}\label{structmlx5__vport_a7e0f973583874bf1027e5c0a2f535f2b}} 
\index{mlx5\_vport@{mlx5\_vport}!mc\_list@{mc\_list}}
\index{mc\_list@{mc\_list}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{mc\_list}{mc\_list}}
{\footnotesize\ttfamily struct hlist\+\_\+head mlx5\+\_\+vport\+::mc\+\_\+list\mbox{[}\mbox{\hyperlink{eswitch_8h_a669d4925f0b52290a6bd3fb001315e4a}{MLX5\+\_\+\+L2\+\_\+\+ADDR\+\_\+\+HASH\+\_\+\+SIZE}}\mbox{]}}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00103}{103}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00477}{esw\+\_\+apply\+\_\+vport\+\_\+addr\+\_\+list()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00968}{esw\+\_\+cleanup\+\_\+vport()}}, and \mbox{\hyperlink{mlx5__eswitch_8c_source_l00512}{esw\+\_\+update\+\_\+vport\+\_\+addr\+\_\+list()}}.

\mbox{\Hypertarget{structmlx5__vport_abe3537f1f1aeafe43c4d25aea57d6836}\label{structmlx5__vport_abe3537f1f1aeafe43c4d25aea57d6836}} 
\index{mlx5\_vport@{mlx5\_vport}!qos@{qos}}
\index{qos@{qos}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{qos}{qos}}
{\footnotesize\ttfamily u8 mlx5\+\_\+vport\+::qos}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00110}{110}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00854}{esw\+\_\+vport\+\_\+egress\+\_\+config()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00798}{esw\+\_\+vport\+\_\+ingress\+\_\+config()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l01253}{mlx5\+\_\+eswitch\+\_\+get\+\_\+vport\+\_\+config()}}, and \mbox{\hyperlink{mlx5__eswitch_8c_source_l01279}{mlx5\+\_\+eswitch\+\_\+set\+\_\+vport\+\_\+vlan()}}.

\mbox{\Hypertarget{structmlx5__vport_a39159bace2fec6f8a7d0a14211eed363}\label{structmlx5__vport_a39159bace2fec6f8a7d0a14211eed363}} 
\index{mlx5\_vport@{mlx5\_vport}!state\_lock@{state\_lock}}
\index{state\_lock@{state\_lock}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{state\_lock}{state\_lock}}
{\footnotesize\ttfamily struct mutex mlx5\+\_\+vport\+::state\+\_\+lock}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00111}{111}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l01279}{mlx5\+\_\+eswitch\+\_\+set\+\_\+vport\+\_\+vlan()}}.

\mbox{\Hypertarget{structmlx5__vport_aa41215bf4ca4d3734d41626bc06fea7f}\label{structmlx5__vport_aa41215bf4ca4d3734d41626bc06fea7f}} 
\index{mlx5\_vport@{mlx5\_vport}!uc\_list@{uc\_list}}
\index{uc\_list@{uc\_list}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{uc\_list}{uc\_list}}
{\footnotesize\ttfamily struct hlist\+\_\+head mlx5\+\_\+vport\+::uc\+\_\+list\mbox{[}\mbox{\hyperlink{eswitch_8h_a669d4925f0b52290a6bd3fb001315e4a}{MLX5\+\_\+\+L2\+\_\+\+ADDR\+\_\+\+HASH\+\_\+\+SIZE}}\mbox{]}}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00102}{102}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00477}{esw\+\_\+apply\+\_\+vport\+\_\+addr\+\_\+list()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00968}{esw\+\_\+cleanup\+\_\+vport()}}, and \mbox{\hyperlink{mlx5__eswitch_8c_source_l00512}{esw\+\_\+update\+\_\+vport\+\_\+addr\+\_\+list()}}.

\mbox{\Hypertarget{structmlx5__vport_afb1f84fbfd5df5334e3347700e7b1725}\label{structmlx5__vport_afb1f84fbfd5df5334e3347700e7b1725}} 
\index{mlx5\_vport@{mlx5\_vport}!vlan@{vlan}}
\index{vlan@{vlan}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{vlan}{vlan}}
{\footnotesize\ttfamily u16 mlx5\+\_\+vport\+::vlan}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00109}{109}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00854}{esw\+\_\+vport\+\_\+egress\+\_\+config()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00798}{esw\+\_\+vport\+\_\+ingress\+\_\+config()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l01253}{mlx5\+\_\+eswitch\+\_\+get\+\_\+vport\+\_\+config()}}, and \mbox{\hyperlink{mlx5__eswitch_8c_source_l01279}{mlx5\+\_\+eswitch\+\_\+set\+\_\+vport\+\_\+vlan()}}.

\mbox{\Hypertarget{structmlx5__vport_a5b2b18b1f230f950b25edcebe18ffee7}\label{structmlx5__vport_a5b2b18b1f230f950b25edcebe18ffee7}} 
\index{mlx5\_vport@{mlx5\_vport}!vport@{vport}}
\index{vport@{vport}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{vport}{vport}}
{\footnotesize\ttfamily int mlx5\+\_\+vport\+::vport}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00101}{101}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00477}{esw\+\_\+apply\+\_\+vport\+\_\+addr\+\_\+list()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00968}{esw\+\_\+cleanup\+\_\+vport()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00989}{esw\+\_\+disable\+\_\+vport()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00930}{esw\+\_\+enable\+\_\+vport()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00512}{esw\+\_\+update\+\_\+vport\+\_\+addr\+\_\+list()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00575}{esw\+\_\+vport\+\_\+change\+\_\+handler()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00783}{esw\+\_\+vport\+\_\+disable\+\_\+ingress\+\_\+acl()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00854}{esw\+\_\+vport\+\_\+egress\+\_\+config()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00714}{esw\+\_\+vport\+\_\+enable\+\_\+ingress\+\_\+acl()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l00798}{esw\+\_\+vport\+\_\+ingress\+\_\+config()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l01253}{mlx5\+\_\+eswitch\+\_\+get\+\_\+vport\+\_\+config()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l01087}{mlx5\+\_\+eswitch\+\_\+init()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l01209}{mlx5\+\_\+eswitch\+\_\+set\+\_\+vport\+\_\+mac()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l01240}{mlx5\+\_\+eswitch\+\_\+set\+\_\+vport\+\_\+state()}}, \mbox{\hyperlink{mlx5__eswitch_8c_source_l01279}{mlx5\+\_\+eswitch\+\_\+set\+\_\+vport\+\_\+vlan()}}, and \mbox{\hyperlink{mlx5__eswitch_8c_source_l01174}{mlx5\+\_\+eswitch\+\_\+vport\+\_\+event()}}.

\mbox{\Hypertarget{structmlx5__vport_a6f447c3dab781b7b5e7b354cee5c9c16}\label{structmlx5__vport_a6f447c3dab781b7b5e7b354cee5c9c16}} 
\index{mlx5\_vport@{mlx5\_vport}!vport\_change\_handler@{vport\_change\_handler}}
\index{vport\_change\_handler@{vport\_change\_handler}!mlx5\_vport@{mlx5\_vport}}
\doxysubsubsection{\texorpdfstring{vport\_change\_handler}{vport\_change\_handler}}
{\footnotesize\ttfamily struct work\+\_\+struct mlx5\+\_\+vport\+::vport\+\_\+change\+\_\+handler}



Definition at line \mbox{\hyperlink{eswitch_8h_source_l00104}{104}} of file \mbox{\hyperlink{eswitch_8h_source}{eswitch.\+h}}.



Referenced by \mbox{\hyperlink{mlx5__eswitch_8c_source_l00575}{esw\+\_\+vport\+\_\+change\+\_\+handler()}}.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
dev/mlx5/mlx5\+\_\+core/\mbox{\hyperlink{eswitch_8h}{eswitch.\+h}}\end{DoxyCompactItemize}
