[PATCH dpdk] pmdinfogen: fix warning with python 3.14
David Marchand
david.marchand at redhat.com
Tue Nov 4 14:14:17 CET 2025
On Wed, 29 Oct 2025 at 17:46, Robin Jarry <rjarry at 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 at dpdk.org
>
> Link: https://docs.python.org/3/library/struct.html
> Signed-off-by: Robin Jarry <rjarry at redhat.com>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list