numam-dpdk/lib
Yuanhan Liu 78ffdaff06 vhost: simplify numa reallocation
We could first check if we need realloc vq or not, if so,
reallocate it. We then do similar to vhost dev realloc.

This could get rid of the tons of repeated "if (realloc_dev)"
and "if (realloc_vq)" statements, therefore, makes code
a bit more readable.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
2016-03-11 16:49:17 +01:00
..
librte_acl remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
librte_cfgfile cfgfile: support looking up sections by index 2016-02-29 11:28:31 +01:00
librte_cmdline cmdline: bump library version 2016-03-09 16:13:14 +01:00
librte_compat
librte_cryptodev cryptodev: add capabilities discovery 2016-03-11 10:43:09 +01:00
librte_distributor
librte_eal pci: ignore devices already managed in Linux when mapping x86 ioport 2016-03-10 00:36:51 +01:00
librte_ether ethdev: bump library version 2016-03-09 16:13:09 +01:00
librte_hash hash: fix CRC32c computation 2016-03-01 14:37:26 +01:00
librte_ip_frag remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
librte_ivshmem
librte_jobstats jobstats: add abort function 2016-02-29 11:22:53 +01:00
librte_kni lib: remove keyword extern for functions 2016-01-28 18:40:46 +01:00
librte_kvargs remove unneeded tests for NULL when freeing 2016-01-27 15:34:48 +01:00
librte_lpm lpm/arm: support NEON 2016-03-11 15:56:07 +01:00
librte_mbuf mbuf_offload: remove library 2016-03-10 21:08:28 +01:00
librte_mempool mempool: fix leak when creation fails 2016-02-19 16:17:45 +01:00
librte_meter
librte_net
librte_pipeline pipeline: add new functions for action handlers 2016-03-10 01:29:42 +01:00
librte_port port: fix crash for ring writer nodrop 2016-03-07 11:52:39 +01:00
librte_power config: remove useless explicit includes of generated header 2016-02-10 22:43:38 +01:00
librte_reorder
librte_ring remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
librte_sched bitmap: optimize for 128-bytes cache line 2016-02-11 12:45:35 +01:00
librte_table lpm: add a new config structure for IPv4 2016-03-09 23:05:05 +01:00
librte_timer
librte_vhost vhost: simplify numa reallocation 2016-03-11 16:49:17 +01:00
Makefile mbuf_offload: remove library 2016-03-10 21:08:28 +01:00