numam-dpdk/examples
Vladimir Medvedkin 57ddbf7edd examples/ipsec-secgw: fix session mempool initialisation
Creation of a session mempool may fail in the case of a single lcore
and a low number of SA.

In case when there is only one lcore and number of configures SA less
then (0.5 * CDEV_MP_CACHE_SZ) then creation of the mempool fails with
EINVAL. This is because the number of requested items is less than
(cache size * CDEV_MP_CACHE_MULTIPLIER).

Hence, the number of elements in mempool is increased in such cases.

Fixes: e30b2833c4 ("security: update session create API")

Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
2020-11-02 09:24:41 +01:00
..
bbdev_app examples/bbdev: switch to dynamic mbuf field 2020-10-31 16:13:11 +01:00
bond examples: enclose DPDK includes with angle brackets 2020-10-31 16:13:10 +01:00
bpf examples: remove old build system references 2020-09-07 23:51:57 +02:00
cmdline examples/cmdline: build on Windows 2020-10-15 00:39:10 +02:00
distributor eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ethtool examples: fix linking against specific drivers 2020-10-30 14:33:36 +01:00
eventdev_pipeline eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
fips_validation fips_validation: fix GCM test 2020-11-02 09:24:41 +01:00
flow_classify eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
flow_filtering examples: check stop call status 2020-10-16 22:26:41 +02:00
helloworld eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ioat eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ip_fragmentation eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ip_pipeline examples/ip_pipeline: fix external build 2020-10-29 17:32:51 +01:00
ip_reassembly eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
ipsec-secgw examples/ipsec-secgw: fix session mempool initialisation 2020-11-02 09:24:41 +01:00
ipv4_multicast eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
kni eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-cat eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-crypto eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-event eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-jobstats eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l2fwd-keepalive eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l3fwd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l3fwd-acl eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l3fwd-graph eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
l3fwd-power examples/l3fwd-power: fix race on interrupt wakeup log 2020-11-02 11:47:19 +01:00
link_status_interrupt eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
multi_process examples/multi_process: fix build on Ubuntu 20.04 2020-10-30 14:54:50 +01:00
ntb eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
packet_ordering reorder: switch sequence number to dynamic mbuf field 2020-10-31 22:14:30 +01:00
performance-thread examples/performance-thread: fix build with low core count 2020-10-30 15:45:59 +01:00
pipeline examples/pipeline: fix resource leak 2020-10-29 17:32:51 +01:00
ptpclient eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
qos_meter eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
qos_sched eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
rxtx_callbacks examples/rxtx_callbacks: switch timestamp to dynamic field 2020-11-03 16:21:15 +01:00
server_node_efd eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
service_cores examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
skeleton eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
timer eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
vdpa examples: remove legacy sections of makefiles 2020-09-07 16:53:41 +02:00
vhost eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
vhost_blk examples/vhost_blk: check driver start failure 2020-09-30 23:16:55 +02:00
vhost_crypto build: replace use of old build macros 2020-10-19 22:15:44 +02:00
vm_power_manager examples/vm_power: fix build on Ubuntu 20.04 2020-10-30 14:54:23 +01:00
vmdq eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
vmdq_dcb eal: rename lcore master and slave 2020-10-20 13:17:08 +02:00
meson.build examples/tep_term: remove this application 2020-10-29 12:37:51 +01:00