[dpdk-dev,v2] doc: add limitations for i40e PMD

Message ID 1474045575-31372-1-git-send-email-jingjing.wu@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Bruce Richardson
Headers

Commit Message

Jingjing Wu Sept. 16, 2016, 5:06 p.m. UTC
  This patch adds "Limitations or Known issues" section for
i40e PMD, including two items:
1. MPLS packet classification on X710/XL710
2. 16 Byte Descriptor cannot be used on DPDK VF

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
---
v2 changes:
 fix typo.

 doc/guides/nics/i40e.rst | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
  

Comments

John McNamara Sept. 26, 2016, 3:32 p.m. UTC | #1
> -----Original Message-----
> From: Wu, Jingjing
> Sent: Friday, September 16, 2016 6:06 PM
> To: dev@dpdk.org
> Cc: Wu, Jingjing <jingjing.wu@intel.com>; Xing, Beilei
> <beilei.xing@intel.com>; Mcnamara, John <john.mcnamara@intel.com>
> Subject: [PATCH v2] doc: add limitations for i40e PMD
> 
> This patch adds "Limitations or Known issues" section for i40e PMD,
> including two items:
> 1. MPLS packet classification on X710/XL710 2. 16 Byte Descriptor cannot
> be used on DPDK VF
> 
> Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
>
> ...
>
> +Before NIC firmware version of 5.0, MPLS packet cannot be recognized by
> NIC.
> +The L2 Payload flow type in flow director can be used to classify MPLS
> +packet by the command in testpmd like:
> +
> +   testpmd> flow_director_filter 0 mode IP add flow l2_payload ether \
> +            0x8847 flexbytes () fwd pf queue <N> fd_id <M>
> +
> +In the NIC firmware whose version is 5.0 or greater, very limited MPLS
> +support is added: Native MPLS skip is implemented, that is, packet type
> +can be recognized like MPLS header is skipped, while no new packet type
> +and no more meta data is extracted from MPLS header.

This paragraph is a little confusing. Perhaps you could simplify/clarify it.
  

Patch

diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index 4d12b10..1891551 100644
--- a/doc/guides/nics/i40e.rst
+++ b/doc/guides/nics/i40e.rst
@@ -411,3 +411,36 @@  configuration passed on the EAL command line.
 
 The floating VEB functionality requires a NIC firmware version of 5.0
 or greater.
+
+
+Limitations or Known issues
+---------------------------
+
+MPLS packet classification on X710/XL710
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Before NIC firmware version of 5.0, MPLS packet cannot be recognized by NIC.
+The L2 Payload flow type in flow director can be used to classify MPLS packet
+by the command in testpmd like:
+
+   testpmd> flow_director_filter 0 mode IP add flow l2_payload ether \
+            0x8847 flexbytes () fwd pf queue <N> fd_id <M>
+
+In the NIC firmware whose version is 5.0 or greater, very limited MPLS support
+is added: Native MPLS skip is implemented, that is, packet type can be
+recognized like MPLS header is skipped, while no new packet type and no more
+meta data is extracted from MPLS header. With this change, L2 Payload flow
+type in flow director cannot be used to classify MPLS packet as previous.
+Meanwhile, Ethertype filter can be used to classify MPLS packet by the command
+in testpmd like:
+
+   testpmd> ethertype_filter 0 add mac_ignr 00:00:00:00:00:00 ethertype \
+            0x8847 fwd queue <M>
+
+16 Byte Descriptor cannot be used on DPDK VF
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+If Linux i40e kernel driver is used as host driver, while DPDK i40e PMD is used
+as VF driver, DPDK cannot choose 16 byte descriptor receive descriptor. That
+is to say, user should keep "CONFIG_RTE_LIBRTE_I40E_16BYTE_RX_DESC=n" in config
+file.