numam-dpdk/examples
Olivier Matz c0280d5d8a mempool: return 0 if area is too small on populate
Change rte_mempool_populate_iova() and rte_mempool_populate_virt() to
return 0 instead of -EINVAL when there is not enough room to store one
object, as it can be helpful for applications to distinguish this
specific case.

As this is an ABI change, use symbol versioning to preserve old
behavior for binary applications.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
2020-05-05 00:27:05 +02:00
..
bbdev_app examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
bond replace unused attributes 2020-04-16 18:30:58 +02:00
bpf examples/bpf: remove from list of examples to build 2019-10-27 17:23:05 +01:00
cmdline ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
distributor ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ethtool ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
eventdev_pipeline ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
fips_validation replace unused attributes 2020-04-16 18:30:58 +02:00
flow_classify replace no-return attributes 2020-04-16 18:30:58 +02:00
flow_filtering ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
helloworld ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ioat ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ip_fragmentation ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ip_pipeline replace packed attributes 2020-04-16 18:16:46 +02:00
ip_reassembly ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ipsec-secgw examples/ipsec-secgw: check event adapter errors 2020-04-19 17:15:14 +02:00
ipv4_multicast ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
kni examples/kni: add SIGTERM signal handling 2020-02-13 18:27:44 +01:00
l2fwd replace unused attributes 2020-04-16 18:30:58 +02:00
l2fwd-cat ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l2fwd-crypto examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
l2fwd-event ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l2fwd-jobstats ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l2fwd-keepalive ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l3fwd ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l3fwd-acl ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
l3fwd-power examples/l3fwd-power: implement proper shutdown 2020-04-26 23:51:23 +02:00
link_status_interrupt ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
multi_process ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ntb mempool: return 0 if area is too small on populate 2020-05-05 00:27:05 +02:00
packet_ordering ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
performance-thread ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
ptpclient ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
qos_meter ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
qos_sched ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
rxtx_callbacks replace no-return attributes 2020-04-16 18:30:58 +02:00
server_node_efd ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
service_cores ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
skeleton ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
tep_termination examples/tep_term: remove redundant info get 2020-02-21 11:14:35 +01:00
timer ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
vdpa vhost: prefix vDPA enum value for PCI address type 2020-04-21 13:57:07 +02:00
vhost examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
vhost_blk examples/vhost_blk: use common macro for minimum 2020-04-21 13:57:07 +02:00
vhost_crypto examples: hide error for missing pkg-config path flag 2019-11-20 22:48:32 +01:00
vm_power_manager ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
vmdq examples/vmdq: fix RSS configuration 2020-04-21 13:57:06 +02:00
vmdq_dcb ethdev: add tracepoints 2020-04-23 15:40:06 +02:00
Makefile examples/vhost_blk: introduce vhost storage sample 2019-11-11 14:23:02 +01:00
meson.build examples/vhost_blk: introduce vhost storage sample 2019-11-11 14:23:02 +01:00