Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/gve/base: fix build with Fedora Rawhide
[ upstream commit f0d9e78 ] Currently, a number of integer types are typedef'd to their corresponding userspace 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. Note: this was reported by OBS CI on 2024/10/17, when compiling DPDK in Fedora Rawhide. Fixes: c9ba2ca ("net/gve/base: add OS-specific implementation") Fixes: abf1242 ("net/gve: add struct members and typedefs for DQO") Reported-by: David Marchand <[email protected]> Signed-off-by: Joshua Washington <[email protected]>
- Loading branch information