[dpdk-dev] [PATCH v1] app/pdump: add check for PCAP PMD

Varghese, Vipin vipin.varghese at intel.com
Mon Mar 12 18:46:13 CET 2018


Hi Reshma,

I tried your suggestion, but the build fails even using warning or not using warning. The reason is DPDK build expects pdump to be build.

I am looking at other alternatives, how to get this done. In last effort, we may need to disable PDUMP to be build default from '.config' file.

Thanks
Vipin Varghese

> -----Original Message-----
> From: Pattan, Reshma
> Sent: Tuesday, March 6, 2018 5:42 PM
> To: Varghese, Vipin <vipin.varghese at intel.com>; dev at dpdk.org
> Cc: Mcnamara, John <john.mcnamara at intel.com>
> Subject: RE: [PATCH v1] app/pdump: add check for PCAP PMD
> 
> >
> > +ifeq ($(CONFIG_RTE_LIBRTE_PMD_PCAP),n) $(error "Please enable
> > +CONFIG_RTE_LIBRTE_PMD_PCAP") endif
> > +
> 
> How about combining If(($(CONFIG_RTE_LIBRTE_PMD_PCAP),y) check with
> below existing if check?
> with this, dpdk-pdump will be compiled only when both the flags are enabled.
> 
> >  ifeq ($(CONFIG_RTE_LIBRTE_PDUMP),y)
> >
> >  APP = dpdk-pdump
> > --
> > 1.9.1



More information about the dev mailing list