From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 62D661B100 for ; Sun, 30 Sep 2018 05:09:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Sep 2018 20:09:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,322,1534834800"; d="scan'208";a="77232704" Received: from dpdk-xiaoyunl.sh.intel.com ([10.67.110.231]) by orsmga007.jf.intel.com with ESMTP; 29 Sep 2018 20:09:20 -0700 From: Xiaoyun Li To: beilei.xing@intel.com, qi.z.zhang@intel.com, dev@dpdk.org, wenzhuo.lu@intel.com, jingjing.wu@intel.com Cc: Xiaoyun Li Date: Sat, 29 Sep 2018 22:53:04 -0400 Message-Id: <1538275984-38043-1-git-send-email-xiaoyun.li@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1538039797-43828-1-git-send-email-xiaoyun.li@intel.com> References: <1538039797-43828-1-git-send-email-xiaoyun.li@intel.com> Subject: [dpdk-dev] [PATCH v3] doc: add known issue about legacy intr mode for ixgbe X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Sep 2018 03:09:47 -0000 When using uio_pci_generic module or using legacy interrupt mode of igb_uio or vfio, X550 cannot get interrupts. Because the Interrupt Status bit is not implemented, then the irq cannot be handled correctly and cannot report the event fd to DPDK apps. Add this hw limitation and details into ixgbe known issue. Signed-off-by: Xiaoyun Li --- v3: * Correct a misspelling. v2: * Correct the link of X550 spec update. * Polish the known issue title. --- doc/guides/nics/ixgbe.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index 16d6390..af4c876 100644 --- a/doc/guides/nics/ixgbe.rst +++ b/doc/guides/nics/ixgbe.rst @@ -200,6 +200,32 @@ There is no RTE API to add a VF's MAC address from the PF. On ixgbe, the ``rte_eth_dev_mac_addr_add()`` function can be used to add a VF's MAC address, as a workaround. +X550 does not support legacy interrupt mode +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Desccription +^^^^^^^^^^^^ +X550 cannot get interrupts if using ``uio_pci_generic`` module or using legacy +interrupt mode of ``igb_uio`` or ``vfio``. Because the errata of X550 states +that the Interrupt Status bit is not implemented. The errata is the item #22 +from `X550 spec update `_ + +Implication +^^^^^^^^^^^ +When using ``uio_pci_generic`` module or using legacy interrupt mode of +``igb_uio`` or ``vfio``, the Interrupt Status bit would be checked if the +interrupt is coming. Since the bit is not implemented in X550, the irq cannot +be handled correctly and cannot report the event fd to DPDK apps. Then apps +cannot get interrupts and ``dmesg`` will show messages like ``irq #No.: `` +``nobody cared.`` + +Workaround +^^^^^^^^^^ +Do not bind the ``uio_pci_generic`` module in X550 NICs. +Do not bind ``igb_uio`` with legacy mode in X550 NICs. +Before using ``vfio`` with legacy mode in X550 NICs, using ``modprobe vfio `` +``nointxmask=1`` to bind ``vfio``. Inline crypto processing support -------------------------------- -- 2.7.4