* [dpdk-dev] [PATCH 1/2] doc/ixgbe: convert to new offload API
@ 2018-05-23 2:56 Qi Zhang
2018-05-23 2:56 ` [dpdk-dev] [PATCH 2/2] doc/fm10k: " Qi Zhang
2018-05-24 14:20 ` [dpdk-dev] [PATCH 1/2] doc/ixgbe: " Ferruh Yigit
0 siblings, 2 replies; 3+ messages in thread
From: Qi Zhang @ 2018-05-23 2:56 UTC (permalink / raw)
To: ferruh.yigit; +Cc: dev, Qi Zhang
Cleanup document to convert old rxmode flags to new offload
bit mask.
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
---
doc/guides/nics/ixgbe.rst | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst
index c637bb351..070cac974 100644
--- a/doc/guides/nics/ixgbe.rst
+++ b/doc/guides/nics/ixgbe.rst
@@ -68,15 +68,15 @@ Other features are supported using optional MACRO configuration. They include:
* HW extend dual VLAN
-To guarantee the constraint, configuration flags in dev_conf.rxmode will be checked:
+To guarantee the constraint, capabilities in dev_conf.rxmode.offloads will be checked:
-* hw_vlan_strip
+* DEV_RX_OFFLOAD_VLAN_STRIP
-* hw_vlan_extend
+* DEV_RX_OFFLOAD_VLAN_EXTEND
-* hw_ip_checksum
+* DEV_RX_OFFLOAD_CHECKSUM
-* header_split
+* DEV_RX_OFFLOAD_HEADER_SPLIT
* dev_conf
@@ -119,13 +119,13 @@ l3fwd
~~~~~
When running l3fwd with vPMD, there is one thing to note.
-In the configuration, ensure that port_conf.rxmode.hw_ip_checksum=0.
+In the configuration, ensure that DEV_RX_OFFLOAD_CHECKSUM in port_conf.rxmode.offloads is NOT set.
Otherwise, by default, RX vPMD is disabled.
load_balancer
~~~~~~~~~~~~~
-As in the case of l3fwd, set configure port_conf.rxmode.hw_ip_checksum=0 to enable vPMD.
+As in the case of l3fwd, to enable vPMD, do NOT set DEV_RX_OFFLOAD_CHECKSUM in port_conf.rxmode.offloads.
In addition, for improved performance, use -bsz "(32,32),(64,64),(32,32)" in load_balancer to avoid using the default burst size of 144.
--
2.13.6
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dpdk-dev] [PATCH 2/2] doc/fm10k: convert to new offload API
2018-05-23 2:56 [dpdk-dev] [PATCH 1/2] doc/ixgbe: convert to new offload API Qi Zhang
@ 2018-05-23 2:56 ` Qi Zhang
2018-05-24 14:20 ` [dpdk-dev] [PATCH 1/2] doc/ixgbe: " Ferruh Yigit
1 sibling, 0 replies; 3+ messages in thread
From: Qi Zhang @ 2018-05-23 2:56 UTC (permalink / raw)
To: ferruh.yigit; +Cc: dev, Qi Zhang
Cleanup document to convert old rxmode and txq_flags to new offload
bit mask.
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
---
doc/guides/nics/fm10k.rst | 27 ++++++++-------------------
1 file changed, 8 insertions(+), 19 deletions(-)
diff --git a/doc/guides/nics/fm10k.rst b/doc/guides/nics/fm10k.rst
index c44e226e3..d1391e997 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
~~~~~~~~~~~~~~~~~~~~~
--
2.13.6
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH 1/2] doc/ixgbe: convert to new offload API
2018-05-23 2:56 [dpdk-dev] [PATCH 1/2] doc/ixgbe: convert to new offload API Qi Zhang
2018-05-23 2:56 ` [dpdk-dev] [PATCH 2/2] doc/fm10k: " Qi Zhang
@ 2018-05-24 14:20 ` Ferruh Yigit
1 sibling, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2018-05-24 14:20 UTC (permalink / raw)
To: Qi Zhang; +Cc: dev
On 5/23/2018 3:56 AM, Qi Zhang wrote:
> Cleanup document to convert old rxmode flags to new offload
> bit mask.
>
> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Series applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-05-24 14:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-23 2:56 [dpdk-dev] [PATCH 1/2] doc/ixgbe: convert to new offload API Qi Zhang
2018-05-23 2:56 ` [dpdk-dev] [PATCH 2/2] doc/fm10k: " Qi Zhang
2018-05-24 14:20 ` [dpdk-dev] [PATCH 1/2] doc/ixgbe: " Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).