X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fnics%2Ftxgbe.rst;h=47501796f21fe7eee6ced7d1407fe0c941e121f7;hb=6be6690127744bb294005bfcf539508b3d5f389e;hp=e520f13f3f69612e993aa4fd67e4b656b26689ad;hpb=92144bb36c6fe79baec9bf570c643720a6257ce4;p=dpdk.git diff --git a/doc/guides/nics/txgbe.rst b/doc/guides/nics/txgbe.rst index e520f13f3f..47501796f2 100644 --- a/doc/guides/nics/txgbe.rst +++ b/doc/guides/nics/txgbe.rst @@ -1,5 +1,5 @@ .. SPDX-License-Identifier: BSD-3-Clause - Copyright(c) 2015-2020. + Copyright(c) 2015-2020 Beijing WangXun Technology Co., Ltd. TXGBE Poll Mode Driver ====================== @@ -84,6 +84,61 @@ TXGBE PMD provides the following log types available for control: Extra logging of the messages during PMD initialization. +- ``pmd.net.txgbe.bp`` (default level is **notice**) + + Extra logging of auto-negotiation process for backplane NICs. + Supply ``--log-level=pmd.net.txgbe.bp:debug`` to view messages. + +Runtime Options +~~~~~~~~~~~~~~~ + +The following ``devargs`` options can be enabled at runtime. They must +be passed as part of EAL arguments. For example, + +.. code-block:: console + + dpdk-testpmd -a 01:00.0,auto_neg=1 -- -i + +Please note that following ``devargs`` are only set for backplane NICs. + +- ``auto_neg`` (default **1**) + + Toggle behavior to use auto-negotiation mode or force mode to + link up backplane NICs. + +- ``poll`` (default **0**) + + Toggle behavior to enable/disable polling mode to receive AN interrupt. + +- ``present`` (default **1**) + + Toggle behavior to use present mode or init mode. + +- ``sgmii`` (default **0**) + + Special treatment for KX SGMII cards. + +- ``ffe_set`` (default **0**) + + Use to set PHY link mode and enable FFE parameters for user debugging. + If disabled, the FFE parameters will not take effect. Otherwise, set 1 + for SFI mode, set 2 for KR mode, set 3 for KX4 mode, set 4 for KX mode. + +- ``ffe_main`` (default **27**) + + PHY parameter used for user debugging. Setting other values to + take effect requires setting the ``ffe_set``. + +- ``ffe_pre`` (default **8**) + + PHY parameter used for user debugging. Setting other values to + take effect requires setting the ``ffe_set``. + +- ``ffe_post`` (default **44**) + + PHY parameter used for user debugging. Setting other values to + take effect requires setting the ``ffe_set``. + Driver compilation and testing ------------------------------ @@ -101,7 +156,7 @@ ingress or egress traffic, alter its fate and query related counters according to any number of user-defined rules. A flow rule is the combination of attributes with a matching pattern and a list of -actions. Theorically one rule can match more than one filters, which named for +actions. Theoretically one rule can match more than one filters, which named for different patterns and actions. Like ethertype filter defines a rule in pattern: the first not void item can be ETH, and the next not void item must be END.