> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > > > > #include <rte_common.h> > > -#include <rte_pci.h> > > -#include <rte_mbuf.h> > > +#include <rte_memory.h> > > + > > +struct rte_mbuf; /* we just use mbuf pointers; no need to include > > rte_mbuf.h */ > > This "struct rte_mbuf" reference is not present in dpdk-next-eventdev tree. > Are you planning to rebase to dpdk-next-eventdev?
The idea was to remove the include of the header file, as we never dereference the mbuf pointer, and hence we shouldn't include a header we don't require. The struct rte_mbuf here is just a forward declaration for the actual rte_mbuf. This allows the rte_event to contain a struct rte_mbuf* without the compiler complaining that it doesn't understand the type. The current patches apply to dpdk-next-eventdev HEAD, I don't think I understand what you're asking about rebasing.