On Wed, 29 Oct 2025 at 17:46, Robin Jarry <[email protected]> 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: [email protected]

>
> Link: https://docs.python.org/3/library/struct.html
> Signed-off-by: Robin Jarry <[email protected]>

Applied, thanks.


-- 
David Marchand

Reply via email to