[dpdk-dev] [PATCH v9 20/27] ethdev: register ether layer as a class

Gaëtan Rivet gaetan.rivet at 6wind.com
Thu Jul 5 11:36:38 CEST 2018


Hi Andrew,

On Wed, Jul 04, 2018 at 03:20:17PM +0300, Andrew Rybchenko wrote:
> On 07/04/2018 01:15 AM, Gaetan Rivet wrote:
> > Signed-off-by: Gaetan Rivet <gaetan.rivet at 6wind.com>
> > ---
> >   lib/librte_ethdev/Makefile        |  3 +-
> >   lib/librte_ethdev/rte_class_eth.c | 79 +++++++++++++++++++++++++++++++++++++++
> >   2 files changed, 81 insertions(+), 1 deletion(-)
> >   create mode 100644 lib/librte_ethdev/rte_class_eth.c
> > 
> > diff --git a/lib/librte_ethdev/Makefile b/lib/librte_ethdev/Makefile
> > index 2fa133fbc..d4c3a8d06 100644
> > --- a/lib/librte_ethdev/Makefile
> > +++ b/lib/librte_ethdev/Makefile
> > @@ -12,7 +12,7 @@ CFLAGS += -DALLOW_EXPERIMENTAL_API
> >   CFLAGS += -O3
> >   CFLAGS += $(WERROR_FLAGS)
> >   LDLIBS += -lrte_net -lrte_eal -lrte_mempool -lrte_ring
> > -LDLIBS += -lrte_mbuf
> > +LDLIBS += -lrte_mbuf -lrte_kvargs
> >   EXPORT_MAP := rte_ethdev_version.map
> > @@ -20,6 +20,7 @@ LIBABIVER := 9
> >   SRCS-y += eth_private.c
> >   SRCS-y += rte_ethdev.c
> > +SRCS-y += rte_class_eth.c
> >   SRCS-y += rte_flow.c
> >   SRCS-y += rte_tm.c
> >   SRCS-y += rte_mtr.c
> 
> meson.build files should be updated as well.

The meson version required by DPDK is not available in my distribution.

-- 
Gaëtan Rivet
6WIND


More information about the dev mailing list