Re: [dpdk-dev] [PATCH] net/ark: fix for Coverity issues

2017-05-13 Thread john miller
Hi Ferruh, Thank you for your review. I will create a new patchset for these fixes with all of the changes you requested. -John > On May 12, 2017, at 7:11 AM, Ferruh Yigit wrote: > > On 5/11/2017 12:02 PM, John Miller wrote: >> Fixes: 9c7188a68d7b ("net/ark: provide API for hardware modules p

[dpdk-dev] [PATCH 4/4] drivers/net: use the rte macro for noinline

2017-05-13 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- drivers/net/bnx2x/bnx2x.c | 6 +++--- drivers/net/dpaa2/dpaa2_rxtx.c | 2 +- drivers/net/mlx4/mlx4.c| 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c index 1a7e1c8e1..207f0e1f7 1

[dpdk-dev] [PATCH 2/4] eal: use the rte macro for always inline

2017-05-13 Thread Jerin Jacob
Replaced inline __attribute__((always_inline)) with __rte_always_inline macro Verified the change by comparing the output binary file. No difference found in the output binary file with this change. Signed-off-by: Jerin Jacob --- drivers/crypto/dpaa2_sec/hw/compat.h | 4 +- drive

[dpdk-dev] [PATCH 3/4] eal: introduce the rte macro for noinline

2017-05-13 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- lib/librte_eal/common/include/rte_common.h | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h index a9a749488..27bfbd4f8 100644 --- a/lib/librte_eal/common/include/rte_com

[dpdk-dev] [PATCH 1/4] eal: introduce the rte macro for always inline

2017-05-13 Thread Jerin Jacob
Different drivers use internal macros like force_inline for compiler always inline feature. Standardizing it through __rte_always_inline macro. Signed-off-by: Jerin Jacob --- This patch has the following false positive checkpatch warning: ERROR:COMPLEX_MACRO: Macros with complex values should be