From: Lance Richardson <lance.richardson@broadcom.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: dev <dev@dpdk.org>, conor.walsh@intel.com, kevin.laatz@intel.com
Subject: Re: Using IOAT PMD
Date: Thu, 16 Dec 2021 11:34:25 -0500 [thread overview]
Message-ID: <CADyeNEDO_gmix2CxFbxVc4DwozuWaVL0MKnfioyUKQxO+X8Wsw@mail.gmail.com> (raw)
In-Reply-To: <YbtnTQROE2P8flZ1@bricha3-MOBL.ger.corp.intel.com>
On Thu, Dec 16, 2021 at 11:20 AM Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> On Thu, Dec 16, 2021 at 11:04:54AM -0500, Lance Richardson wrote:
> > Hi Bruce,
> >
> > I've been looking into using the IOAT PMD, initially with dma_autotest
> > and the dpdk-dma example application. These seem to work fine on
> > SKX with the current main branch, but when I try the same procedure
> > on ICX (binding all 8 devices to vfio-pci in both cases), I get the following
> > output for each device when probed. Is something different needed when
> > using IOAT on ICX vs. SKX?
> >
> > Thanks,
> > Lance
> >
> > EAL: Probe PCI driver: dmadev_ioat (8086:b00) device: 0000:80:01.0 (socket 2)
> > IOAT: ioat_dmadev_probe(): Init 0000:80:01.0 on NUMA node 2
> > IOAT: ioat_dmadev_create(): ioat_dmadev_create: Channel count == 255
> >
> > IOAT: ioat_dmadev_create(): ioat_dmadev_create: Channel appears locked
> >
> > IOAT: ioat_dmadev_create(): ioat_dmadev_create: cannot reset device.
> > CHANCMD=0xff, CHANSTS=0xffffffffffffffff, CHANERR=0xffffffff
> >
> > EAL: Releasing PCI mapped resource for 0000:80:01.0
> > EAL: Calling pci_unmap_resource for 0000:80:01.0 at 0x4102430000
> > EAL: Requested device 0000:80:01.0 cannot be used
>
> That is strange, the same PMD should work ok on both platforms. This is all
> on latest branch, right? Let me attempt to reproduce and get back to you.
Hi Bruce,
That's correct, I'm using the current tip of the main branch, which
seems to be identical to 21.11.0.
>
> /Bruce
>
> PS: Is this a 4-socket system you are running on, since I see "socket 2"
> being described as the socket number for device 80:01.0?
>
It is a two-socket system with sub-NUMA enabled, so it appears as four
NUMA nodes. I'm only binding the devices on the second socket.
Thanks,
Lance
next prev parent reply other threads:[~2021-12-16 16:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-16 16:04 Lance Richardson
2021-12-16 16:20 ` Bruce Richardson
2021-12-16 16:34 ` Lance Richardson [this message]
2021-12-16 17:33 ` Bruce Richardson
2021-12-16 19:08 ` Lance Richardson
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=CADyeNEDO_gmix2CxFbxVc4DwozuWaVL0MKnfioyUKQxO+X8Wsw@mail.gmail.com \
--to=lance.richardson@broadcom.com \
--cc=bruce.richardson@intel.com \
--cc=conor.walsh@intel.com \
--cc=dev@dpdk.org \
--cc=kevin.laatz@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).