\hypertarget{cmd_8h_source}{}\doxysection{cmd.\+h}
\label{cmd_8h_source}\index{dev/mlx5/cmd.h@{dev/mlx5/cmd.h}}
\mbox{\hyperlink{cmd_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00002}00002 \textcolor{comment}{ * Copyright (c) 2013-\/2017, Mellanox Technologies, Ltd.  All rights reserved.}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00004}00004 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00005}00005 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00006}00006 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00007}00007 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00008}00008 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00009}00009 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00010}00010 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00011}00011 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00012}00012 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00013}00013 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS `AS IS' AND}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00014}00014 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00015}00015 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00016}00016 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00017}00017 \textcolor{comment}{ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00018}00018 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00019}00019 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00020}00020 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00021}00021 \textcolor{comment}{ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00022}00022 \textcolor{comment}{ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00023}00023 \textcolor{comment}{ * SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00024}00024 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00025}00025 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00026}00026 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00027}00027 }
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00028}00028 \textcolor{preprocessor}{\#ifndef MLX5\_CMD\_H}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00029}00029 \textcolor{preprocessor}{\#define MLX5\_CMD\_H}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00030}00030 }
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00031}00031 \textcolor{preprocessor}{\#include <linux/types.h>}}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00032}00032 }
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00033}\mbox{\hyperlink{structmanage__pages__layout}{00033}} \textcolor{keyword}{struct }\mbox{\hyperlink{structmanage__pages__layout}{manage\_pages\_layout}} \{}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00034}\mbox{\hyperlink{structmanage__pages__layout_afec5814856af5098bb1b65e53f90cd00}{00034}}         u64     \mbox{\hyperlink{structmanage__pages__layout_afec5814856af5098bb1b65e53f90cd00}{ptr}};}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00035}\mbox{\hyperlink{structmanage__pages__layout_a98df2511149f89da32e4dcd8914ba7ae}{00035}}         u32     \mbox{\hyperlink{structmanage__pages__layout_a98df2511149f89da32e4dcd8914ba7ae}{reserved}};}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00036}\mbox{\hyperlink{structmanage__pages__layout_a7e8577689b16cb20d089b3cb6d0bc32e}{00036}}         u16     \mbox{\hyperlink{structmanage__pages__layout_a7e8577689b16cb20d089b3cb6d0bc32e}{num\_entries}};}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00037}\mbox{\hyperlink{structmanage__pages__layout_a9e25841e379012bbd418581c3ad89fc5}{00037}}         u16     \mbox{\hyperlink{structmanage__pages__layout_a9e25841e379012bbd418581c3ad89fc5}{func\_id}};}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00038}00038 \};}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00039}00039 }
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00040}00040 }
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00041}\mbox{\hyperlink{structmlx5__cmd__alloc__uar__imm__out}{00041}} \textcolor{keyword}{struct }\mbox{\hyperlink{structmlx5__cmd__alloc__uar__imm__out}{mlx5\_cmd\_alloc\_uar\_imm\_out}} \{}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00042}\mbox{\hyperlink{structmlx5__cmd__alloc__uar__imm__out_abf112392c4719768eac64659cf6012b9}{00042}}         u32     \mbox{\hyperlink{structmlx5__cmd__alloc__uar__imm__out_abf112392c4719768eac64659cf6012b9}{rsvd}}[3];}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00043}\mbox{\hyperlink{structmlx5__cmd__alloc__uar__imm__out_a1585e5905f87209efea4ca31a30c99ea}{00043}}         u32     \mbox{\hyperlink{structmlx5__cmd__alloc__uar__imm__out_a1585e5905f87209efea4ca31a30c99ea}{uarn}};}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00044}00044 \};}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00045}00045 }
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00046}00046 \textcolor{keyword}{struct }\mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}};}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00047}00047 \textcolor{keywordtype}{int} \mbox{\hyperlink{cmd_8h_a2e255068e243b2ef5e7ddf581fc5086b}{mlx5\_cmd\_query\_cong\_counter}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev,}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00048}00048                                 \textcolor{keywordtype}{bool} reset, \textcolor{keywordtype}{void} *out, \textcolor{keywordtype}{int} out\_size);}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00049}00049 \textcolor{keywordtype}{int} \mbox{\hyperlink{cmd_8h_af734fb6eb0458873104b95c86e9bc3c4}{mlx5\_cmd\_query\_cong\_params}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, \textcolor{keywordtype}{int} cong\_point,}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00050}00050                                \textcolor{keywordtype}{void} *out, \textcolor{keywordtype}{int} out\_size);}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00051}00051 \textcolor{keywordtype}{int} \mbox{\hyperlink{cmd_8h_a103a910821caf79176e2450833929eba}{mlx5\_cmd\_modify\_cong\_params}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00052}00052                                 \textcolor{keywordtype}{void} *in, \textcolor{keywordtype}{int} in\_size);}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00053}00053 \textcolor{keywordtype}{int} \mbox{\hyperlink{cmd_8h_a0421bf8053617fc662a7fb392902ded6}{mlx5\_cmd\_query\_cong\_status}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *dev, \textcolor{keywordtype}{int} cong\_point,}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00054}00054                                \textcolor{keywordtype}{int} prio, \textcolor{keywordtype}{void} *out, \textcolor{keywordtype}{int} out\_size);}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00055}00055 \textcolor{keywordtype}{int} \mbox{\hyperlink{cmd_8h_a7ebfe1b73370cdd7f2e3e25227d385de}{mlx5\_cmd\_modify\_cong\_status}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structmlx5__core__dev}{mlx5\_core\_dev}} *mdev,}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00056}00056                                 \textcolor{keywordtype}{void} *in, \textcolor{keywordtype}{int} in\_size);}
\DoxyCodeLine{\Hypertarget{cmd_8h_source_l00057}00057 \textcolor{preprocessor}{\#endif }\textcolor{comment}{/* MLX5\_CMD\_H */}\textcolor{preprocessor}{}}

\end{DoxyCode}
