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
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") Cc: stable@dpdk.org Reported-by: David Marchand <david.marchand@redhat.com> Signed-off-by: Joshua Washington <joshwash@google.com>
- Loading branch information