numam-dpdk/lib
Yuanhan Liu fd2fca6f6b vhost: fix queue pair reallocation
vq is allocated on pairs, hence we should do pair reallocation
at numa_realloc() as well, otherwise an error like following
occurs while do numa reallocation:

    VHOST_CONFIG: reallocate vq from 0 to 1 node
    PANIC in rte_free():
    Fatal error: Invalid memory

The reason we don't catch it is because numa_realloc() will
not take effect when RTE_LIBRTE_VHOST_NUMA is not enabled,
which is the default case.

Fixes: e049ca6d10 ("vhost-user: prepare multiple queue setup")

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Huawei Xie <huawei.xie@intel.com>
Tested-by: Ciara Loftus <ciara.loftus@intel.com>
2016-03-11 16:49:20 +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 compat: remove unneeded macro 2015-06-29 16:41:23 +02:00
librte_cryptodev cryptodev: add capabilities discovery 2016-03-11 10:43:09 +01:00
librte_distributor distributor: remove inclusion of mbuf header 2015-05-11 15:36:37 +02:00
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 mem: fix ivshmem freeing 2015-08-09 19:45:25 +02:00
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 doc: fix doxygen warnings in QoS API 2015-06-18 14:53:58 +02:00
librte_net net: fix build with gcc 4.4.7 and strict aliasing 2015-11-25 22:11:37 +01:00
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 reorder: allow random number as starting point 2015-06-22 22:20:12 +02:00
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 timer: fix race condition 2015-08-03 12:43:01 +02:00
librte_vhost vhost: fix queue pair reallocation 2016-03-11 16:49:20 +01:00
Makefile mbuf_offload: remove library 2016-03-10 21:08:28 +01:00