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

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

Checks

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

Commit Message

Jingjing Wu Feb. 9, 2017, 6:41 a.m. UTC
  Rx statistic is incorrect when packet is oversize.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
---

v2 change
 - reword issue description

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

Comments

John McNamara Feb. 9, 2017, 8:26 a.m. UTC | #1
> -----Original Message-----
> From: Wu, Jingjing
> Sent: Thursday, February 9, 2017 6:42 AM
> To: dev@dpdk.org
> Cc: Wu, Jingjing <jingjing.wu@intel.com>; Mcnamara, John
> <john.mcnamara@intel.com>
> Subject: [PATCH v2] doc: add known issue for i40e PMD
> 
> Rx statistic is incorrect when packet is oversize.
> 
> Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>

Acked-by: John McNamara <john.mcnamara@intel.com>
  
Ferruh Yigit Feb. 9, 2017, 3:29 p.m. UTC | #2
On 2/9/2017 8:26 AM, Mcnamara, John wrote:
> 
> 
>> -----Original Message-----
>> From: Wu, Jingjing
>> Sent: Thursday, February 9, 2017 6:42 AM
>> To: dev@dpdk.org
>> Cc: Wu, Jingjing <jingjing.wu@intel.com>; Mcnamara, John
>> <john.mcnamara@intel.com>
>> Subject: [PATCH v2] doc: add known issue for i40e PMD
>>
>> Rx statistic is incorrect when packet is oversize.
>>
>> Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
> 
> Acked-by: John McNamara <john.mcnamara@intel.com>

Applied to dpdk-next-net/master, thanks.
  

Patch

diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index 1245ecf..b890613 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 is dropped.
+However the Rx statistics, when calling `rte_eth_stats_get` incorrectly
+shows it as received.