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

Message ID 1492052913-962-1-git-send-email-qiming.yang@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 success Compilation OK

Commit Message

Qiming Yang April 13, 2017, 3:08 a.m. UTC
  When insmod "igb_uio" with "intr_mode=legacy and test link
status interrupt. Since INTx interrupt is not supported by
X710/XL710/XXV710, it will cause Input/Output error when
reading file descriptor.

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Acked-by Jingjing Wu <jingjing.wu@intel.com>
---
v2 changes:
* move the description to rel_notes/known_issues.rst
---
---
 doc/guides/rel_notes/known_issues.rst | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
  

Comments

John McNamara April 14, 2017, 4:03 p.m. UTC | #1
> -----Original Message-----
> From: Yang, Qiming
> Sent: Thursday, April 13, 2017 4:09 AM
> To: dev@dpdk.org
> Cc: Wu, Jingjing <jingjing.wu@intel.com>; Mcnamara, John
> <john.mcnamara@intel.com>; Yang, Qiming <qiming.yang@intel.com>
> Subject: [PATCH v2] doc: add known igb_uio issue for i40e
> 
> When insmod "igb_uio" with "intr_mode=legacy and test link status
> interrupt. Since INTx interrupt is not supported by X710/XL710/XXV710, it
> will cause Input/Output error when reading file descriptor.
> 
> Signed-off-by: Qiming Yang <qiming.yang@intel.com> Acked-by Jingjing Wu
> <jingjing.wu@intel.com>

Acked-by: John McNamara <john.mcnamara@intel.com>
  
Ferruh Yigit April 14, 2017, 4:53 p.m. UTC | #2
On 4/14/2017 5:03 PM, Mcnamara, John wrote:
> 
> 
>> -----Original Message-----
>> From: Yang, Qiming
>> Sent: Thursday, April 13, 2017 4:09 AM
>> To: dev@dpdk.org
>> Cc: Wu, Jingjing <jingjing.wu@intel.com>; Mcnamara, John
>> <john.mcnamara@intel.com>; Yang, Qiming <qiming.yang@intel.com>
>> Subject: [PATCH v2] doc: add known igb_uio issue for i40e
>>
>> When insmod "igb_uio" with "intr_mode=legacy and test link status
>> interrupt. Since INTx interrupt is not supported by X710/XL710/XXV710, it
>> will cause Input/Output error when reading file descriptor.
>>
>> Signed-off-by: Qiming Yang <qiming.yang@intel.com> Acked-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/rel_notes/known_issues.rst b/doc/guides/rel_notes/known_issues.rst
index f149ac7..61c2fa1 100644
--- a/doc/guides/rel_notes/known_issues.rst
+++ b/doc/guides/rel_notes/known_issues.rst
@@ -697,3 +697,27 @@  virtio tx_burst() function cannot do TSO on shared packets
 
 **Driver/Module**:
    Poll Mode Driver (PMD).
+
+
+igb uio legacy mode can not be used in X710/XL710/XXV710
+--------------------------------------------------------
+
+**Description**:
+   X710/XL710/XXV710 NICs lack support for indicating INTx is asserted via the interrupt
+   bit in the PCI status register. Linux delected them from INTx support table. The related
+   link `linux kernel commit <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/drivers/pci/quirks.c?id=8bcf4525c5d43306c5fd07e132bc8650e3491aec>`_.
+
+**Implication**:
+   When insmod ``igb_uio`` with ``intr_mode=legacy`` and test link status interrupt. Since
+   INTx interrupt is not supported by X710/XL710/XXV710, it will cause Input/Output error
+   when reading file descriptor.
+
+**Resolution/Workaround**:
+   Do not bind ``igb_uio`` with legacy mode in X710/XL710/XXV710 NICs, or do not use kernel
+   version >4.7 when you bind ``igb_uio`` with legacy mode.
+
+**Affected Environment/Platform**:
+   ALL.
+
+**Driver/Module**:
+   Poll Mode Driver (PMD).