Skip to contentSkip to conversation

doc: add known igb_uio issue for i40e

PATCH Superseded Qiming Yang 4 participants 9 messages Mar 27, 2017 – Apr 19, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 doc/guides/nics/i40e.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
doc/guides/nics/i40e.rst +13 -0
index 043de34..f4073c2 100644
@@ -467,3 +467,16 @@ 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.
+
+igb uio legacy mode can not be used in X710/XL710/XXV710
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+When insmod ``igb_uio`` with ``intr_mode=legacy`` and test link status
+interrupt, it will cause Input/Output error when reading file descriptor.
+The root cause is X710/XL710/XXV710 NICs lack support for indicating INTx
+is asserted via the interrupt bit in the PCI status register. Linux delect
+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>`_.
+
+NOTE: happening when Linux kernel version >= 4.7
Signature · 1 line
2.7.4
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Qiming Yang
Sent: Monday, March 27, 2017 5:16 PM
To: [email protected]
Cc: Yang, Qiming <[email protected]>
Subject: [dpdk-dev] [PATCH] doc: add known igb_uio issue for i40e

Quoted 5 lines

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.

Acked-by Jingjing Wu <[email protected]>

#2 lore raw
In reply to Qiming Yang
Quoted 8 lines · Qiming Yang

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.

---
 doc/guides/nics/i40e.rst | 13 +++++++++++++

Hi John,

There are three different "Known Issue" sections in documentations:

1) Known Issues document, doc/guides/rel_notes/known_issues.rst
2) Release notes, known issues section, doc/guides/rel_notes/release_17_05.rst
3) Device specific known issues sections, doc/guides/nics/i40e.rst

This patch updates 3), what is the rule on updating those files?

Thanks,
ferruh

#3 lore raw
Quoted 22 lines

-----Original Message-----
From: Yigit, Ferruh
Sent: Monday, April 3, 2017 11:40 AM
To: Yang, Qiming <[email protected]>; [email protected]; Mcnamara, John <[email protected]>; Thomas Monjalon <[email protected]>
Subject: Re: [dpdk-dev] [PATCH] doc: add known igb_uio issue for i40e

Quoted 7 lines · Qiming Yang

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.

---
 doc/guides/nics/i40e.rst | 13 +++++++++++++

Hi John,

There are three different "Known Issue" sections in documentations:

Quoted 8 lines

1) Known Issues document, doc/guides/rel_notes/known_issues.rst
2) Release notes, known issues section, doc/guides/rel_notes/release_17_05.rst
3) Device specific known issues sections, doc/guides/nics/i40e.rst

This patch updates 3), what is the rule on updating those files?

Hi,

I was going to make a similar comment on the patchset.

Having "known" issues in three places is a good way of keeping them unknown.

Ideally the process should be:
1. Add new "known" issues into the release notes.
2. Move these to known_issues.rst after each release.

This is a little too manual, so perhaps known issues should be added directly to known_issues.rst under a header for the release they were identified in. The release notes could contain a link to known_issues.rst.

However, this patch adds a third location, the NIC document. I have some sympathy for this approach since the NIC docs generally have a limitations section which is similar to known issues.

If we agree that this is a good approach then we should move all of the NIC specific issues to the Limitations sections of the NIC docs and include a section at the start of the "Known Issues" doc to remind users to also check the NIC specific doc.

However, I think this needs to be co-ordinated and done in one go. So, for this release, let's not move the i40e known issues and instead do a general cleanup and refactoring of the "Known Issues" at the very start of the 17.08 cycle.

Other opinions?

John

#4 lore raw

PATCH v2 1/1 doc: add known igb_uio issue for i40e

In reply to Qiming Yang

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.

Acked-by Jingjing Wu <[email protected]>
---
v2 changes:
* move the description to rel_notes/known_issues.rst
---

---
 doc/guides/rel_notes/known_issues.rst | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
doc/guides/rel_notes/known_issues.rst +24 -0
index f149ac7..61c2fa1 100644
@@ -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).
Signature · 1 line
2.7.4
Acked-by on v2 1/1
#5 lore raw
Quoted 10 lines

-----Original Message-----
From: Yang, Qiming
Sent: Thursday, April 13, 2017 4:09 AM
To: [email protected]
Cc: Wu, Jingjing <[email protected]>; Mcnamara, John <[email protected]>; Yang, Qiming <[email protected]>
Subject: [PATCH v2] doc: add known igb_uio issue for i40e

Quoted 6 lines

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.

<[email protected]>

Applied
#6 lore raw
Quoted 10 lines · John
Quoted 10 lines

-----Original Message-----
From: Yang, Qiming
Sent: Thursday, April 13, 2017 4:09 AM
To: [email protected]
Cc: Wu, Jingjing <[email protected]>; Mcnamara, John <[email protected]>; Yang, Qiming <[email protected]>
Subject: [PATCH v2] doc: add known igb_uio issue for i40e

Quoted 8 lines
Quoted 6 lines

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.

<[email protected]>

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

#7 lore raw

PATCH v3 1/1 doc: add known igb_uio issue for i40e

In reply to Qiming Yang

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.

Acked-by Jingjing Wu <[email protected]>

---
v2 changes:
* move the description to rel_notes/known_issues.rst v3 changes:
* fixed a doc build warning
---

---
 doc/guides/rel_notes/known_issues.rst | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
doc/guides/rel_notes/known_issues.rst +24 -0
index f149ac7..a5592b0 100644
@@ -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 `<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).
Signature · 1 line
2.4.11
#8 lore raw
Quoted 8 lines · Qiming Yang

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.

Acked-by Jingjing Wu <[email protected]>

Squashed into relevant commit in next-net, thanks.

Diff is only in link to fix doc build warning:
.../doc/guides/rel_notes/known_issues.rst:33:
WARNING: Duplicate explicit target name: "linux kernel commit".