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

2025-05-28 Thread Jerin Jacob
On Thu, May 29, 2025 at 5:42 AM Andre Muezerie wrote: > > 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 avoi

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

2025-05-28 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