[PATCH v2] pcapng: allow any protocol link type for the interface block

Dylan Schneider schneide at qti.qualcomm.com
Mon Jun 30 15:50:16 CEST 2025


Hey Thomas, just wanted to confirm,  I see the ARM build passing in CI. Is there a reason it would pass there but not on your dev machine?


________________________________
From: Dylan Schneider <schneide at qti.qualcomm.com>
Sent: Friday, June 27, 2025 11:46 AM
To: Thomas Monjalon <thomas at monjalon.net>
Cc: dev at dpdk.org <dev at dpdk.org>; Reshma Pattan <reshma.pattan at intel.com>; Stephen Hemminger <stephen at networkplumber.org>; Jerin Jacob <jerinj at marvell.com>; Kiran Kumar K <kirankumark at marvell.com>; Nithin Dabilpuram <ndabilpuram at marvell.com>; Zhirun Yan <yanzhirun_163 at 163.com>
Subject: Re: [PATCH v2] pcapng: allow any protocol link type for the interface block


WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

Hey Thomas,
Thanks for the reply.
Can you tell me the build command you're using to produce those errors? I have ran the builds on my test machine and cannot reproduce these. Thanks!
Dylan
________________________________
From: Thomas Monjalon <thomas at monjalon.net>
Sent: Friday, June 27, 2025 11:39 AM
To: Dylan Schneider <schneide at qti.qualcomm.com>
Cc: dev at dpdk.org <dev at dpdk.org>; Reshma Pattan <reshma.pattan at intel.com>; Stephen Hemminger <stephen at networkplumber.org>; Jerin Jacob <jerinj at marvell.com>; Kiran Kumar K <kirankumark at marvell.com>; Nithin Dabilpuram <ndabilpuram at marvell.com>; Zhirun Yan <yanzhirun_163 at 163.com>
Subject: Re: [PATCH v2] pcapng: allow any protocol link type for the interface block

WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

09/06/2025 23:19, Schneide:
> From: Dylan Schneider <schneide at qti.qualcomm.com>
>
> Allow the user to specify protocol link type when creating pcapng files.
> This change is needed to specify the protocol type in the pcapng file,
> DLT_EN10MB specifies ethernet packets only. This will allow dissectors
> for other protocols to be used on files generated by pcapng.
>
> Includes a breaking change to rte_pcapng_add_interface to add link_type
> parameter. Existing calls to the function have been updated to pass
> DLT_EN10MB for the link type argument.
>
> Fixes: d1da6d0d04c7 ("pcapng: require per-interface information")
> Signed-off-by: Dylan Schneider <schneide at qti.qualcomm.com>
> Cc: stephen at networkplumber.org

I doesn't pass compilation test on my machine:

Error: cannot find librte_pcapng.so.25.1 in dpdk-build/build-arm64-generic-gcc/install
Error: cannot find librte_graph.so.25.1 in dpdk-build/build-arm64-generic-gcc/install
Error: cannot find librte_node.so.25.1 in dpdk-build/build-arm64-generic-gcc/install
Error: cannot find librte_pdump.so.25.1 in dpdk-build/build-arm64-generic-gcc/install



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20250630/5e8d63e7/attachment.htm>


More information about the dev mailing list