DPDK CI discussions
 help / color / mirror / Atom feed
From: Patrick Robb <probb@iol.unh.edu>
To: "Juraj Linkeš" <juraj.linkes@pantheon.tech>
Cc: Dharmik Jayesh Thakkar <DharmikJayesh.Thakkar@arm.com>,
	 David Marchand <david.marchand@redhat.com>,
	Ruifeng Wang <Ruifeng.Wang@arm.com>,
	Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>,
	"ci@dpdk.org" <ci@dpdk.org>, nd <nd@arm.com>
Subject: Re: Intel QAT 8970 accel card on ARM Ampere Server
Date: Wed, 11 Oct 2023 16:13:40 -0400	[thread overview]
Message-ID: <CAJvnSUA0F2RAYhXbN40zhP61OQ+Z1fvj3i-GBK1jQNC0sFo1PA@mail.gmail.com> (raw)
In-Reply-To: <CAOb5WZZJgGbBr8r1azk5C35mxx64sfw9a6LHFhn15ZJpgnigRQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2312 bytes --]

On Wed, Oct 11, 2023 at 4:14 AM Juraj Linkeš <juraj.linkes@pantheon.tech>
wrote:

>
>
> On Tue, Oct 10, 2023 at 5:59 PM Patrick Robb <probb@iol.unh.edu> wrote:
>
>>
>>
>> On Mon, Oct 9, 2023 at 11:56 PM Dharmik Jayesh Thakkar <
>> DharmikJayesh.Thakkar@arm.com> wrote:
>>
>>> Hi Patrick,
>>>
>>>
>>>
>>> Can you provide the grub settings? Is iommu.passthrough=1 included?
>>>
>>
>> Sure. I'm not sure if you just wanted the kernel cmdline options or the
>> whole grub config, but I assume you just meant kernel cmdline. Let me know
>> if you meant more.
>>
>> GRUB_CMDLINE_LINUX_DEFAULT="default_hugepagesz=1G hugepagesz=1G
>> hugepages=32 iommu=pt intel_iommu=on isolcpus=39-79 nohz_full=39-79
>> rcu_nocbs=39-79 processor.max_cstate=1 intel_pstate=disable
>> console=ttyS0,115200 console=tty0"
>>
>> But, iommu.passthrough=1 is not included, so I can add that if we need
>> to. Do you know that this won't have any bad implications for the (intel,
>> nvidia, broadcom) NICs which we test on this server?
>>
>>
>
> Just a note here, Patrick. The iommu kernel and intel_pstate parameters
> aren't supported on arm, so you can remove those. And when
> iommu.passthrouh=1, IOMMU is bypassed and intel_iommu doesn't do anything
> (and maybe isn't supported on arm, but that's not clear from the docs
> <https://www.kernel.org/doc/Documentation/admin-guide/kernel-parameters.txt>),
> so that can be removed as well.
>

Thanks Dharmik and Juraj. Updated kernel cmdline args:
BOOT_IMAGE=/vmlinuz-5.15.82+ root=/dev/mapper/ubuntu--vg--1-ubuntu--lv ro
default_hugepagesz=1G hugepagesz=1G hugepages=32 isolcpus=39-79
nohz_full=39-79 rcu_nocbs=39-79 processor.max_cstate=1 iommu.passthrough=1
console=ttyS0,115200 console=tty0

I added the iommu.passthrough option and tried again, to no avail. FYI I am
still using the guidance here:
https://doc.dpdk.org/guides/cryptodevs/qat.html along with your added steps.

root@arm-ampere-dut:~# echo 16 >
/sys/bus/pci/drivers/c6xx/0000:03:00.0/sriov_numvfs
Segmentation fault (core dumped)

As you know the above setting of the 48 VFs is a prerequisite to binding
the VFs to vfio-pci. But, I did run through loading the custom vfio and
there were no issues, so once we clear this initial hurdle we should be
fine.

[-- Attachment #2: Type: text/html, Size: 3569 bytes --]

  reply	other threads:[~2023-10-11 20:13 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-31 17:13 Patrick Robb
2023-08-04  9:48 ` Ruifeng Wang
2023-08-08  7:07   ` Juraj Linkeš
2023-08-08  7:11     ` Ruifeng Wang
2023-08-11 21:18       ` Patrick Robb
2023-08-21  8:45         ` Juraj Linkeš
2023-08-30  0:05           ` Patrick Robb
2023-09-01 21:30           ` Patrick Robb
2023-09-11  8:13             ` Juraj Linkeš
2023-09-20 18:28               ` Patrick Robb
2023-09-25 15:19                 ` Ruifeng Wang
2023-10-09 16:34                   ` Patrick Robb
2023-10-10  2:28                     ` Patrick Robb
2023-10-10  3:55                       ` Dharmik Jayesh Thakkar
2023-10-10  7:25                         ` David Marchand
2023-10-10 15:03                           ` Dharmik Jayesh Thakkar
2023-10-10 15:12                             ` David Marchand
2023-10-10 15:59                         ` Patrick Robb
2023-10-10 21:50                           ` Dharmik Jayesh Thakkar
2023-10-11  8:14                           ` Juraj Linkeš
2023-10-11 20:13                             ` Patrick Robb [this message]
2023-11-02 22:00                               ` Patrick Robb
2023-11-14  7:34                                 ` Ruifeng Wang
2023-11-14 14:36                                   ` Patrick Robb
2024-02-27  6:58                                   ` Patrick Robb
2024-02-27 13:50                                     ` Honnappa Nagarahalli
2024-02-28 20:00                                       ` Patrick Robb
2024-02-28 20:40                                         ` Honnappa Nagarahalli
2024-03-07  5:27                                           ` Patrick Robb
2024-03-07  7:56                                             ` David Marchand
2023-10-11 11:51                           ` David Marchand

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=CAJvnSUA0F2RAYhXbN40zhP61OQ+Z1fvj3i-GBK1jQNC0sFo1PA@mail.gmail.com \
    --to=probb@iol.unh.edu \
    --cc=DharmikJayesh.Thakkar@arm.com \
    --cc=Honnappa.Nagarahalli@arm.com \
    --cc=Ruifeng.Wang@arm.com \
    --cc=ci@dpdk.org \
    --cc=david.marchand@redhat.com \
    --cc=juraj.linkes@pantheon.tech \
    --cc=nd@arm.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).