From: Jerin Jacob Date: Fri, 5 Oct 2018 04:46:04 +0000 (+0530) Subject: doc: clarify L3 Tx checksum prerequisite X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9713e32914a23780aac00fd5b6435aa72e87b377;p=dpdk.git doc: clarify L3 Tx checksum prerequisite Based on PKT_TX_IP_CKSUM definition the user needs to fill l2_len and l3_len mbuf fields before issuing HW Tx checksum request. Fixes: dad1ec72a377 ("doc: document NIC features") Cc: stable@dpdk.org Signed-off-by: Jerin Jacob Acked-by: Andrew Rybchenko --- diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index 4a946251a1..a21146676f 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -563,6 +563,7 @@ Supports L3 checksum offload. * **[uses] rte_eth_txconf,rte_eth_txmode**: ``offloads:DEV_TX_OFFLOAD_IPV4_CKSUM``. * **[uses] mbuf**: ``mbuf.ol_flags:PKT_TX_IP_CKSUM``, ``mbuf.ol_flags:PKT_TX_IPV4`` | ``PKT_TX_IPV6``. +* **[uses] mbuf**: ``mbuf.l2_len``, ``mbuf.l3_len``. * **[provides] mbuf**: ``mbuf.ol_flags:PKT_RX_IP_CKSUM_UNKNOWN`` | ``PKT_RX_IP_CKSUM_BAD`` | ``PKT_RX_IP_CKSUM_GOOD`` | ``PKT_RX_IP_CKSUM_NONE``.