[dpdk-dev] [PATCH] app/proc-info: fix security context info

2020-12-24 Thread Hemant Agrawal
We need to differentiate between crypto and ethernet security context as they belong to different devices. Fixes: d82d6ac64338 ("app/procinfo: add crypto security context info") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- app/proc-info/main.c | 13 + 1 file changed, 9 inse

Re: [dpdk-dev] [PATCH] app/proc-info: fix security context info

2021-01-15 Thread Thomas Monjalon
24/12/2020 08:51, Hemant Agrawal: > static void > -show_security_context(uint16_t portid) > +show_security_context(uint16_t portid, uint8_t inline_offload) > { > - void *p_ctx = rte_eth_dev_get_sec_ctx(portid); > + void *p_ctx; > const struct rte_security_capability *s_cap; > > +