From: Thomas Monjalon <thomas@monjalon.net>
To: Leonid Bloch <lb.workbox@gmail.com>
Cc: dev@dpdk.org, ferruh.yigit@amd.com
Subject: Re: [PATCH dpdk-kmods] linux/igb_uio: Adjust functions to the current kernel API
Date: Sun, 05 Feb 2023 18:36:24 +0100 [thread overview]
Message-ID: <1886759.taCxCBeP46@thomas> (raw)
In-Reply-To: <20221020130044.17710-1-lb.workbox@gmail.com>
20/10/2022 15:00, Leonid Bloch:
> After commit 7968778914e53788a01c2dee2692cab157de9ac0 in the upstream
> kernel (v5.18+) The functions pci_set_dma_mask() and
> pci_set_consistent_dma_mask() are deprecated. Replacing them with the
> new substitute (to avoid a compilation error).
>
> Signed-off-by: Leonid Bloch <lb.workbox@gmail.com>
> ---
> - err = pci_set_dma_mask(dev, DMA_BIT_MASK(64));
> + err = dma_set_mask(&dev->dev, DMA_BIT_MASK(64));
[...]
> - err = pci_set_consistent_dma_mask(dev, DMA_BIT_MASK(64));
> + err = dma_set_coherent_mask(&dev->dev, DMA_BIT_MASK(64));
The patch from Ferruh is simplifying the code:
https://patches.dpdk.org/project/dpdk/patch/20221216115732.3552650-1-ferruh.yigit@amd.com/
prev parent reply other threads:[~2023-02-05 17:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-20 13:00 Leonid Bloch
2023-02-05 17:36 ` Thomas Monjalon [this message]
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=1886759.taCxCBeP46@thomas \
--to=thomas@monjalon.net \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@amd.com \
--cc=lb.workbox@gmail.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).