numam-dpdk/lib
Jerin Jacob cb327a7802 mbuf: reduce pktmbuf init cycles
There is no need for initializing the complete
packet buffer with zero as the packet data area will be
overwritten by the NIC Rx HW anyway.

The testpmd configures the packet mempool
with around 180k buffers with
2176B size. In existing scheme, the init routine
needs to memset around ~370MB vs the proposed scheme
requires only around ~22MB on 128B cache aligned system.

Useful in running DPDK in HW simulators/emulators,
where millions of cycles have an impact on boot time.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2017-07-01 12:14:58 +02:00
..
librte_acl eal: introduce macro for always inline 2017-06-06 17:21:55 +02:00
librte_bitratestats fix typos using codespell utility 2017-06-14 23:54:13 +02:00
librte_cfgfile cfgfile: support empty value 2017-04-04 16:32:06 +02:00
librte_cmdline lib: add switch fall-through comments 2017-05-05 18:36:55 +02:00
librte_compat fix typos using codespell utility 2017-06-14 23:54:13 +02:00
librte_cryptodev cryptodev: fix device stop function 2017-06-28 19:59:22 +02:00
librte_distributor distributor: fix crash in flush 2017-04-21 01:03:35 +02:00
librte_eal mem: balanced allocation of hugepages 2017-06-30 17:54:32 +02:00
librte_efd efd: fix missing include in exported header 2017-05-01 00:13:15 +02:00
librte_ether ethdev: add missing symbol in map 2017-06-26 23:59:21 +02:00
librte_eventdev eventdev: define default value for dequeue timeout 2017-06-21 15:33:23 +02:00
librte_hash fix typos using codespell utility 2017-06-14 23:54:13 +02:00
librte_ip_frag ip_frag: handle MTU sizes not aligned to 8 bytes 2017-06-22 17:59:05 +02:00
librte_jobstats mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_kni fix typos using codespell utility 2017-06-14 23:54:13 +02:00
librte_kvargs mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_latencystats latency: fix missing includes in exported header 2017-05-01 00:13:15 +02:00
librte_lpm lpm: fix index of tbl8 2017-06-19 23:30:01 +02:00
librte_mbuf mbuf: reduce pktmbuf init cycles 2017-07-01 12:14:58 +02:00
librte_mempool eal: introduce macro for always inline 2017-06-06 17:21:55 +02:00
librte_meter mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_metrics metrics: fix out of bound access 2017-06-05 15:30:27 +02:00
librte_net eal: introduce macro for always inline 2017-06-06 17:21:55 +02:00
librte_pdump pdump: remove unnecessary header include 2017-06-14 23:45:51 +02:00
librte_pipeline mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_port eal: introduce macro for always inline 2017-06-06 17:21:55 +02:00
librte_power mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_reorder fix typos using codespell utility 2017-06-14 23:54:13 +02:00
librte_ring ring: fix return value for dequeue 2017-06-23 14:45:28 +02:00
librte_sched mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_table table: fix stats update 2017-04-21 01:29:21 +02:00
librte_timer fix typos using codespell utility 2017-06-14 23:54:13 +02:00
librte_vhost vhost: log error for badly negotiated features 2017-06-16 14:04:25 +02:00
Makefile net: add CRC computation API 2017-04-05 23:03:23 +02:00