From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id E74295F35 for ; Sun, 30 Sep 2018 04:46:14 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Sep 2018 19:46:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,322,1534834800"; d="scan'208";a="78603284" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga006.jf.intel.com with ESMTP; 29 Sep 2018 19:46:13 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 29 Sep 2018 19:46:13 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sat, 29 Sep 2018 19:46:13 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.220]) by shsmsx102.ccr.corp.intel.com ([169.254.2.140]) with mapi id 14.03.0319.002; Sun, 30 Sep 2018 10:46:11 +0800 From: "Li, Xiaoyun" To: "Zhang, Qi Z" , "Xing, Beilei" , "dev@dpdk.org" , "Lu, Wenzhuo" , "Wu, Jingjing" Thread-Topic: [PATCH] doc: add known issue about legacy intr mode for ixgbe Thread-Index: AQHUVkUpsulLbnpwhkOeIVKQY2iTFKUHlteAgACLm1A= Date: Sun, 30 Sep 2018 02:46:09 +0000 Message-ID: References: <1538039797-43828-1-git-send-email-xiaoyun.li@intel.com> <039ED4275CED7440929022BC67E70611532A8371@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <039ED4275CED7440929022BC67E70611532A8371@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] 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 02:46:15 -0000 Hi > -----Original Message----- > From: Zhang, Qi Z > Sent: Sunday, September 30, 2018 10:25 > To: Li, Xiaoyun ; Xing, Beilei ; > dev@dpdk.org; Lu, Wenzhuo ; Wu, Jingjing > > Subject: RE: [PATCH] doc: add known issue about legacy intr mode for ixgb= e >=20 >=20 >=20 > > -----Original Message----- > > From: Li, Xiaoyun > > Sent: Thursday, September 27, 2018 5:17 PM > > To: Xing, Beilei ; Zhang, Qi Z > > ; dev@dpdk.org; Lu, Wenzhuo > > ; Wu, Jingjing > > Cc: Li, Xiaoyun > > Subject: [PATCH] doc: add known issue about legacy intr mode for ixgbe > > > > 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 > > --- > > 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..4f89a6d 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. > > > > +legacy interrupt mode and uio pci generic module cannot be used in > > +X550 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~ > > ~~~~~~~ >=20 > the reason we can't use uio_pci_generic, is it also because uio_pci_gener= ic > require legacy mode? > If it is, can we simplified the title as " x550 does not support legacy i= nterrupt > mode" Sure. >=20 > > + > > +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 > > > + as > > heet > > +s/ethernet-x550-spec-update.pdf>`_ >=20 > Seems the url here is not correct, there is no errata item #22 Yes. Will correct it. Thanks. >=20 > Regards > Qi >=20 > > + > > +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 comming. 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=3D1`` to bind ``vfio``. > > > > Inline crypto processing support > > -------------------------------- > > -- > > 2.7.4