[dpdk-dev] [PATCH v2 2/3] vhost: simplify numa_realloc
Xie, Huawei
huawei.xie at intel.com
Tue Dec 22 15:40:08 CET 2015
On 12/22/2015 3:27 PM, Yuanhan Liu wrote:
> 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 at linux.intel.com>
Acked-by: Huawei Xie <huawei.xie at intel.com>
[...]
More information about the dev
mailing list