[dpdk-dev] doc: add known issue for i40e PMD

Message ID 1486105743-84020-1-git-send-email-jingjing.wu@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Ferruh Yigit
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel compilation success Compilation OK

Commit Message

Jingjing Wu Feb. 3, 2017, 7:09 a.m. UTC
  Rx statistic is incorrect when packet is oversize.

CC: stable@dpdk.org
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
---
 doc/guides/nics/i40e.rst | 7 +++++++
 1 file changed, 7 insertions(+)
  

Comments

John McNamara Feb. 8, 2017, 5:32 p.m. UTC | #1
> -----Original Message-----
> From: Wu, Jingjing
> Sent: Friday, February 3, 2017 7:09 AM
> To: dev@dpdk.org
> Cc: Wu, Jingjing <jingjing.wu@intel.com>; Zhang, Helin
> <helin.zhang@intel.com>; Mcnamara, John <john.mcnamara@intel.com>;
> stable@dpdk.org
> Subject: [PATCH] doc: add known issue for i40e PMD
> 
> Rx statistic is incorrect when packet is oversize.
> 
> CC: stable@dpdk.org
> Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
> ---
>  doc/guides/nics/i40e.rst | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index
> 1245ecf..ae5b43f 100644
> --- a/doc/guides/nics/i40e.rst
> +++ b/doc/guides/nics/i40e.rst
> @@ -460,3 +460,10 @@ Receive packets with Ethertype 0x88A8
> 
>  Due to the FW limitation, PF can receive packets with Ethertype 0x88A8
> only when floating VEB is disabled.
> +
> +Incorrect Rx statistics when packet is oversize
> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
> +When a packet is over maximum frame size, the packet cannot be received.
> +But the Rx statistic shows it is received successfully, if calling
> +rte_eth_stats_get.

Would be slightly better as:

When a packet is over the maximum frame size, the packet cannot be received.
However the Rx statistics, when calling `rte_eth_stats_get()` incorrectly 
shows it as received.

Or instead of "cannot be received" just "is dropped".
  

Patch

diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index 1245ecf..ae5b43f 100644
--- a/doc/guides/nics/i40e.rst
+++ b/doc/guides/nics/i40e.rst
@@ -460,3 +460,10 @@  Receive packets with Ethertype 0x88A8
 
 Due to the FW limitation, PF can receive packets with Ethertype 0x88A8
 only when floating VEB is disabled.
+
+Incorrect Rx statistics when packet is oversize
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+When a packet is over maximum frame size, the packet cannot be received.
+But the Rx statistic shows it is received successfully, if calling
+rte_eth_stats_get.