Re: [PATCH] net/gve: replace typedefs with macros in gve osdep

2024-10-18 Thread David Marchand
Hello Joshua, On Fri, Oct 18, 2024 at 1:42 AM Joshua Washington wrote: > > Currently, a number of integer types are typedef'd to their > corresponding upserspace or RTE values. This can be problematic if these > types are already defined somewhere else, as it would cause type > collisions. This p

Re: [PATCH] net/gve: replace typedefs with macros in gve osdep

2024-10-17 Thread Ferruh Yigit
On 10/18/2024 12:42 AM, Joshua Washington wrote: > Currently, a number of integer types are typedef'd to their > corresponding upserspace or RTE values. This can be problematic if these > types are already defined somewhere else, as it would cause type > collisions. This patch changes the typedefs

[PATCH] net/gve: replace typedefs with macros in gve osdep

2024-10-17 Thread Joshua Washington
Currently, a number of integer types are typedef'd to their corresponding upserspace or RTE values. This can be problematic if these types are already defined somewhere else, as it would cause type collisions. This patch changes the typedefs to #define macros which are only defined if the types are