\hypertarget{vport_8h_source}{}\doxysection{vport.\+h}
\label{vport_8h_source}\index{dev/mlx5/vport.h@{dev/mlx5/vport.h}}
\mbox{\hyperlink{vport_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00002}00002 \textcolor{comment}{ * Copyright (c) 2013-\/2017, Mellanox Technologies, Ltd.  All rights reserved.}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00004}00004 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00005}00005 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00006}00006 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00007}00007 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00008}00008 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00009}00009 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00010}00010 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00011}00011 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00012}00012 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00013}00013 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS `AS IS' AND}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00014}00014 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00015}00015 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00016}00016 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00017}00017 \textcolor{comment}{ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00018}00018 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00019}00019 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00020}00020 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00021}00021 \textcolor{comment}{ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00022}00022 \textcolor{comment}{ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00023}00023 \textcolor{comment}{ * SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00024}00024 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00025}00025 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00026}00026 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00027}00027 }
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00028}00028 \textcolor{preprocessor}{\#ifndef \_\_MLX5\_VPORT\_H\_\_}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00029}00029 \textcolor{preprocessor}{\#define \_\_MLX5\_VPORT\_H\_\_}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00030}00030 }
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00031}00031 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{driver_8h}{dev/mlx5/driver.h}}>}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00032}00032 }
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00033}00033 \textcolor{keyword}{enum} \{}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00034}\mbox{\hyperlink{vport_8h_ae9481b45ac17ab64ccbe9ab02225b90ea0cc0d4655d71a3ba7f981fc31bd2ed2f}{00034}}         \mbox{\hyperlink{vport_8h_ae9481b45ac17ab64ccbe9ab02225b90ea0cc0d4655d71a3ba7f981fc31bd2ed2f}{MLX5\_CAP\_INLINE\_MODE\_L2}},}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00035}\mbox{\hyperlink{vport_8h_ae9481b45ac17ab64ccbe9ab02225b90ea19a64189c59ec3035608fca30e55106b}{00035}}         \mbox{\hyperlink{vport_8h_ae9481b45ac17ab64ccbe9ab02225b90ea19a64189c59ec3035608fca30e55106b}{MLX5\_CAP\_INLINE\_MODE\_VPORT\_CONTEXT}},}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00036}\mbox{\hyperlink{vport_8h_ae9481b45ac17ab64ccbe9ab02225b90ea7d8b702d4b64a4a45487979f0b7fa392}{00036}}         \mbox{\hyperlink{vport_8h_ae9481b45ac17ab64ccbe9ab02225b90ea7d8b702d4b64a4a45487979f0b7fa392}{MLX5\_CAP\_INLINE\_MODE\_NOT\_REQUIRED}},}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00037}00037 \};}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00038}00038 }
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00039}00039 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a45661dbed79a7022c3df1f30c686388d}{mlx5\_vport\_alloc\_q\_counter}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, \textcolor{keywordtype}{int} client\_id,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00040}00040                                u16 *counter\_set\_id);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00041}00041 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_aab2314b0702c2133398d1fd38175c2e0}{mlx5\_vport\_dealloc\_q\_counter}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, \textcolor{keywordtype}{int} client\_id,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00042}00042                                  u16 counter\_set\_id);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00043}00043 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ac6c23d1bc82e50661dd2c916e759ac1a}{mlx5\_vport\_query\_q\_counter}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00044}00044                                u16 counter\_set\_id,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00045}00045                                \textcolor{keywordtype}{int} reset,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00046}00046                                \textcolor{keywordtype}{void} *out,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00047}00047                                \textcolor{keywordtype}{int} out\_size);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00048}00048 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ae66967cffcbed90c2587e84e427f6d23}{mlx5\_vport\_query\_out\_of\_rx\_buffer}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00049}00049                                       u16 counter\_set\_id,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00050}00050                                       u32 *out\_of\_rx\_buffer);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00051}\mbox{\hyperlink{vport_8h_ae45294cfc836eb6f7b074732b7467716}{00051}} \textcolor{keyword}{enum} \mbox{\hyperlink{vport_8h_ae45294cfc836eb6f7b074732b7467716}{mlx5\_local\_lb\_selection}} \{}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00052}\mbox{\hyperlink{vport_8h_ae45294cfc836eb6f7b074732b7467716a627533e0efd77e002b526a699d218452}{00052}}         \mbox{\hyperlink{vport_8h_ae45294cfc836eb6f7b074732b7467716a627533e0efd77e002b526a699d218452}{MLX5\_LOCAL\_MC\_LB}},}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00053}00053         \mbox{\hyperlink{vport_8h_ae45294cfc836eb6f7b074732b7467716afec59d8a4c4ed410fc87d216fbcb99d6}{MLX5\_LOCAL\_UC\_LB}}}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00054}\mbox{\hyperlink{vport_8h_ae45294cfc836eb6f7b074732b7467716afec59d8a4c4ed410fc87d216fbcb99d6}{00054}} \};}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00055}00055 }
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00056}00056 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_acd6db224dd82f5178ad4b6cbf653bc2d}{mlx5\_nic\_vport\_query\_local\_lb}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00057}00057                                   \textcolor{keyword}{enum} \mbox{\hyperlink{vport_8h_ae45294cfc836eb6f7b074732b7467716}{mlx5\_local\_lb\_selection}} selection,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00058}00058                                   u8 *value);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00059}00059 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a8f8578c25cb0d743c590b94f79b66277}{mlx5\_nic\_vport\_update\_local\_lb}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, \textcolor{keywordtype}{bool} enable);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00060}00060 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a603f4ce0ffe8e7f135af7750598f3d8c}{mlx5\_nic\_vport\_modify\_local\_lb}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00061}00061                                    \textcolor{keyword}{enum} \mbox{\hyperlink{vport_8h_ae45294cfc836eb6f7b074732b7467716}{mlx5\_local\_lb\_selection}} selection,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00062}00062                                    u8 value);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00063}00063 u8 \mbox{\hyperlink{vport_8h_aa8703527536e635b6ee8aae884fcb28c}{mlx5\_query\_vport\_state}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, u8 opmod, u16 vport);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00064}00064 u8 \mbox{\hyperlink{vport_8h_a7eb8f7e36690591668e15e25ba661a14}{mlx5\_query\_vport\_admin\_state}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, u8 opmod,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00065}00065                                 u16 vport);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00066}00066 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ae0e1f1cc2cf2a741f596d1c5c215a924}{mlx5\_modify\_vport\_admin\_state}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, u8 opmod,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00067}00067                                   u16 vport, u8 \mbox{\hyperlink{en__hw__tls_8h_a1b0c7bd4d79798ef4e0ce23894c9aeb2}{state}});}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00068}00068 }
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00069}00069 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ad52a75180f12718ecd54dce8542eb422}{mlx5\_query\_vport\_mtu}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, \textcolor{keywordtype}{int} *mtu);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00070}00070 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a8262d0c98759f0d6808828dbed59d401}{mlx5\_set\_vport\_mtu}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, \textcolor{keywordtype}{int} mtu);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00071}00071 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a2a3868fde9bb88d00a77cb2af3eba5fd}{mlx5\_query\_min\_wqe\_header}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, \textcolor{keywordtype}{int} *min\_header);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00072}00072 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a1a7628bf26fa604a2f0f6a655647464f}{mlx5\_set\_vport\_min\_wqe\_header}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, u8 vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00073}00073                                   \textcolor{keywordtype}{int} min\_header);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00074}00074 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a535a9bbd0cc190dd1d525334f494d76c}{mlx5\_query\_nic\_vport\_promisc}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00075}00075                                  u16 vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00076}00076                                  \textcolor{keywordtype}{int} *promisc\_uc,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00077}00077                                  \textcolor{keywordtype}{int} *promisc\_mc,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00078}00078                                  \textcolor{keywordtype}{int} *promisc\_all);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00079}00079 }
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00080}00080 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a1f7f14f66cc4e76465342e607459a70a}{mlx5\_modify\_nic\_vport\_promisc}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00081}00081                                   \textcolor{keywordtype}{int} promisc\_uc,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00082}00082                                   \textcolor{keywordtype}{int} promisc\_mc,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00083}00083                                   \textcolor{keywordtype}{int} promisc\_all);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00084}00084 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ad67a4267d8c0e7b052f317c01819063a}{mlx5\_query\_nic\_vport\_mac\_address}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00085}00085                                      u16 vport, u8 *addr);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00086}\mbox{\hyperlink{vport_8h_ac2d3cc6bf3aeab1a2f681fd4486534e8}{00086}} \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ac2d3cc6bf3aeab1a2f681fd4486534e8}{mlx5\_modify\_nic\_vport\_mac\_address}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00087}00087                                       u16 vport, u8 mac[ETH\_ALEN]);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00088}00088 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a1194e690c3401c72371b96be137693e5}{mlx5\_set\_nic\_vport\_current\_mac}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, \textcolor{keywordtype}{int} vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00089}00089                                    \textcolor{keywordtype}{bool} other\_vport, u8 *addr);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00090}00090 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a17203b6dab685d4b5ed4393f4d74b115}{mlx5\_query\_nic\_vport\_min\_inline}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00091}00091                                     u16 vport, u8 *min\_inline);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00092}00092 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a59d58ee49e6565ec90af1388ac777224}{mlx5\_query\_min\_inline}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, u8 *min\_inline);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00093}00093 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a224ffd2de62f5609e9dc11f823e97106}{mlx5\_modify\_nic\_vport\_min\_inline}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00094}00094                                      u16 vport, u8 min\_inline);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00095}00095 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ae9e04d2f1347247f3ed579f6c0be4ff2}{mlx5\_modify\_nic\_vport\_port\_guid}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00096}00096                                     u32 vport, u64 port\_guid);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00097}00097 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_aa7fab2db8d1228e4a2748d9bcab465d2}{mlx5\_modify\_nic\_vport\_node\_guid}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00098}00098                                     u32 vport, u64 node\_guid);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00099}00099 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ab2aff6177ff65f6b9cae24268b94fd3e}{mlx5\_set\_nic\_vport\_vlan\_list}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, u16 vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00100}00100                                  u16 *vlan\_list, \textcolor{keywordtype}{int} list\_len);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00101}00101 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ad5123184b3c8b6972ed0c88feb962ae3}{mlx5\_set\_nic\_vport\_mc\_list}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, \textcolor{keywordtype}{int} vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00102}00102                                u64 *addr\_list, \textcolor{keywordtype}{size\_t} addr\_list\_len);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00103}00103 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ae8ee332b8fab042227301575c75c52fd}{mlx5\_set\_nic\_vport\_promisc}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, \textcolor{keywordtype}{int} vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00104}00104                                \textcolor{keywordtype}{bool} promisc\_mc, \textcolor{keywordtype}{bool} promisc\_uc,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00105}00105                                \textcolor{keywordtype}{bool} promisc\_all);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00106}00106 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a7e4b02089ade0c23348970417c955a23}{mlx5\_query\_nic\_vport\_mac\_list}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00107}00107                                   u16 vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00108}00108                                   \textcolor{keyword}{enum} \mbox{\hyperlink{device_8h_aaeffb3e9673a6ec1ceffbec7699c0ce1}{mlx5\_list\_type}} list\_type,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00109}00109                                   u8 addr\_list[][ETH\_ALEN],}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00110}00110                                   \textcolor{keywordtype}{int} *list\_size);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00111}00111 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_aab3b7baadd1aa763598badef6bdc1fab}{mlx5\_query\_nic\_vport\_vlans}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00112}00112                                u16 vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00113}00113                                u16 vlans[],}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00114}00114                                \textcolor{keywordtype}{int} *size);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00115}00115 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a8027ceab8cab96c744ac92e52387dc27}{mlx5\_modify\_nic\_vport\_vlans}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00116}00116                                 u16 vlans[],}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00117}00117                                 \textcolor{keywordtype}{int} list\_size);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00118}00118 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a8f3c5c215546b9ffce834cbc7c1542e2}{mlx5\_query\_nic\_vport\_roce\_en}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, u8 *enable);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00119}00119 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_aab16f8944c4fc7d888910b604f3a7180}{mlx5\_modify\_nic\_vport\_mac\_list}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00120}00120                                    \textcolor{keyword}{enum} \mbox{\hyperlink{device_8h_aaeffb3e9673a6ec1ceffbec7699c0ce1}{mlx5\_list\_type}} list\_type,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00121}00121                                    u8 addr\_list[][ETH\_ALEN],}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00122}00122                                    \textcolor{keywordtype}{int} list\_size);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00123}00123 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a2aefca279f884e058112abda2b55333b}{mlx5\_set\_nic\_vport\_permanent\_mac}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, \textcolor{keywordtype}{int} vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00124}00124                                      u8 *addr);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00125}00125 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_af8566a5aca11144770173c575b151cf1}{mlx5\_nic\_vport\_enable\_roce}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00126}00126 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_aa10e84d4c730728eb1b932d9e991ebd7}{mlx5\_nic\_vport\_disable\_roce}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00127}00127 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_afa18c2d0b6619e94a9b54c33d7364df1}{mlx5\_core\_query\_vport\_counter}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, u8 other\_vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00128}00128                                   \textcolor{keywordtype}{int} vf, u8 port\_num, \textcolor{keywordtype}{void} *out,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00129}00129                                   \textcolor{keywordtype}{size\_t} out\_sz);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00130}00130 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_af2e8cde2f4be894db6da4cdbc49d35c0}{mlx5\_query\_nic\_vport\_system\_image\_guid}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00131}00131                                            u64 *system\_image\_guid);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00132}00132 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ae29384ebb2c0a4a57f13a2e3f49e7d24}{mlx5\_query\_vport\_system\_image\_guid}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00133}00133                                        u64 *sys\_image\_guid);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00134}00134 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_af3dbd42f9879c712186850ff4e5443ce}{mlx5\_query\_vport\_node\_guid}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, u64 *node\_guid);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00135}00135 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a81de7714c9a8250e7b6701405e3381fb}{mlx5\_query\_vport\_port\_guid}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, u64 *port\_guid);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00136}00136 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ad8470d5d83d1962d2e639d1512996808}{mlx5\_query\_hca\_vport\_state}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, u8 *vport\_state);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00137}00137 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ab6907146eb9497d7e0eb46a00b8d67b6}{mlx5\_query\_nic\_vport\_node\_guid}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, u64 *node\_guid);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00138}00138 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_afe74a5d7590852bdb97b4a152f88f3fd}{mlx5\_query\_nic\_vport\_qkey\_viol\_cntr}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00139}00139                                         u16 *qkey\_viol\_cntr);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00140}00140 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a16f9c7792382f0b1471252d1bc8273cd}{mlx5\_query\_hca\_vport\_node\_guid}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, u64 *node\_guid);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00141}00141 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_ad328c919adfa7b62b95435249a789759}{mlx5\_query\_hca\_vport\_system\_image\_guid}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00142}00142                                            u64 *system\_image\_guid);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00143}00143 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a19b129ef54b11e986b5aa1614cc494e2}{mlx5\_query\_hca\_vport\_context}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00144}00144                                  u8 port\_num, u8 vport\_num, u32 *out,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00145}00145                                  \textcolor{keywordtype}{int} outlen);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00146}00146 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_aedcf2e696cfa593a3458f84fbb20fbb1}{mlx5\_query\_hca\_vport\_pkey}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, u8 other\_vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00147}00147                               u8 port\_num, u16 vf\_num, u16 pkey\_index,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00148}00148                               u16 *pkey);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00149}00149 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a0d0df9b77a8de66ba02b0bdfed231db7}{mlx5\_query\_hca\_vport\_gid}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, u8 port\_num,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00150}00150                              u16 vport\_num, u16 gid\_index, \textcolor{keyword}{union} ib\_gid *gid);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00151}00151 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_af051abe44a9a700a75805b7dcdafe272}{mlx5\_set\_eswitch\_cvlan\_info}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev, u8 vport,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00152}00152                                 u8 insert\_mode, u8 strip\_mode,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00153}00153                                 u16 vlan, u8 cfi, u8 pcp);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00154}00154 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_abb3c9254128d4b6171dab2e83a4e10ae}{mlx5\_query\_vport\_counter}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00155}00155                              u8 port\_num, u16 vport\_num,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00156}00156                              \textcolor{keywordtype}{void} *out, \textcolor{keywordtype}{int} out\_size);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00157}00157 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_aff35040545198899020b867acff33200}{mlx5\_get\_vport\_counters}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, u8 port\_num,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00158}00158                             \textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__vport__counters}{mlx5\_vport\_counters}} *vc);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00159}00159 \textcolor{keywordtype}{int} \mbox{\hyperlink{vport_8h_a5dabba4262dc188b4b60990077028432}{mlx5\_core\_query\_ib\_ppcnt}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev,}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00160}00160                              u8 port\_num, \textcolor{keywordtype}{void} *out, \textcolor{keywordtype}{size\_t} sz);}
\DoxyCodeLine{\Hypertarget{vport_8h_source_l00161}00161 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* \_\_MLX5\_VPORT\_H\_\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
