* [dpdk-stable] [PATCH] app/proc-info: fix compilation with no security [not found] <20191018075613.2784-1-hemant.agrawal@nxp.com> @ 2019-10-18 7:56 ` Hemant Agrawal 2019-10-18 8:09 ` Thierry Herbelot 0 siblings, 1 reply; 4+ messages in thread From: Hemant Agrawal @ 2019-10-18 7:56 UTC (permalink / raw) To: dev; +Cc: akhil.goyal, thierry.herbelot, stable, vipin.varghese, Hemant Agrawal This patch fixes the compilation issues when RTE_LIBRTE_SECURITY is disabled. Fixes: 8a37f37fc243 ("app/procinfo: add --show-port") Cc: stable@dpdk.org Cc: vipin.varghese@intel.com Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- app/proc-info/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/proc-info/main.c b/app/proc-info/main.c index a3f854b89..8cf501d06 100644 --- a/app/proc-info/main.c +++ b/app/proc-info/main.c @@ -30,7 +30,9 @@ #include <rte_string_fns.h> #include <rte_metrics.h> #include <rte_cycles.h> +#ifdef RTE_LIBRTE_SECURITY #include <rte_security.h> +#endif #include <rte_cryptodev.h> #include <rte_tm.h> #include <rte_hexdump.h> @@ -733,6 +735,7 @@ show_port(void) } printf(" - cyrpto context\n"); +#ifdef RTE_LIBRTE_SECURITY void *p_ctx = rte_eth_dev_get_sec_ctx(i); printf("\t -- security context - %p\n", p_ctx); @@ -751,6 +754,7 @@ show_port(void) s_cap->crypto_capabilities->op); } } +#endif } STATS_BDR_STR(50, ""); -- 2.17.1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-stable] [PATCH] app/proc-info: fix compilation with no security 2019-10-18 7:56 ` [dpdk-stable] [PATCH] app/proc-info: fix compilation with no security Hemant Agrawal @ 2019-10-18 8:09 ` Thierry Herbelot 2019-10-23 14:46 ` Akhil Goyal 2019-10-23 14:48 ` Akhil Goyal 0 siblings, 2 replies; 4+ messages in thread From: Thierry Herbelot @ 2019-10-18 8:09 UTC (permalink / raw) To: Hemant Agrawal, dev; +Cc: akhil.goyal, stable, vipin.varghese On 10/18/19 9:56 AM, Hemant Agrawal wrote: > This patch fixes the compilation issues when > RTE_LIBRTE_SECURITY is disabled. > > Fixes: 8a37f37fc243 ("app/procinfo: add --show-port") > Cc: stable@dpdk.org > Cc: vipin.varghese@intel.com > > Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> > --- > app/proc-info/main.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/app/proc-info/main.c b/app/proc-info/main.c > index a3f854b89..8cf501d06 100644 > --- a/app/proc-info/main.c > +++ b/app/proc-info/main.c > @@ -30,7 +30,9 @@ > #include <rte_string_fns.h> > #include <rte_metrics.h> > #include <rte_cycles.h> > +#ifdef RTE_LIBRTE_SECURITY > #include <rte_security.h> > +#endif > #include <rte_cryptodev.h> > #include <rte_tm.h> > #include <rte_hexdump.h> > @@ -733,6 +735,7 @@ show_port(void) > } > > printf(" - cyrpto context\n"); > +#ifdef RTE_LIBRTE_SECURITY > void *p_ctx = rte_eth_dev_get_sec_ctx(i); > printf("\t -- security context - %p\n", p_ctx); > > @@ -751,6 +754,7 @@ show_port(void) > s_cap->crypto_capabilities->op); > } > } > +#endif > } > > STATS_BDR_STR(50, ""); > Acked-by: Thierry Herbelot <thierry.herbelot@6wind.com> -- Thierry Herbelot 6WIND Senior Software Engineer ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-stable] [PATCH] app/proc-info: fix compilation with no security 2019-10-18 8:09 ` Thierry Herbelot @ 2019-10-23 14:46 ` Akhil Goyal 2019-10-23 14:48 ` Akhil Goyal 1 sibling, 0 replies; 4+ messages in thread From: Akhil Goyal @ 2019-10-23 14:46 UTC (permalink / raw) To: Thierry Herbelot, Hemant Agrawal, dev; +Cc: stable, vipin.varghese > On 10/18/19 9:56 AM, Hemant Agrawal wrote: > > This patch fixes the compilation issues when > > RTE_LIBRTE_SECURITY is disabled. > > > > Fixes: 8a37f37fc243 ("app/procinfo: add --show-port") > > Cc: stable@dpdk.org > > Cc: vipin.varghese@intel.com > > > > Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> > > --- > > Acked-by: Thierry Herbelot <thierry.herbelot@6wind.com> > Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Applied to dpdk-next-crypto Thanks. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-stable] [PATCH] app/proc-info: fix compilation with no security 2019-10-18 8:09 ` Thierry Herbelot 2019-10-23 14:46 ` Akhil Goyal @ 2019-10-23 14:48 ` Akhil Goyal 1 sibling, 0 replies; 4+ messages in thread From: Akhil Goyal @ 2019-10-23 14:48 UTC (permalink / raw) To: Thierry Herbelot, Hemant Agrawal, dev; +Cc: stable, vipin.varghese > On 10/18/19 9:56 AM, Hemant Agrawal wrote: > > This patch fixes the compilation issues when > > RTE_LIBRTE_SECURITY is disabled. > > > > Fixes: 8a37f37fc243 ("app/procinfo: add --show-port") > > Cc: stable@dpdk.org > > Cc: vipin.varghese@intel.com > > > > Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> > > --- > > Acked-by: Thierry Herbelot <thierry.herbelot@6wind.com> > Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Applied to dpdk-next-crypto Thanks. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-10-23 14:48 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20191018075613.2784-1-hemant.agrawal@nxp.com> 2019-10-18 7:56 ` [dpdk-stable] [PATCH] app/proc-info: fix compilation with no security Hemant Agrawal 2019-10-18 8:09 ` Thierry Herbelot 2019-10-23 14:46 ` Akhil Goyal 2019-10-23 14:48 ` Akhil Goyal
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).