\hypertarget{lio__config_8h_source}{}\doxysection{lio\+\_\+config.\+h}
\label{lio__config_8h_source}\index{dev/liquidio/base/lio\_config.h@{dev/liquidio/base/lio\_config.h}}
\mbox{\hyperlink{lio__config_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00001}00001 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00002}00002 \textcolor{comment}{ *   BSD LICENSE}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00004}00004 \textcolor{comment}{ *   Copyright(c) 2017 Cavium, Inc.. All rights reserved.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00005}00005 \textcolor{comment}{ *   All rights reserved.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00007}00007 \textcolor{comment}{ *   Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00008}00008 \textcolor{comment}{ *   modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00009}00009 \textcolor{comment}{ *   are met:}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00010}00010 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00011}00011 \textcolor{comment}{ *     * Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00012}00012 \textcolor{comment}{ *       notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00013}00013 \textcolor{comment}{ *     * Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00014}00014 \textcolor{comment}{ *       notice, this list of conditions and the following disclaimer in}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00015}00015 \textcolor{comment}{ *       the documentation and/or other materials provided with the}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00016}00016 \textcolor{comment}{ *       distribution.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00017}00017 \textcolor{comment}{ *     * Neither the name of Cavium, Inc. nor the names of its}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00018}00018 \textcolor{comment}{ *       contributors may be used to endorse or promote products derived}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00019}00019 \textcolor{comment}{ *       from this software without specific prior written permission.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00020}00020 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00021}00021 \textcolor{comment}{ *   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00022}00022 \textcolor{comment}{ *   "{}AS IS"{} AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00023}00023 \textcolor{comment}{ *   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00024}00024 \textcolor{comment}{ *   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00025}00025 \textcolor{comment}{ *   OWNER(S) OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00026}00026 \textcolor{comment}{ *   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00027}00027 \textcolor{comment}{ *   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00028}00028 \textcolor{comment}{ *   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00029}00029 \textcolor{comment}{ *   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00030}00030 \textcolor{comment}{ *   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00031}00031 \textcolor{comment}{ *   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00032}00032 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00033}00033 \textcolor{comment}{/*\$FreeBSD\$*/}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00034}00034 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00035}00035 \textcolor{comment}{/*  \(\backslash\)file  lio\_config.h}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00036}00036 \textcolor{comment}{ *  \(\backslash\)brief Host Driver: Configuration data structures for the host driver.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00037}00037 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00038}00038 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00039}00039 \textcolor{preprocessor}{\#ifndef \_\_LIO\_CONFIG\_H\_\_}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00040}00040 \textcolor{preprocessor}{\#define \_\_LIO\_CONFIG\_H\_\_}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00041}00041 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00042}00042 \textcolor{comment}{/*-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/CONFIG VALUES-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/*/}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00043}00043 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00044}00044 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00045}00045 \textcolor{comment}{ * The following macros affect the way the driver data structures}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00046}00046 \textcolor{comment}{ * are generated for Octeon devices.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00047}00047 \textcolor{comment}{ * They can be modified.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00048}00048 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00049}00049 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00050}00050 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00051}00051 \textcolor{comment}{ * Maximum octeon devices defined as LIO\_MAX\_IF to support}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00052}00052 \textcolor{comment}{ * multiple(<= LIO\_MAX\_IF) Miniports}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00053}00053 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00054}\mbox{\hyperlink{lio__config_8h_a784741f94e3cff33319a111999aacfe0}{00054}} \textcolor{preprocessor}{\#define LIO\_MAX\_IF                      128}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00055}\mbox{\hyperlink{lio__config_8h_aede036d051cb5633a23e04ca6ca18a09}{00055}} \textcolor{preprocessor}{\#define LIO\_MAX\_DEVICES                 LIO\_MAX\_IF}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00056}\mbox{\hyperlink{lio__config_8h_a2d1d410a4846a91c11fb08072d621698}{00056}} \textcolor{preprocessor}{\#define LIO\_MAX\_MULTICAST\_ADDR          32}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00057}00057 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00058}00058 \textcolor{comment}{/* CN23xx IQ configuration macros */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00059}\mbox{\hyperlink{lio__config_8h_a9a849ad86fed2ada82a2e85ade75a2c0}{00059}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_PF\_MAX\_RINGS         64}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00060}00060 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00061}\mbox{\hyperlink{lio__config_8h_a4faf18e34c937d2c4c94abc7eddc128b}{00061}} \textcolor{preprocessor}{\#define LIO\_BR\_SIZE                     4096}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00062}00062 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00063}\mbox{\hyperlink{lio__config_8h_a85db6b4b8daf1c70cd4b48bfd8d8a093}{00063}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_PF\_MAX\_INPUT\_QUEUES          LIO\_CN23XX\_PF\_MAX\_RINGS}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00064}\mbox{\hyperlink{lio__config_8h_a2243f7a601fe7bc763f6e8b8f6fe1f22}{00064}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_MAX\_IQ\_DESCRIPTORS           2048}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00065}\mbox{\hyperlink{lio__config_8h_a3e2931d2b6761f6d806f041328ecbfd4}{00065}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_DEFAULT\_IQ\_DESCRIPTORS       512}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00066}\mbox{\hyperlink{lio__config_8h_a5e7bfbeed35fb23295295fe4cf9d6313}{00066}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_MIN\_IQ\_DESCRIPTORS           128}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00067}\mbox{\hyperlink{lio__config_8h_a64baf2d420c81cb3561159a877d8ebae}{00067}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_DB\_MIN                       1}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00068}\mbox{\hyperlink{lio__config_8h_a034be362f2139c18939ad1953d9b670b}{00068}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_DB\_TIMEOUT                   1}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00069}00069 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00070}\mbox{\hyperlink{lio__config_8h_a52183ae8c8723939266c78c39b470d0d}{00070}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_PF\_MAX\_OUTPUT\_QUEUES         LIO\_CN23XX\_PF\_MAX\_RINGS}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00071}\mbox{\hyperlink{lio__config_8h_a7bb9bf75f2debb63497da8a1cb7451a4}{00071}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_MAX\_OQ\_DESCRIPTORS           2048}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00072}\mbox{\hyperlink{lio__config_8h_ad38dd0fc61491247fa57d50f70c4700e}{00072}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_DEFAULT\_OQ\_DESCRIPTORS       512}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00073}\mbox{\hyperlink{lio__config_8h_abe6b9924ca8111c911ce2d3d38583768}{00073}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_MIN\_OQ\_DESCRIPTORS           128}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00074}\mbox{\hyperlink{lio__config_8h_a7833dd133dea67b4d77d131f690d70e4}{00074}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_OQ\_BUF\_SIZE                  MCLBYTES}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00075}\mbox{\hyperlink{lio__config_8h_ae55e0756d93057e4ffc1a31e8cc6e839}{00075}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_OQ\_PKTS\_PER\_INTR             128}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00076}\mbox{\hyperlink{lio__config_8h_a949bcef36c4c2d012861fa8d0715d8c1}{00076}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_OQ\_REFIL\_THRESHOLD           16}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00077}00077 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00078}\mbox{\hyperlink{lio__config_8h_a9a23f4c0666562e65e921205a38baf7f}{00078}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_OQ\_INTR\_PKT                  64}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00079}\mbox{\hyperlink{lio__config_8h_aefdbd78ceee0c55835c6bcbcee5f5bb0}{00079}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_OQ\_INTR\_TIME                 100}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00080}\mbox{\hyperlink{lio__config_8h_ae26c5e05cee6e3f6ebc4181b27119e70}{00080}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_DEFAULT\_NUM\_PORTS            1}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00081}00081 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00082}\mbox{\hyperlink{lio__config_8h_aaa05b6326485574a6b9a407b4c6357f9}{00082}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_CFG\_IO\_QUEUES                LIO\_CN23XX\_PF\_MAX\_RINGS}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00083}00083 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00084}\mbox{\hyperlink{lio__config_8h_ae73f4f2059a6f06b0d40cc746b41dbe7}{00084}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_DEF\_IQ\_INTR\_THRESHOLD        32}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00085}\mbox{\hyperlink{lio__config_8h_a9432805f1e787c2fc87a8ad8ee42c709}{00085}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_PKI\_MAX\_FRAME\_SIZE           65535}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00086}\mbox{\hyperlink{lio__config_8h_a1c626fe5ba40092826c05f5f8c73b967}{00086}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_RAW\_FRONT\_SIZE               48}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00087}00087 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00088}00088 \textcolor{comment}{ * this is the max jabber value.Any packets greater than this size sent over}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00089}00089 \textcolor{comment}{ * DPI will be truncated.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00090}00090 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00091}\mbox{\hyperlink{lio__config_8h_a26709c3f698436397ca386147a972d43}{00091}} \textcolor{preprocessor}{\#define LIO\_CN23XX\_MAX\_INPUT\_JABBER  (LIO\_CN23XX\_PKI\_MAX\_FRAME\_SIZE -\/ \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00092}00092 \textcolor{preprocessor}{                                      LIO\_CN23XX\_RAW\_FRONT\_SIZE)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00093}00093 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00094}00094 \textcolor{comment}{/* common OCTEON configuration macros */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00095}\mbox{\hyperlink{lio__config_8h_a576141ca498c81dcb92454bb76a4734c}{00095}} \textcolor{preprocessor}{\#define LIO\_64BYTE\_INSTR                64}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00096}00096 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00097}\mbox{\hyperlink{lio__config_8h_a3b5705ddf4e3eeae627bf2cad09a5790}{00097}} \textcolor{preprocessor}{\#define LIO\_MAX\_TXQS\_PER\_INTF           8}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00098}\mbox{\hyperlink{lio__config_8h_ad34033b6ca25d585ad06efc901354e41}{00098}} \textcolor{preprocessor}{\#define LIO\_MAX\_RXQS\_PER\_INTF           8}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00099}\mbox{\hyperlink{lio__config_8h_a3a8164a7464750a714bb2b20b7cc6706}{00099}} \textcolor{preprocessor}{\#define LIO\_DEF\_TXQS\_PER\_INTF           4}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00100}\mbox{\hyperlink{lio__config_8h_a72570d562ed86221adcee0693c11e5c8}{00100}} \textcolor{preprocessor}{\#define LIO\_DEF\_RXQS\_PER\_INTF           4}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00101}00101 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00102}00102 \textcolor{comment}{/* Macros to get octeon config params */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00103}\mbox{\hyperlink{lio__config_8h_a8ea03374d31f7ec8669950f73d2b698e}{00103}} \textcolor{preprocessor}{\#define LIO\_GET\_IQ\_CFG(cfg)                     ((cfg)-\/>iq)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00104}\mbox{\hyperlink{lio__config_8h_a56bf4c4f0e15456a69610b398862ed29}{00104}} \textcolor{preprocessor}{\#define LIO\_GET\_IQ\_MAX\_Q\_CFG(cfg)               ((cfg)-\/>iq.max\_iqs)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00105}\mbox{\hyperlink{lio__config_8h_a6cd3ead62ad3d595c7c97bb624575a4d}{00105}} \textcolor{preprocessor}{\#define LIO\_GET\_IQ\_INSTR\_TYPE\_CFG(cfg)          ((cfg)-\/>iq.instr\_type)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00106}00106 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00107}\mbox{\hyperlink{lio__config_8h_a7ff1667603d67005922d7cf33d902590}{00107}} \textcolor{preprocessor}{\#define LIO\_GET\_IQ\_INTR\_PKT\_CFG(cfg)            ((cfg)-\/>iq.iq\_intr\_pkt)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00108}00108 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00109}\mbox{\hyperlink{lio__config_8h_a0b93c03445ee8e942d632505e2012b7c}{00109}} \textcolor{preprocessor}{\#define LIO\_GET\_OQ\_MAX\_Q\_CFG(cfg)               ((cfg)-\/>oq.max\_oqs)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00110}\mbox{\hyperlink{lio__config_8h_adcc660814d1b4e1a79c1059df328a9fa}{00110}} \textcolor{preprocessor}{\#define LIO\_GET\_OQ\_PKTS\_PER\_INTR\_CFG(cfg)       ((cfg)-\/>oq.pkts\_per\_intr)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00111}\mbox{\hyperlink{lio__config_8h_ad378813665b36ae1c8d0ec62d9730bdb}{00111}} \textcolor{preprocessor}{\#define LIO\_GET\_OQ\_REFILL\_THRESHOLD\_CFG(cfg)    ((cfg)-\/>oq.refill\_threshold)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00112}\mbox{\hyperlink{lio__config_8h_a635e79cded2ab25c75148572b726e9e2}{00112}} \textcolor{preprocessor}{\#define LIO\_GET\_OQ\_INTR\_PKT\_CFG(cfg)            ((cfg)-\/>oq.oq\_intr\_pkt)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00113}\mbox{\hyperlink{lio__config_8h_a66ce48cea1fe0356775cc71645640749}{00113}} \textcolor{preprocessor}{\#define LIO\_GET\_OQ\_INTR\_TIME\_CFG(cfg)           ((cfg)-\/>oq.oq\_intr\_time)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00114}00114 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00115}\mbox{\hyperlink{lio__config_8h_a54c4280856bf21b4ed3c3121b9f12750}{00115}} \textcolor{preprocessor}{\#define LIO\_GET\_NUM\_NIC\_PORTS\_CFG(cfg)          ((cfg)-\/>num\_nic\_ports)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00116}\mbox{\hyperlink{lio__config_8h_a8acf7342d605929617a461e9fcd8c4b7}{00116}} \textcolor{preprocessor}{\#define LIO\_GET\_NUM\_DEF\_TX\_DESCS\_CFG(cfg)       ((cfg)-\/>num\_def\_tx\_descs)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00117}\mbox{\hyperlink{lio__config_8h_a95aa6bbe536b5fd104f07a30037c6182}{00117}} \textcolor{preprocessor}{\#define LIO\_GET\_NUM\_DEF\_RX\_DESCS\_CFG(cfg)       ((cfg)-\/>num\_def\_rx\_descs)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00118}\mbox{\hyperlink{lio__config_8h_a937e994674a7fd0de45d09c579b011ed}{00118}} \textcolor{preprocessor}{\#define LIO\_GET\_DEF\_RX\_BUF\_SIZE\_CFG(cfg)        ((cfg)-\/>def\_rx\_buf\_size)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00119}00119 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00120}\mbox{\hyperlink{lio__config_8h_af9e4a3608f29bc2e65eea97bb8ed78f4}{00120}} \textcolor{preprocessor}{\#define LIO\_GET\_NUM\_RX\_DESCS\_NIC\_IF\_CFG(cfg, idx)       \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00121}00121 \textcolor{preprocessor}{                ((cfg)-\/>nic\_if\_cfg[idx].num\_rx\_descs)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00122}\mbox{\hyperlink{lio__config_8h_a89a1c506d22d247e859670ed2b7b6233}{00122}} \textcolor{preprocessor}{\#define LIO\_GET\_NUM\_TX\_DESCS\_NIC\_IF\_CFG(cfg, idx)       \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00123}00123 \textcolor{preprocessor}{                ((cfg)-\/>nic\_if\_cfg[idx].num\_tx\_descs)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00124}\mbox{\hyperlink{lio__config_8h_a4bc3dfac93b22893320228e5117028b0}{00124}} \textcolor{preprocessor}{\#define LIO\_GET\_NUM\_RX\_BUF\_SIZE\_NIC\_IF\_CFG(cfg, idx)    \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00125}00125 \textcolor{preprocessor}{                ((cfg)-\/>nic\_if\_cfg[idx].rx\_buf\_size)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00126}00126 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00127}\mbox{\hyperlink{lio__config_8h_aa72c677462177a21e61f921842d21ce6}{00127}} \textcolor{preprocessor}{\#define LIO\_GET\_IS\_SLI\_BP\_ON\_CFG(cfg)   ((cfg)-\/>misc.enable\_sli\_oq\_bp)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00128}00128 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00129}00129 \textcolor{comment}{/* Max IOQs per OCTEON Link */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00130}\mbox{\hyperlink{lio__config_8h_a42f21db11d2012a6f00586585d3d49e8}{00130}} \textcolor{preprocessor}{\#define LIO\_MAX\_IOQS\_PER\_NICIF                  64}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00131}00131 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00132}\mbox{\hyperlink{lio__config_8h_a70eade0aed830210378da0ad20035553}{00132}} \textcolor{preprocessor}{\#define LIO\_SET\_NUM\_RX\_DESCS\_NIC\_IF(cfg, idx, value)            \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00133}00133 \textcolor{preprocessor}{                ((cfg)-\/>nic\_if\_cfg[idx].num\_rx\_descs = value)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00134}\mbox{\hyperlink{lio__config_8h_a3afd840e3635fda937ac6b16932b3910}{00134}} \textcolor{preprocessor}{\#define LIO\_SET\_NUM\_TX\_DESCS\_NIC\_IF(cfg, idx, value)            \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00135}00135 \textcolor{preprocessor}{                ((cfg)-\/>nic\_if\_cfg[idx].num\_tx\_descs = value)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00136}00136 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00137}00137 \textcolor{comment}{/* TX/RX process pkt budget */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00138}\mbox{\hyperlink{lio__config_8h_aa64598a58803ddc24b3cdf4aadf84e96}{00138}} \textcolor{preprocessor}{\#define LIO\_DEFAULT\_TX\_PKTS\_PROCESS\_BUDGET      64}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00139}\mbox{\hyperlink{lio__config_8h_af53039e27aa6e6fb0c6c59bcdf330a56}{00139}} \textcolor{preprocessor}{\#define LIO\_DEFAULT\_RX\_PKTS\_PROCESS\_BUDGET      64}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00140}00140 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00141}\mbox{\hyperlink{lio__config_8h_a01dea34e498c1463df180ce47288eea8}{00141}} \textcolor{keyword}{enum} \mbox{\hyperlink{lio__config_8h_a01dea34e498c1463df180ce47288eea8}{lio\_card\_type}} \{}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00142}00142         \mbox{\hyperlink{lio__config_8h_a01dea34e498c1463df180ce47288eea8a08f31fcf9bd1a31d87f6f5be810047f6}{LIO\_23XX}}        \textcolor{comment}{/* 23xx */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00143}\mbox{\hyperlink{lio__config_8h_a01dea34e498c1463df180ce47288eea8a08f31fcf9bd1a31d87f6f5be810047f6}{00143}} \};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00144}00144 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00145}\mbox{\hyperlink{lio__config_8h_a45f434df8ee37903ae1a4165023a7a7a}{00145}} \textcolor{preprocessor}{\#define LIO\_23XX\_NAME  "{}23xx"{}}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00146}00146 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00147}00147 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00148}00148 \textcolor{comment}{ *  Structure to define the configuration attributes for each Input queue.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00149}00149 \textcolor{comment}{ *  Applicable to all Octeon processors}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00150}00150 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00151}\mbox{\hyperlink{structlio__iq__config}{00151}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlio__iq__config}{lio\_iq\_config}} \{}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00152}00152 \textcolor{preprocessor}{\#if BYTE\_ORDER == BIG\_ENDIAN}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00153}\mbox{\hyperlink{structlio__iq__config_af5cc4829d09b2d6a2078d5a238418e08}{00153}}         uint64\_t        \mbox{\hyperlink{structlio__iq__config_af5cc4829d09b2d6a2078d5a238418e08}{reserved}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00154}00154 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00155}00155         \textcolor{comment}{/* Tx interrupt packets. Applicable to 23xx only */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00156}\mbox{\hyperlink{structlio__iq__config_a203b1cb1d49d0ff6e97d1db2a843f6b7}{00156}}         uint64\_t        \mbox{\hyperlink{structlio__iq__config_a203b1cb1d49d0ff6e97d1db2a843f6b7}{iq\_intr\_pkt}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00157}00157 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00158}00158         \textcolor{comment}{/* Minimum ticks to wait before checking for pending instructions. */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00159}\mbox{\hyperlink{structlio__iq__config_a16fb324feb386a9f022961ade4ff9ad4}{00159}}         uint64\_t        \mbox{\hyperlink{structlio__iq__config_a16fb324feb386a9f022961ade4ff9ad4}{db\_timeout}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00160}00160 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00161}00161         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00162}00162 \textcolor{comment}{         *  Minimum number of commands pending to be posted to Octeon}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00163}00163 \textcolor{comment}{         *  before driver hits the Input queue doorbell.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00164}00164 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00165}\mbox{\hyperlink{structlio__iq__config_a79e3da907bb52904cbd5e2deca867b21}{00165}}         uint64\_t        \mbox{\hyperlink{structlio__iq__config_a79e3da907bb52904cbd5e2deca867b21}{db\_min}}:8;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00166}00166 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00167}00167         \textcolor{comment}{/* Command size -\/ 32 or 64 bytes */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00168}\mbox{\hyperlink{structlio__iq__config_afd9018688f56afb71a1f7e1531fa8f13}{00168}}         uint64\_t        \mbox{\hyperlink{structlio__iq__config_afd9018688f56afb71a1f7e1531fa8f13}{instr\_type}}:32;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00169}00169 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00170}00170         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00171}00171 \textcolor{comment}{         *  Pending list size (usually set to the sum of the size of all Input}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00172}00172 \textcolor{comment}{         *  queues)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00173}00173 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00174}\mbox{\hyperlink{structlio__iq__config_ae93cb20bab4b18f46305e5a60fbf57fd}{00174}}         uint64\_t        \mbox{\hyperlink{structlio__iq__config_ae93cb20bab4b18f46305e5a60fbf57fd}{pending\_list\_size}}:32;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00175}00175 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00176}00176         \textcolor{comment}{/* Max number of IQs available */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00177}\mbox{\hyperlink{structlio__iq__config_a2a814378e862d97f2de31241f5eb9f89}{00177}}         uint64\_t        \mbox{\hyperlink{structlio__iq__config_a2a814378e862d97f2de31241f5eb9f89}{max\_iqs}}:8;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00178}00178 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00179}00179 \textcolor{preprocessor}{\#else   }\textcolor{comment}{/* BYTE\_ORDER != BIG\_ENDIAN */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00180}00180 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00181}00181         \textcolor{comment}{/* Max number of IQs available */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00182}00182         uint64\_t        \mbox{\hyperlink{structlio__iq__config_a2a814378e862d97f2de31241f5eb9f89}{max\_iqs}}:8;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00183}00183 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00184}00184         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00185}00185 \textcolor{comment}{         *  Pending list size (usually set to the sum of the size of all Input}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00186}00186 \textcolor{comment}{         *  queues)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00187}00187 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00188}00188         uint64\_t        \mbox{\hyperlink{structlio__iq__config_ae93cb20bab4b18f46305e5a60fbf57fd}{pending\_list\_size}}:32;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00189}00189 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00190}00190         \textcolor{comment}{/* Command size -\/ 32 or 64 bytes */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00191}00191         uint64\_t        \mbox{\hyperlink{structlio__iq__config_afd9018688f56afb71a1f7e1531fa8f13}{instr\_type}}:32;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00192}00192 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00193}00193         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00194}00194 \textcolor{comment}{         *  Minimum number of commands pending to be posted to Octeon}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00195}00195 \textcolor{comment}{         *  before driver hits the Input queue doorbell.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00196}00196 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00197}00197         uint64\_t        \mbox{\hyperlink{structlio__iq__config_a79e3da907bb52904cbd5e2deca867b21}{db\_min}}:8;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00198}00198 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00199}00199         \textcolor{comment}{/* Minimum ticks to wait before checking for pending instructions. */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00200}00200         uint64\_t        \mbox{\hyperlink{structlio__iq__config_a16fb324feb386a9f022961ade4ff9ad4}{db\_timeout}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00201}00201 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00202}00202         \textcolor{comment}{/* Tx interrupt packets. Applicable to 23xx only */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00203}00203         uint64\_t        \mbox{\hyperlink{structlio__iq__config_a203b1cb1d49d0ff6e97d1db2a843f6b7}{iq\_intr\_pkt}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00204}00204 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00205}00205         uint64\_t        \mbox{\hyperlink{structlio__iq__config_af5cc4829d09b2d6a2078d5a238418e08}{reserved}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00206}00206 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00207}00207 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* BYTE\_ORDER == BIG\_ENDIAN */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00208}00208 \};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00209}00209 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00210}00210 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00211}00211 \textcolor{comment}{ *  Structure to define the configuration attributes for each Output queue.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00212}00212 \textcolor{comment}{ *  Applicable to all Octeon processors}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00213}00213 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00214}\mbox{\hyperlink{structlio__oq__config}{00214}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlio__oq__config}{lio\_oq\_config}} \{}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00215}00215 \textcolor{preprocessor}{\#if BYTE\_ORDER == BIG\_ENDIAN}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00216}\mbox{\hyperlink{structlio__oq__config_ad19da39a3a474ed7696420ef2904c404}{00216}}         uint64\_t        \mbox{\hyperlink{structlio__oq__config_ad19da39a3a474ed7696420ef2904c404}{reserved}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00217}00217 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00218}\mbox{\hyperlink{structlio__oq__config_acb407f44bbd1cbdd8988d6d90e69f057}{00218}}         uint64\_t        \mbox{\hyperlink{structlio__oq__config_acb407f44bbd1cbdd8988d6d90e69f057}{pkts\_per\_intr}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00219}00219 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00220}00220         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00221}00221 \textcolor{comment}{         *  Interrupt Coalescing (Time Interval). Octeon will interrupt the}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00222}00222 \textcolor{comment}{         *  host if atleast one packet was sent in the time interval specified}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00223}00223 \textcolor{comment}{         *  by this field. The driver uses time interval interrupt coalescing}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00224}00224 \textcolor{comment}{         *  by default. The time is specified in microseconds.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00225}00225 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00226}\mbox{\hyperlink{structlio__oq__config_ae5db2263dca899655dbf4664033effd4}{00226}}         uint64\_t        \mbox{\hyperlink{structlio__oq__config_ae5db2263dca899655dbf4664033effd4}{oq\_intr\_time}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00227}00227 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00228}00228         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00229}00229 \textcolor{comment}{         *  Interrupt Coalescing (Packet Count). Octeon will interrupt the host}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00230}00230 \textcolor{comment}{         *  only if it sent as many packets as specified by this field.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00231}00231 \textcolor{comment}{         *  The driver}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00232}00232 \textcolor{comment}{         *  usually does not use packet count interrupt coalescing.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00233}00233 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00234}\mbox{\hyperlink{structlio__oq__config_a2fbbfec00ee3e7f5e61613004e854013}{00234}}         uint64\_t        \mbox{\hyperlink{structlio__oq__config_a2fbbfec00ee3e7f5e61613004e854013}{oq\_intr\_pkt}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00235}00235 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00236}00236         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00237}00237 \textcolor{comment}{         *   The number of buffers that were consumed during packet processing by}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00238}00238 \textcolor{comment}{         *   the driver on this Output queue before the driver attempts to}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00239}00239 \textcolor{comment}{         *   replenish}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00240}00240 \textcolor{comment}{         *   the descriptor ring with new buffers.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00241}00241 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00242}\mbox{\hyperlink{structlio__oq__config_ab46d54b22e1d1ec4f0fc3e8be7b9522a}{00242}}         uint64\_t        \mbox{\hyperlink{structlio__oq__config_ab46d54b22e1d1ec4f0fc3e8be7b9522a}{refill\_threshold}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00243}00243 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00244}00244         \textcolor{comment}{/* Max number of OQs available */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00245}\mbox{\hyperlink{structlio__oq__config_aeb9eda7bf969883072becfe20574d4d4}{00245}}         uint64\_t        \mbox{\hyperlink{structlio__oq__config_aeb9eda7bf969883072becfe20574d4d4}{max\_oqs}}:8;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00246}00246 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00247}00247 \textcolor{preprocessor}{\#else   }\textcolor{comment}{/* BYTE\_ORDER != BIG\_ENDIAN */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00248}00248 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00249}00249         \textcolor{comment}{/* Max number of OQs available */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00250}00250         uint64\_t        \mbox{\hyperlink{structlio__oq__config_aeb9eda7bf969883072becfe20574d4d4}{max\_oqs}}:8;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00251}00251 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00252}00252         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00253}00253 \textcolor{comment}{         *   The number of buffers that were consumed during packet processing by}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00254}00254 \textcolor{comment}{         *   the driver on this Output queue before the driver attempts to}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00255}00255 \textcolor{comment}{         *   replenish}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00256}00256 \textcolor{comment}{         *   the descriptor ring with new buffers.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00257}00257 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00258}00258         uint64\_t        \mbox{\hyperlink{structlio__oq__config_ab46d54b22e1d1ec4f0fc3e8be7b9522a}{refill\_threshold}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00259}00259 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00260}00260         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00261}00261 \textcolor{comment}{         *  Interrupt Coalescing (Packet Count). Octeon will interrupt the host}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00262}00262 \textcolor{comment}{         *  only if it sent as many packets as specified by this field.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00263}00263 \textcolor{comment}{         *  The driver}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00264}00264 \textcolor{comment}{         *  usually does not use packet count interrupt coalescing.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00265}00265 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00266}00266         uint64\_t        \mbox{\hyperlink{structlio__oq__config_a2fbbfec00ee3e7f5e61613004e854013}{oq\_intr\_pkt}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00267}00267 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00268}00268         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00269}00269 \textcolor{comment}{         *  Interrupt Coalescing (Time Interval). Octeon will interrupt the}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00270}00270 \textcolor{comment}{         *  host if atleast one packet was sent in the time interval specified}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00271}00271 \textcolor{comment}{         *  by this field. The driver uses time interval interrupt coalescing}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00272}00272 \textcolor{comment}{         *  by default.  The time is specified in microseconds.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00273}00273 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00274}00274         uint64\_t        \mbox{\hyperlink{structlio__oq__config_ae5db2263dca899655dbf4664033effd4}{oq\_intr\_time}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00275}00275 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00276}00276         uint64\_t        \mbox{\hyperlink{structlio__oq__config_acb407f44bbd1cbdd8988d6d90e69f057}{pkts\_per\_intr}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00277}00277 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00278}00278         uint64\_t        \mbox{\hyperlink{structlio__oq__config_ad19da39a3a474ed7696420ef2904c404}{reserved}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00279}00279 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* BYTE\_ORDER == BIG\_ENDIAN */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00280}00280 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00281}00281 \};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00282}00282 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00283}00283 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00284}00284 \textcolor{comment}{ *  This structure conatins the NIC link configuration attributes,}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00285}00285 \textcolor{comment}{ *  common for all the OCTEON Modles.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00286}00286 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00287}\mbox{\hyperlink{structlio__nic__if__config}{00287}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlio__nic__if__config}{lio\_nic\_if\_config}} \{}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00288}00288 \textcolor{preprocessor}{\#if BYTE\_ORDER == BIG\_ENDIAN}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00289}\mbox{\hyperlink{structlio__nic__if__config_acebfe0a11fce2a9603029d8e26bb638b}{00289}}         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_acebfe0a11fce2a9603029d8e26bb638b}{reserved}}:56;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00290}00290 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00291}\mbox{\hyperlink{structlio__nic__if__config_a846f3405c530aa51e4ad67291dc4f9bc}{00291}}         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a846f3405c530aa51e4ad67291dc4f9bc}{base\_queue}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00292}00292 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00293}\mbox{\hyperlink{structlio__nic__if__config_a04740111d73a437b5e19a8ac3feb5317}{00293}}         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a04740111d73a437b5e19a8ac3feb5317}{gmx\_port\_id}}:8;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00294}00294 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00295}00295         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00296}00296 \textcolor{comment}{         * mbuf size, We need not change buf size even for Jumbo frames.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00297}00297 \textcolor{comment}{         * Octeon can send jumbo frames in 4 consecutive descriptors,}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00298}00298 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00299}\mbox{\hyperlink{structlio__nic__if__config_a876f54eec7c3a90ed79b6fa735b2a80b}{00299}}         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a876f54eec7c3a90ed79b6fa735b2a80b}{rx\_buf\_size}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00300}00300 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00301}00301         \textcolor{comment}{/* Num of desc for tx rings */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00302}\mbox{\hyperlink{structlio__nic__if__config_a1670d203fd67a6d855f4b832e0870f48}{00302}}         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a1670d203fd67a6d855f4b832e0870f48}{num\_tx\_descs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00303}00303 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00304}00304         \textcolor{comment}{/* Num of desc for rx rings */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00305}\mbox{\hyperlink{structlio__nic__if__config_a6bea4487fb32a7dadcf13c40c9dfac35}{00305}}         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a6bea4487fb32a7dadcf13c40c9dfac35}{num\_rx\_descs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00306}00306 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00307}00307         \textcolor{comment}{/* Actual configured value. Range could be: 1...max\_rxqs */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00308}\mbox{\hyperlink{structlio__nic__if__config_a221cb387c428ed6e03f94ae0bcaa3649}{00308}}         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a221cb387c428ed6e03f94ae0bcaa3649}{num\_rxqs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00309}00309 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00310}00310         \textcolor{comment}{/* Max Rxqs: Half for each of the two ports :max\_oq/2  */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00311}\mbox{\hyperlink{structlio__nic__if__config_a8baf6b0b11a0e2ab3613ecf873c653d0}{00311}}         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a8baf6b0b11a0e2ab3613ecf873c653d0}{max\_rxqs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00312}00312 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00313}00313         \textcolor{comment}{/* Actual configured value. Range could be: 1...max\_txqs */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00314}\mbox{\hyperlink{structlio__nic__if__config_a089da78e446630aed72460260cd09f57}{00314}}         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a089da78e446630aed72460260cd09f57}{num\_txqs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00315}00315 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00316}00316         \textcolor{comment}{/* Max Txqs: Half for each of the two ports :max\_iq/2 */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00317}\mbox{\hyperlink{structlio__nic__if__config_a3626aad0a6f20ce815afd9541ef9e0d4}{00317}}         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a3626aad0a6f20ce815afd9541ef9e0d4}{max\_txqs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00318}00318 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00319}00319 \textcolor{preprocessor}{\#else   }\textcolor{comment}{/* BYTE\_ORDER != BIG\_ENDIAN */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00320}00320 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00321}00321         \textcolor{comment}{/* Max Txqs: Half for each of the two ports :max\_iq/2 */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00322}00322         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a3626aad0a6f20ce815afd9541ef9e0d4}{max\_txqs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00323}00323 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00324}00324         \textcolor{comment}{/* Actual configured value. Range could be: 1...max\_txqs */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00325}00325         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a089da78e446630aed72460260cd09f57}{num\_txqs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00326}00326 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00327}00327         \textcolor{comment}{/* Max Rxqs: Half for each of the two ports :max\_oq/2  */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00328}00328         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a8baf6b0b11a0e2ab3613ecf873c653d0}{max\_rxqs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00329}00329 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00330}00330         \textcolor{comment}{/* Actual configured value. Range could be: 1...max\_rxqs */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00331}00331         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a221cb387c428ed6e03f94ae0bcaa3649}{num\_rxqs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00332}00332 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00333}00333         \textcolor{comment}{/* Num of desc for rx rings */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00334}00334         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a6bea4487fb32a7dadcf13c40c9dfac35}{num\_rx\_descs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00335}00335 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00336}00336         \textcolor{comment}{/* Num of desc for tx rings */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00337}00337         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a1670d203fd67a6d855f4b832e0870f48}{num\_tx\_descs}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00338}00338 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00339}00339         \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00340}00340 \textcolor{comment}{         * mbuf size, We need not change buf size even for Jumbo frames.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00341}00341 \textcolor{comment}{         * Octeon can send jumbo frames in 4 consecutive descriptors,}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00342}00342 \textcolor{comment}{         */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00343}00343         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a876f54eec7c3a90ed79b6fa735b2a80b}{rx\_buf\_size}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00344}00344 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00345}00345         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a04740111d73a437b5e19a8ac3feb5317}{gmx\_port\_id}}:8;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00346}00346 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00347}00347         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_a846f3405c530aa51e4ad67291dc4f9bc}{base\_queue}}:16;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00348}00348 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00349}00349         uint64\_t        \mbox{\hyperlink{structlio__nic__if__config_acebfe0a11fce2a9603029d8e26bb638b}{reserved}}:56;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00350}00350 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* BYTE\_ORDER == BIG\_ENDIAN */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00351}00351 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00352}00352 \};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00353}00353 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00354}00354 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00355}00355 \textcolor{comment}{ *  Structure to define the configuration attributes for meta data.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00356}00356 \textcolor{comment}{ *  Applicable to all Octeon processors.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00357}00357 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00358}00358 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00359}\mbox{\hyperlink{structlio__misc__config}{00359}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlio__misc__config}{lio\_misc\_config}} \{}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00360}00360 \textcolor{preprocessor}{\#if BYTE\_ORDER == BIG\_ENDIAN}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00361}00361         \textcolor{comment}{/* Host link status polling period */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00362}\mbox{\hyperlink{structlio__misc__config_a61874479c7b5a1ffb070c6d92161b520}{00362}}         uint64\_t        \mbox{\hyperlink{structlio__misc__config_a61874479c7b5a1ffb070c6d92161b520}{host\_link\_query\_interval}}:32;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00363}00363         \textcolor{comment}{/* Oct link status polling period */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00364}\mbox{\hyperlink{structlio__misc__config_a34c91ac8515b13d0ebd426af6e12fda8}{00364}}         uint64\_t        \mbox{\hyperlink{structlio__misc__config_a34c91ac8515b13d0ebd426af6e12fda8}{oct\_link\_query\_interval}}:32;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00365}00365 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00366}\mbox{\hyperlink{structlio__misc__config_a9dc3553280e1f8726349730e648bfdac}{00366}}         uint64\_t        \mbox{\hyperlink{structlio__misc__config_a9dc3553280e1f8726349730e648bfdac}{enable\_sli\_oq\_bp}}:1;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00367}00367         \textcolor{comment}{/* Control IQ Group */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00368}\mbox{\hyperlink{structlio__misc__config_add3527d5b8ab87e291ca1a888d43689d}{00368}}         uint64\_t        \mbox{\hyperlink{structlio__misc__config_add3527d5b8ab87e291ca1a888d43689d}{ctrlq\_grp}}:4;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00369}00369 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00370}00370 \textcolor{preprocessor}{\#else   }\textcolor{comment}{/* BYTE\_ORDER != BIG\_ENDIAN */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00371}00371 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00372}00372         \textcolor{comment}{/* Control IQ Group */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00373}00373         uint64\_t        \mbox{\hyperlink{structlio__misc__config_add3527d5b8ab87e291ca1a888d43689d}{ctrlq\_grp}}:4;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00374}00374         \textcolor{comment}{/* BP for SLI OQ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00375}00375         uint64\_t        \mbox{\hyperlink{structlio__misc__config_a9dc3553280e1f8726349730e648bfdac}{enable\_sli\_oq\_bp}}:1;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00376}00376         \textcolor{comment}{/* Host link status polling period */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00377}00377         uint64\_t        \mbox{\hyperlink{structlio__misc__config_a34c91ac8515b13d0ebd426af6e12fda8}{oct\_link\_query\_interval}}:32;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00378}00378         \textcolor{comment}{/* Oct link status polling period */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00379}00379         uint64\_t        \mbox{\hyperlink{structlio__misc__config_a61874479c7b5a1ffb070c6d92161b520}{host\_link\_query\_interval}}:32;}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00380}00380 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00381}00381 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* BYTE\_ORDER == BIG\_ENDIAN */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00382}00382 \};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00383}00383 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00384}00384 \textcolor{comment}{/* Structure to define the configuration for all OCTEON processors. */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00385}\mbox{\hyperlink{structlio__config}{00385}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlio__config}{lio\_config}} \{}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00386}\mbox{\hyperlink{structlio__config_ab6c1ea8701d4528e40377e3737c2d8ac}{00386}}         uint16\_t        \mbox{\hyperlink{structlio__config_ab6c1ea8701d4528e40377e3737c2d8ac}{card\_type}};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00387}\mbox{\hyperlink{structlio__config_a5cfc446dd5df7ee2962a6fd7f7b4a99e}{00387}}         \textcolor{keywordtype}{char}            *\mbox{\hyperlink{structlio__config_a5cfc446dd5df7ee2962a6fd7f7b4a99e}{card\_name}};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00388}00388 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00389}00389         \textcolor{comment}{/* Input Queue attributes. */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00390}\mbox{\hyperlink{structlio__config_a98ae6d58e2a79726a2bba63dce56262a}{00390}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlio__iq__config}{lio\_iq\_config}} \mbox{\hyperlink{structlio__config_a98ae6d58e2a79726a2bba63dce56262a}{iq}};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00391}00391 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00392}00392         \textcolor{comment}{/* Output Queue attributes. */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00393}\mbox{\hyperlink{structlio__config_ade0b2f7a356d24852df42935acb7c244}{00393}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlio__oq__config}{lio\_oq\_config}} \mbox{\hyperlink{structlio__config_ade0b2f7a356d24852df42935acb7c244}{oq}};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00394}00394 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00395}00395         \textcolor{comment}{/* NIC Port Configuration */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00396}\mbox{\hyperlink{structlio__config_a1659ff6182231540f8d2013b29c9b585}{00396}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlio__nic__if__config}{lio\_nic\_if\_config}} \mbox{\hyperlink{structlio__config_a1659ff6182231540f8d2013b29c9b585}{nic\_if\_cfg}}[\mbox{\hyperlink{lio__config_8h_a784741f94e3cff33319a111999aacfe0}{LIO\_MAX\_IF}}];}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00397}00397 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00398}00398         \textcolor{comment}{/* Miscellaneous attributes */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00399}\mbox{\hyperlink{structlio__config_af570681f2a11ccd25bbc81600cc6fb51}{00399}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlio__misc__config}{lio\_misc\_config}}   \mbox{\hyperlink{structlio__config_af570681f2a11ccd25bbc81600cc6fb51}{misc}};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00400}00400 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00401}\mbox{\hyperlink{structlio__config_a8b1d7694f4bbabc62ae995a22569e985}{00401}}         \textcolor{keywordtype}{int}             \mbox{\hyperlink{structlio__config_a8b1d7694f4bbabc62ae995a22569e985}{num\_nic\_ports}};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00402}00402 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00403}\mbox{\hyperlink{structlio__config_aa9aca66bf16aa4b5db69e68c32cca08a}{00403}}         \textcolor{keywordtype}{int}             \mbox{\hyperlink{structlio__config_aa9aca66bf16aa4b5db69e68c32cca08a}{num\_def\_tx\_descs}};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00404}00404 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00405}00405         \textcolor{comment}{/* Num of desc for rx rings */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00406}\mbox{\hyperlink{structlio__config_a14157c0afee3daaf605c6ab83e7a9c4c}{00406}}         \textcolor{keywordtype}{int}             \mbox{\hyperlink{structlio__config_a14157c0afee3daaf605c6ab83e7a9c4c}{num\_def\_rx\_descs}};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00407}00407 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00408}\mbox{\hyperlink{structlio__config_ac6daba8da48afc14e1c76c1f72d870e1}{00408}}         \textcolor{keywordtype}{int}             \mbox{\hyperlink{structlio__config_ac6daba8da48afc14e1c76c1f72d870e1}{def\_rx\_buf\_size}};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00409}00409 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00410}00410 \};}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00411}00411 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00412}00412 \textcolor{comment}{/* The following config values are fixed and should not be modified. */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00413}00413 \textcolor{comment}{/* Maximum address space to be mapped for Octeon's BAR1 index-\/based access. */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00414}\mbox{\hyperlink{lio__config_8h_a4f82a8507b1f039c68b9171d7eafc0e3}{00414}} \textcolor{preprocessor}{\#define LIO\_MAX\_BAR1\_MAP\_INDEX          2}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00415}00415 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00416}00416 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00417}00417 \textcolor{comment}{ * Response lists -\/ 1 ordered, 1 unordered-\/blocking, 1 unordered-\/nonblocking}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00418}00418 \textcolor{comment}{ * NoResponse Lists are now maintained with each IQ. (Dec' 2007).}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00419}00419 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00420}\mbox{\hyperlink{lio__config_8h_a9ba331cfd24e0831512d6d0cd81dc2d9}{00420}} \textcolor{preprocessor}{\#define LIO\_MAX\_RESPONSE\_LISTS          4}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00421}00421 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00422}00422 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00423}00423 \textcolor{comment}{ * Opcode hash bits. The opcode is hashed on the lower 6-\/bits to lookup the}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00424}00424 \textcolor{comment}{ * dispatch table.}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00425}00425 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00426}\mbox{\hyperlink{lio__config_8h_ad96c424e014a43f222d291049dd3eb3f}{00426}} \textcolor{preprocessor}{\#define LIO\_OPCODE\_MASK\_BITS            6}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00427}00427 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00428}00428 \textcolor{comment}{/* Mask for the 6-\/bit lookup hash */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00429}\mbox{\hyperlink{lio__config_8h_a4550e561bc22eb5bbfe4638fa073bf15}{00429}} \textcolor{preprocessor}{\#define LIO\_OPCODE\_MASK                 0x3f}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00430}00430 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00431}00431 \textcolor{comment}{/* Size of the dispatch table. The 6-\/bit hash can index into 2\string^6 entries */}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00432}\mbox{\hyperlink{lio__config_8h_a5b2da768700f0f7c7d67369486c42264}{00432}} \textcolor{preprocessor}{\#define LIO\_DISPATCH\_LIST\_SIZE          BIT(LIO\_OPCODE\_MASK\_BITS)}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00433}00433 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00434}\mbox{\hyperlink{lio__config_8h_ad5027b8a431b10ce01025a2887fba297}{00434}} \textcolor{preprocessor}{\#define LIO\_MAX\_INSTR\_QUEUES(oct)       LIO\_CN23XX\_PF\_MAX\_INPUT\_QUEUES}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00435}\mbox{\hyperlink{lio__config_8h_a557f34ad47219b86b0222b7927e826e5}{00435}} \textcolor{preprocessor}{\#define LIO\_MAX\_OUTPUT\_QUEUES(oct)      LIO\_CN23XX\_PF\_MAX\_OUTPUT\_QUEUES}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00436}00436 }
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00437}\mbox{\hyperlink{lio__config_8h_abbb185566e0a27e22fe5cdf5d4ee1f14}{00437}} \textcolor{preprocessor}{\#define LIO\_MAX\_POSSIBLE\_INSTR\_QUEUES   LIO\_CN23XX\_PF\_MAX\_INPUT\_QUEUES}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00438}\mbox{\hyperlink{lio__config_8h_ab48d8ceb766362d8e504757729ea4650}{00438}} \textcolor{preprocessor}{\#define LIO\_MAX\_POSSIBLE\_OUTPUT\_QUEUES  LIO\_CN23XX\_PF\_MAX\_OUTPUT\_QUEUES}}
\DoxyCodeLine{\Hypertarget{lio__config_8h_source_l00439}00439 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* \_\_LIO\_CONFIG\_H\_\_  */}\textcolor{preprocessor}{}}

\end{DoxyCode}
