aboutsummaryrefslogtreecommitdiffstats
path: root/doc/guides/nics/fm10k.rst
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2018-08-14 18:52:30 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2018-08-14 18:53:17 +0100
commitb63264c8342e6a1b6971c79550d2af2024b6a4de (patch)
tree83114aac64286fe616506c0b3dfaec2ab86ef835 /doc/guides/nics/fm10k.rst
parentca33590b6af032bff57d9cc70455660466a654b2 (diff)
New upstream version 18.08upstream/18.08
Change-Id: I32fdf5e5016556d9c0a6d88ddaf1fc468961790a Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'doc/guides/nics/fm10k.rst')
-rw-r--r--doc/guides/nics/fm10k.rst27
1 files changed, 8 insertions, 19 deletions
diff --git a/doc/guides/nics/fm10k.rst b/doc/guides/nics/fm10k.rst
index c44e226e..d1391e99 100644
--- a/doc/guides/nics/fm10k.rst
+++ b/doc/guides/nics/fm10k.rst
@@ -79,14 +79,14 @@ Other features are supported using optional MACRO configuration. They include:
To enable via ``RX_OLFLAGS`` use ``RTE_LIBRTE_FM10K_RX_OLFLAGS_ENABLE=y``.
-To guarantee the constraint, the following configuration flags in ``dev_conf.rxmode``
+To guarantee the constraint, the following capabilities in ``dev_conf.rxmode.offloads``
will be checked:
-* ``hw_vlan_extend``
+* ``DEV_RX_OFFLOAD_VLAN_EXTEND``
-* ``hw_ip_checksum``
+* ``DEV_RX_OFFLOAD_CHECKSUM``
-* ``header_split``
+* ``DEV_RX_OFFLOAD_HEADER_SPLIT``
* ``fdir_conf->mode``
@@ -106,19 +106,9 @@ TX Constraint
Features not Supported by TX Vector PMD
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-TX vPMD only works when ``txq_flags`` is set to ``FM10K_SIMPLE_TX_FLAG``.
-This means that it does not support TX multi-segment, VLAN offload or TX csum
-offload. The following MACROs are used for these three features:
+TX vPMD only works when offloads is set to 0
-* ``ETH_TXQ_FLAGS_NOMULTSEGS``
-
-* ``ETH_TXQ_FLAGS_NOVLANOFFL``
-
-* ``ETH_TXQ_FLAGS_NOXSUMSCTP``
-
-* ``ETH_TXQ_FLAGS_NOXSUMUDP``
-
-* ``ETH_TXQ_FLAGS_NOXSUMTCP``
+This means that it does not support any TX offload.
Limitations
-----------
@@ -149,9 +139,8 @@ CRC striping
~~~~~~~~~~~~
The FM10000 family of NICs strip the CRC for every packets coming into the
-host interface. So, CRC will be stripped even when the
-``rxmode.hw_strip_crc`` member is set to 0 in ``struct rte_eth_conf``.
-
+host interface. So, CRC will be stripped even when ``DEV_RX_OFFLOAD_CRC_STRIP``
+in ``rxmode.offloads`` is NOT set in ``struct rte_eth_conf``.
Maximum packet length
~~~~~~~~~~~~~~~~~~~~~