RE: [EXTERNAL] [PATCH] drivers: remove __rte_used from functions for compatibility with MSVC

2025-05-27 Thread Pavan Nikhilesh Bhagavatula
nil Kumar Kori > > ; Satha Koteswara Rao Kottidi > > ; Harman Kalra > > Cc: dev@dpdk.org; Andre Muezerie > > Subject: [EXTERNAL] [PATCH] drivers: remove __rte_used from functions for > > compatibility with MSVC > > > > With gcc, the macro __rte_used translates to

RE: [EXTERNAL] [PATCH] drivers: remove __rte_used from functions for compatibility with MSVC

2025-05-26 Thread Jerin Jacob
gt; Kokkilagadda ; Sunil Kumar Kori > ; Satha Koteswara Rao Kottidi > ; Harman Kalra > Cc: dev@dpdk.org; Andre Muezerie > Subject: [EXTERNAL] [PATCH] drivers: remove __rte_used from functions for > compatibility with MSVC > > With gcc, the macro __rte_used translates to __at

[PATCH] drivers: remove __rte_used from functions for compatibility with MSVC

2025-04-03 Thread Andre Muezerie
With gcc, the macro __rte_used translates to __attribute__((used)). MSVC has something to the same effect, but harder to use and with some limitations (one being that it cannot be used with "static"). Therefore, it makes sense to avoid __rte_used in some cases. The functions modified in this patch