Re: [dpdk-dev] [PATCH] mem: fix handling return value

2018-04-27 Thread Thomas Monjalon
26/04/2018 10:10, Burakov, Anatoly: > On 26-Apr-18 9:06 AM, Jianfeng Tan wrote: > > resize_hugefile() returns either 0 (which indicates success) or -1 > > (which indicates failure). We failed to check the success as we > > use --single-file-segments option. > > > > Fixes: 2a04139f66b4 ("eal: add s

Re: [dpdk-dev] [PATCH] mem: fix handling return value

2018-04-26 Thread Burakov, Anatoly
On 26-Apr-18 9:06 AM, Jianfeng Tan wrote: resize_hugefile() returns either 0 (which indicates success) or -1 (which indicates failure). We failed to check the success as we use --single-file-segments option. Fixes: 2a04139f66b4 ("eal: add single file segments option") Cc: Anatoly Burakov Sign

[dpdk-dev] [PATCH] mem: fix handling return value

2018-04-26 Thread Jianfeng Tan
resize_hugefile() returns either 0 (which indicates success) or -1 (which indicates failure). We failed to check the success as we use --single-file-segments option. Fixes: 2a04139f66b4 ("eal: add single file segments option") Cc: Anatoly Burakov Signed-off-by: Jianfeng Tan --- lib/librte_eal