numam-dpdk/lib
Yuanhan Liu 1d41d77cf8 vhost: optimize dequeue for small packets
A virtio driver normally uses at least 2 desc buffers for Tx: the
first for storing the header, and the others for storing the data.

Therefore, we could fetch the first data desc buf before the main
loop, and do the copy first before the check of "are we done yet?".
This could save one check for small packets that just have one data
desc buffer and need one mbuf to store it.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
Tested-by: Rich Lane <rich.lane@bigswitch.com>
2016-06-22 09:47:12 +02:00
..
librte_acl mk: fix cross-compilation 2016-06-07 10:02:39 +02:00
librte_cfgfile cfgfile: fix uninitialized variable on load error 2016-05-02 15:15:46 +02:00
librte_cmdline cmdline: check initialization error 2016-05-19 14:40:12 +02:00
librte_compat compat: remove unneeded macro 2015-06-29 16:41:23 +02:00
librte_cryptodev crypto/kasumi: add driver for KASUMI library 2016-06-20 22:25:32 +02:00
librte_distributor distributor: remove inclusion of mbuf header 2015-05-11 15:36:37 +02:00
librte_eal kni: fix build with gcc 6 2016-06-21 17:50:22 +02:00
librte_ether ethdev: get port by name 2016-06-16 23:38:52 +02:00
librte_hash hash: remove aliases for bulk lookup 2016-04-20 13:49:36 +02:00
librte_ip_frag mk: fix missing internal dependencies 2016-06-13 16:17:56 +02:00
librte_ivshmem eal: remove useless includes of mempool and ring 2016-06-10 15:09:04 +02:00
librte_jobstats jobstats: add abort function 2016-02-29 11:22:53 +01:00
librte_kni kni: describe mempool capacity requirement 2016-06-14 17:15:01 +02:00
librte_kvargs remove unneeded tests for NULL when freeing 2016-01-27 15:34:48 +01:00
librte_lpm lpm6: fix possible garbage in lookup 2016-05-02 15:15:45 +02:00
librte_mbuf mbuf: add new Rx flags for stripped VLAN 2016-06-15 17:18:57 +02:00
librte_mempool mempool: fix local cache initialization 2016-06-15 15:58:34 +02:00
librte_meter mk: fix missing libm dependencies 2016-03-22 20:42:47 +01:00
librte_net net: fix build with gcc 4.4.7 and strict aliasing 2015-11-25 22:11:37 +01:00
librte_pdump pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00
librte_pipeline mk: fix missing internal dependencies 2016-06-13 16:17:56 +02:00
librte_port port: support KNI 2016-06-21 18:05:45 +02:00
librte_power power: fix error messages 2016-05-16 14:17:41 +02:00
librte_reorder reorder: allow random number as starting point 2015-06-22 22:20:12 +02:00
librte_ring mem: avoid memzone/mempool/ring name truncation 2016-05-19 14:40:14 +02:00
librte_sched sched: fix build without red 2016-06-14 17:24:15 +02:00
librte_table table: fix next hop table entry type 2016-06-21 22:41:40 +02:00
librte_timer timer: fix race condition 2015-08-03 12:43:01 +02:00
librte_vhost vhost: optimize dequeue for small packets 2016-06-22 09:47:12 +02:00
Makefile pdump: add new library for packet capture 2016-06-16 23:39:56 +02:00