On 12/18/2015 3:03 PM, Yuanhan Liu wrote: > 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 looks to me, but s /because/that/ s /on pairs/in pairs/ ? :). > not take effect when RTE_LIBRTE_VHOST_NUMA is not enabled, > which is the default case. > > Fixes: e049ca6d10e0 ("vhost-user: prepare multiple queue setup") > > Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
Acked-by: Huawei Xie <huawei.xie at intel.com>