Re: [PATCH v4 0/4] allow pmdinfo to be inserted and parsed using MSVC

2025-06-04 Thread Andre Muezerie
On Wed, Jun 04, 2025 at 02:03:56PM +0200, David Marchand wrote: > On Tue, Jun 3, 2025 at 3:01 AM Andre Muezerie > wrote: > > > > On Wed, Apr 16, 2025 at 02:44:54PM -0700, Andre Muezerie wrote: > > > DPDK uses GCC attribute "used" through macro __rte_used to indicate > > > that a variable not refer

Re: [PATCH v4 0/4] allow pmdinfo to be inserted and parsed using MSVC

2025-06-04 Thread David Marchand
On Tue, Jun 3, 2025 at 3:01 AM Andre Muezerie wrote: > > On Wed, Apr 16, 2025 at 02:44:54PM -0700, Andre Muezerie wrote: > > DPDK uses GCC attribute "used" through macro __rte_used to indicate > > that a variable not referenced in the code should be assumed being > > used and therefore not be opti

Re: [PATCH v4 0/4] allow pmdinfo to be inserted and parsed using MSVC

2025-06-02 Thread Andre Muezerie
On Wed, Apr 16, 2025 at 02:44:54PM -0700, Andre Muezerie wrote: > DPDK uses GCC attribute "used" through macro __rte_used to indicate > that a variable not referenced in the code should be assumed being > used and therefore not be optimized away. This technique is used to embed > information in the

[PATCH v4 0/4] allow pmdinfo to be inserted and parsed using MSVC

2025-04-16 Thread Andre Muezerie
DPDK uses GCC attribute "used" through macro __rte_used to indicate that a variable not referenced in the code should be assumed being used and therefore not be optimized away. This technique is used to embed information in the binaries, by having crafted information stored in them. MSVC offers si