Message ID | 20210223061307.22765-1-hemant.agrawal@nxp.com (mailing list archive) |
---|---|
State | New |
Delegated to: | akhil goyal |
Headers | show |
Series | l2fwd-crypto: align private data size to cache size | expand |
Context | Check | Description |
---|---|---|
ci/iol-testing | fail | Testing issues |
ci/iol-mellanox-Functional | fail | Functional Testing issues |
ci/iol-intel-Performance | success | Performance Testing PASS |
ci/iol-mellanox-Performance | success | Performance Testing PASS |
ci/intel-Testing | success | Testing PASS |
ci/Intel-compilation | success | Compilation OK |
ci/iol-intel-Functional | success | Functional Testing PASS |
ci/iol-broadcom-Functional | success | Functional Testing PASS |
ci/iol-broadcom-Performance | success | Performance Testing PASS |
ci/checkpatch | success | coding style OK |
diff --git a/app/proc-info/main.c b/app/proc-info/main.c index b9587f7de..2ca685f86 100644 --- a/app/proc-info/main.c +++ b/app/proc-info/main.c @@ -1406,7 +1406,7 @@ main(int argc, char **argv) /* If no port mask was specified, then show non-owned ports */ if (enabled_port_mask == 0) { RTE_ETH_FOREACH_DEV(i) - enabled_port_mask = 1ul << i; + enabled_port_mask |= 1ul << i; } for (i = 0; i < RTE_MAX_ETHPORTS; i++) { diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index 656b14036..23a398043 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -2711,7 +2711,8 @@ main(int argc, char **argv) /* create the mbuf pool */ l2fwd_pktmbuf_pool = rte_pktmbuf_pool_create("mbuf_pool", NB_MBUF, 512, - sizeof(struct rte_crypto_op), + RTE_ALIGN(sizeof(struct rte_crypto_op), + RTE_CACHE_LINE_SIZE), RTE_MBUF_DEFAULT_BUF_SIZE, rte_socket_id()); if (l2fwd_pktmbuf_pool == NULL) rte_exit(EXIT_FAILURE, "Cannot create mbuf pool\n");