From: Alejandro Lucero <alejandro.lucero@netronome.com>
To: "Burakov, Anatoly" <anatoly.burakov@intel.com>
Cc: xueqin.lin@intel.com, lei.a.yao@intel.com,
Thomas Monjalon <thomas@monjalon.net>, dev <dev@dpdk.org>,
"Xu, Qian Q" <qian.q.xu@intel.com>,
Ferruh Yigit <ferruh.yigit@intel.com>,
Qi Zhang <qi.z.zhang@intel.com>
Subject: Re: [dpdk-dev] [PATCH v3 0/6] use IOVAs check based on DMA mask
Date: Tue, 30 Oct 2018 14:45:04 +0000 [thread overview]
Message-ID: <CAD+H9909OYse1q9kf9jc7xp1_KQpQDFYEQS7rk4fzt3pKzhW3w@mail.gmail.com> (raw)
In-Reply-To: <66c9375a-0256-a067-b8a9-be6f6fcef25d@intel.com>
On Tue, Oct 30, 2018 at 2:14 PM Burakov, Anatoly <anatoly.burakov@intel.com>
wrote:
> On 30-Oct-18 2:04 PM, Alejandro Lucero wrote:
> >
> >
> > On Tue, Oct 30, 2018 at 12:37 PM Alejandro Lucero
> > <alejandro.lucero@netronome.com <mailto:alejandro.lucero@netronome.com>>
>
> > wrote:
> >
> >
> >
> > On Tue, Oct 30, 2018 at 12:22 PM Lin, Xueqin <xueqin.lin@intel.com
> > <mailto:xueqin.lin@intel.com>> wrote:
> >
> > Some found on some our servers:____
> >
> > If not add ”intel_iommu=on iommu=pt” in /boot/grub2/grub.cfg
> > file, then reboot to make it effective.____
> >
> > 18.11 rc1: Success to setup testpmd and secondary process.____
> >
> > __ __
> >
> > If add ”intel_iommu=on iommu=pt” in /boot/grub2/grub.cfg file,
> > then reboot to make it effective.____
> >
> > 18.11 rc1: Fail to setup testpmd and secondary process.____
> >
> > 18.11 rc1+ dma_mask_fix patch: success to setup testpmd, but
> > fail to setup secondary process.____
> >
> > __ __
> >
> > Maybe ”intel_iommu=on iommu=pt” enable or not result in our test
> > gap. ____
> >
> > Most of our team servers should enable the IOMMU for VT-d and
> > vfio test. ____
> >
> > __
> >
> >
> > It makes sense because the problem is when the IOVA mode is set
> > inside drivers/bus/pci/linux/pci.c and if there is not IOMMU, not
> > call to rte_eal_check_dma_mask at all.
> >
> > __
> >
> > Best regards,____
> >
> > Xueqin____
> >
> > __ __
> >
> > *From:*Alejandro Lucero [mailto:alejandro.lucero@netronome.com
> > <mailto:alejandro.lucero@netronome.com>]
> > *Sent:* Tuesday, October 30, 2018 6:38 PM
> > *To:* Lin, Xueqin <xueqin.lin@intel.com
> > <mailto:xueqin.lin@intel.com>>
> > *Cc:* Yao, Lei A <lei.a.yao@intel.com
> > <mailto:lei.a.yao@intel.com>>; Thomas Monjalon
> > <thomas@monjalon.net <mailto:thomas@monjalon.net>>; dev
> > <dev@dpdk.org <mailto:dev@dpdk.org>>; Xu, Qian Q
> > <qian.q.xu@intel.com <mailto:qian.q.xu@intel.com>>; Burakov,
> > Anatoly <anatoly.burakov@intel.com
> > <mailto:anatoly.burakov@intel.com>>; Yigit, Ferruh
> > <ferruh.yigit@intel.com <mailto:ferruh.yigit@intel.com>>; Zhang,
> > Qi Z <qi.z.zhang@intel.com <mailto:qi.z.zhang@intel.com>>
> > *Subject:* Re: [dpdk-dev] [PATCH v3 0/6] use IOVAs check based
> > on DMA mask____
> >
> > __ __
> >
> > __ __
> >
> > On Tue, Oct 30, 2018 at 10:34 AM Lin, Xueqin
> > <xueqin.lin@intel.com <mailto:xueqin.lin@intel.com>> wrote:____
> >
> > Hi Lucero,____
> >
> > ____
> >
> > No, we have reproduced multi-process issues(include
> > symmetric_mp, simple_mp, hotplug_mp, multi-process unit
> > test… )on most of our servers. ____
> >
> > It is also strange that 1~2 servers don’t have the issue.____
> >
> > ____
> >
> > __ __
> >
> > Yes, you are right. I could execute it but it was due to how
> > this problem triggers. ____
> >
> > I think I can fix this and at the same time solving properly the
> > initial issue without any limitation like that potential race
> > condition I mentioned. ____
> >
> > I can give you a patch to try in a couple of hours. ____
> >
> > __
> >
> >
> > Hi Lin,
> >
> > Can you try the patch attached?
> >
> > Thanks
> >
> Hi Alejandro,
>
> Attachments are not supported on the mailing list :)
>
Apologies. I should have sent it just to Lin.
>
> --
> Thanks,
> Anatoly
>
next prev parent reply other threads:[~2018-10-30 14:45 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-05 12:45 Alejandro Lucero
2018-10-05 12:45 ` [dpdk-dev] [PATCH v3 1/6] mem: add function for checking memsegs IOVAs addresses Alejandro Lucero
2018-10-10 8:56 ` Tu, Lijuan
2018-10-11 9:26 ` Alejandro Lucero
2018-10-28 21:03 ` Thomas Monjalon
2018-10-05 12:45 ` [dpdk-dev] [PATCH v3 2/6] mem: use address hint for mapping hugepages Alejandro Lucero
2018-10-29 16:08 ` Dariusz Stojaczyk
2018-10-29 16:40 ` Alejandro Lucero
2018-10-05 12:45 ` [dpdk-dev] [PATCH v3 3/6] bus/pci: check iommu addressing limitation just once Alejandro Lucero
2018-10-05 12:45 ` [dpdk-dev] [PATCH v3 4/6] bus/pci: use IOVAs dmak mask check when setting IOVA mode Alejandro Lucero
2018-10-05 12:45 ` [dpdk-dev] [PATCH v3 5/6] net/nfp: check hugepages IOVAs based on DMA mask Alejandro Lucero
2018-10-05 12:45 ` [dpdk-dev] [PATCH v3 6/6] net/nfp: support IOVA VA mode Alejandro Lucero
2018-10-28 21:04 ` [dpdk-dev] [PATCH v3 0/6] use IOVAs check based on DMA mask Thomas Monjalon
2018-10-29 8:23 ` Yao, Lei A
2018-10-29 8:42 ` Thomas Monjalon
2018-10-29 9:07 ` Thomas Monjalon
2018-10-29 9:25 ` Alejandro Lucero
2018-10-29 9:44 ` Yao, Lei A
2018-10-29 9:36 ` Yao, Lei A
2018-10-29 9:48 ` Thomas Monjalon
2018-10-29 10:11 ` Alejandro Lucero
2018-10-29 10:15 ` Alejandro Lucero
2018-10-29 11:39 ` Alejandro Lucero
2018-10-29 11:46 ` Thomas Monjalon
2018-10-29 12:55 ` Alejandro Lucero
2018-10-29 13:18 ` Yao, Lei A
2018-10-29 13:40 ` Alejandro Lucero
2018-10-29 14:18 ` Thomas Monjalon
2018-10-29 14:35 ` Alejandro Lucero
2018-10-29 18:54 ` Yongseok Koh
2018-10-29 19:37 ` Alejandro Lucero
2018-10-30 10:10 ` Burakov, Anatoly
2018-10-30 10:11 ` Burakov, Anatoly
2018-10-30 10:19 ` Alejandro Lucero
2018-10-30 3:20 ` Lin, Xueqin
2018-10-30 9:41 ` Alejandro Lucero
2018-10-30 10:33 ` Lin, Xueqin
2018-10-30 10:38 ` Alejandro Lucero
2018-10-30 12:21 ` Lin, Xueqin
2018-10-30 12:37 ` Alejandro Lucero
2018-10-30 14:04 ` Alejandro Lucero
2018-10-30 14:14 ` Burakov, Anatoly
2018-10-30 14:45 ` Alejandro Lucero [this message]
2018-10-30 14:45 ` Lin, Xueqin
2018-10-30 14:57 ` Alejandro Lucero
2018-10-30 15:09 ` Lin, Xueqin
2018-10-30 10:18 ` Burakov, Anatoly
2018-10-30 10:23 ` Alejandro Lucero
-- strict thread matches above, loose matches on Subject: below --
2018-07-04 12:53 Alejandro Lucero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAD+H9909OYse1q9kf9jc7xp1_KQpQDFYEQS7rk4fzt3pKzhW3w@mail.gmail.com \
--to=alejandro.lucero@netronome.com \
--cc=anatoly.burakov@intel.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=lei.a.yao@intel.com \
--cc=qi.z.zhang@intel.com \
--cc=qian.q.xu@intel.com \
--cc=thomas@monjalon.net \
--cc=xueqin.lin@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).