> > Kernel driver (kdrv) seems easier to understand than > > passthrough driver (pt_driver). It's also more generic > > as a PMD could run on top of any PCI kernel driver if > > it would offer such support. > > > > Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com> > > --- > > lib/librte_eal/bsdapp/eal/eal_pci.c | 3 +-- > > lib/librte_eal/common/include/rte_pci.h | 12 ++++++------ > > lib/librte_eal/linuxapp/eal/eal_pci.c | 33 > > ++++++++++++++++----------------- > > lib/librte_ether/rte_ethdev.c | 8 ++++---- > > 4 files changed, 27 insertions(+), 29 deletions(-) > > > > This looks ok for me. > I suppose you checked it builds fine on both linux and bsd ?
Yes it builds fine in my Linux and FreeBSD 10.0. > Acked-by: David Marchand <david.marchand at 6wind.com> Applied, thanks