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

2025-05-27 Thread Jerin Jacob
On Wed, May 28, 2025 at 1:27 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 v2] drivers: remove __rte_used from functions for compatibility with MSVC

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