From: David Marchand <david.marchand@redhat.com>
To: Robin Jarry <rjarry@redhat.com>
Cc: dev@dpdk.org, Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>,
Stephen Hemminger <stephen@networkplumber.org>
Subject: Re: [PATCH dpdk] pmdinfogen: fix warning with python 3.14
Date: Tue, 4 Nov 2025 14:14:17 +0100 [thread overview]
Message-ID: <CAJFAV8zQDhtFM+kQjQxkOw1T+iXfBK=jQQAP279AUbt-EyHFpw@mail.gmail.com> (raw)
In-Reply-To: <20251029164616.76233-2-rjarry@redhat.com>
On Wed, 29 Oct 2025 at 17:46, Robin Jarry <rjarry@redhat.com> wrote:
>
> Fix the following warning seen on Fedora 43 with Python 3.14:
>
> buildtools/pmdinfogen.py:118: DeprecationWarning: Due to '_pack_', the
> 'rte_pci_id' Structure will use memory layout compatible with MSVC
> (Windows). If this is intended, set _layout_ to 'ms'. The implicit
> default is dep recated and slated to become an error in Python 3.19.
>
> Use the struct module which is simpler and assumes everything is packed
> by default.
>
> There is no change in the output of dpdk-pmdinfo.py before and after
> this patch.
Bugzilla ID: 1818
Cc: stable@dpdk.org
>
> Link: https://docs.python.org/3/library/struct.html
> Signed-off-by: Robin Jarry <rjarry@redhat.com>
Applied, thanks.
--
David Marchand
prev parent reply other threads:[~2025-11-04 13:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-29 16:46 Robin Jarry
2025-10-29 19:46 ` Dmitry Kozlyuk
2025-11-04 13:14 ` David Marchand [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='CAJFAV8zQDhtFM+kQjQxkOw1T+iXfBK=jQQAP279AUbt-EyHFpw@mail.gmail.com' \
--to=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=dmitry.kozliuk@gmail.com \
--cc=rjarry@redhat.com \
--cc=stephen@networkplumber.org \
/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).