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

Ferruh Yigit ferruh.yigit at amd.com
Fri Oct 18 02:11:58 CEST 2024


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 to #define macros which are
> only defined if the types are not defined already.
> 
> Fixes: c9ba2caf6302 ("net/gve/base: add OS-specific implementation")
> Fixes: abf1242fbb84 ("net/gve: add struct members and typedefs for DQO")
> Cc: junfeng.guo at intel.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Joshua Washington <joshwash at google.com>
> Suggested-by: David Marchand <david.marchand at redhat.com>
>

Thanks Joshua, probably better to get this fix directly to main for
-rc1, in patchwork assigned it to David.



More information about the stable mailing list