aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dpdk
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-05-27 00:37:49 +0200
committerFlorin Coras <florin.coras@gmail.com>2020-05-27 16:09:06 +0000
commit94f3295d3807ccadbadbc863640af4fc4c224d7f (patch)
tree6d979dd8b82edafc708cfaa14529663c9dd9a3d2 /src/plugins/dpdk
parent6183cf4fb90744675b6d4b606b90b57250c724de (diff)
dpdk: bump to DPDK v20.05
Type: improvement Change-Id: I5f89fc3d994bd85d2c5138069ea2c58661814228 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk')
-rw-r--r--src/plugins/dpdk/cryptodev/cryptodev.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/dpdk/cryptodev/cryptodev.c b/src/plugins/dpdk/cryptodev/cryptodev.c
index 39da4d7a3ca..62e21265d33 100644
--- a/src/plugins/dpdk/cryptodev/cryptodev.c
+++ b/src/plugins/dpdk/cryptodev/cryptodev.c
@@ -24,6 +24,7 @@
#include <dpdk/buffer.h>
#include <dpdk/device/dpdk.h>
#include <dpdk/device/dpdk_priv.h>
+#undef always_inline
#include <rte_bus_vdev.h>
#include <rte_cryptodev.h>
#include <rte_crypto_sym.h>
@@ -31,6 +32,12 @@
#include <rte_cryptodev_pmd.h>
#include <rte_config.h>
+#if CLIB_DEBUG > 0
+#define always_inline static inline
+#else
+#define always_inline static inline __attribute__ ((__always_inline__))
+#endif
+
#define CRYPTODEV_NB_CRYPTO_OPS 1024
#define CRYPTODEV_NB_SESSION 10240
#define CRYPTODEV_DEF_DRIVE crypto_aesni_mb