\hypertarget{mlx5_8h_source}{}\doxysection{mlx5.\+h}
\label{mlx5_8h_source}\index{dev/mlx5/mlx5\_lib/mlx5.h@{dev/mlx5/mlx5\_lib/mlx5.h}}
\mbox{\hyperlink{mlx5_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00002}00002 \textcolor{comment}{ * Copyright (c) 2017, Mellanox Technologies, Ltd.  All rights reserved.}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00004}00004 \textcolor{comment}{ * This software is available to you under a choice of one of two}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00005}00005 \textcolor{comment}{ * licenses.  You may choose to be licensed under the terms of the GNU}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00006}00006 \textcolor{comment}{ * General Public License (GPL) Version 2, available from the file}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00007}00007 \textcolor{comment}{ * COPYING in the main directory of this source tree, or the}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00008}00008 \textcolor{comment}{ * OpenIB.org BSD license below:}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00009}00009 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00010}00010 \textcolor{comment}{ *     Redistribution and use in source and binary forms, with or}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00011}00011 \textcolor{comment}{ *     without modification, are permitted provided that the following}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00012}00012 \textcolor{comment}{ *     conditions are met:}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00013}00013 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00014}00014 \textcolor{comment}{ *      -\/ Redistributions of source code must retain the above}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00015}00015 \textcolor{comment}{ *        copyright notice, this list of conditions and the following}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00016}00016 \textcolor{comment}{ *        disclaimer.}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00017}00017 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00018}00018 \textcolor{comment}{ *      -\/ Redistributions in binary form must reproduce the above}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00019}00019 \textcolor{comment}{ *        copyright notice, this list of conditions and the following}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00020}00020 \textcolor{comment}{ *        disclaimer in the documentation and/or other materials}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00021}00021 \textcolor{comment}{ *        provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00022}00022 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00023}00023 \textcolor{comment}{ * THE SOFTWARE IS PROVIDED "{}AS IS"{}, WITHOUT WARRANTY OF ANY KIND,}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00024}00024 \textcolor{comment}{ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00025}00025 \textcolor{comment}{ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00026}00026 \textcolor{comment}{ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00027}00027 \textcolor{comment}{ * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00028}00028 \textcolor{comment}{ * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00029}00029 \textcolor{comment}{ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00030}00030 \textcolor{comment}{ * SOFTWARE.}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00031}00031 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00032}00032 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00033}00033 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00034}00034 }
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00035}00035 \textcolor{preprocessor}{\#ifndef \_\_LIB\_MLX5\_H\_\_}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00036}00036 \textcolor{preprocessor}{\#define \_\_LIB\_MLX5\_H\_\_}}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00037}00037 }
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00038}00038 \textcolor{keywordtype}{void} \mbox{\hyperlink{mlx5_8h_a2190e1657197b0b11b9875816850e0a6}{mlx5\_init\_reserved\_gids}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev);}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00039}00039 \textcolor{keywordtype}{void} \mbox{\hyperlink{mlx5_8h_ae4842f902972c95c9ac072a4ba245ae9}{mlx5\_cleanup\_reserved\_gids}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev);}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00040}00040 \textcolor{keywordtype}{int}  \mbox{\hyperlink{mlx5_8h_acb9d266d368fac39885ca8c60441494a}{mlx5\_core\_reserve\_gids}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{int} count);}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00041}00041 \textcolor{keywordtype}{void} \mbox{\hyperlink{mlx5_8h_a5559522ee09fc09cadf9ed12cdacac27}{mlx5\_core\_unreserve\_gids}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, \textcolor{keywordtype}{unsigned} \textcolor{keywordtype}{int} count);}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00042}00042 \textcolor{keywordtype}{int}  \mbox{\hyperlink{mlx5_8h_a12b71ce637d0cef3e73b936725c88bb2}{mlx5\_core\_reserved\_gid\_alloc}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, \textcolor{keywordtype}{int} *gid\_index);}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00043}00043 \textcolor{keywordtype}{void} \mbox{\hyperlink{mlx5_8h_ada404341f418bd3c613e7e4b86b807d3}{mlx5\_core\_reserved\_gid\_free}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, \textcolor{keywordtype}{int} gid\_index);}
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00044}00044 }
\DoxyCodeLine{\Hypertarget{mlx5_8h_source_l00045}00045 \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
