Re: [dpdk-dev] [PATCH v3] lib/librte_eal/linuxapp: fix runtime config mmap issue

2019-10-24 Thread Burakov, Anatoly
On 24-Oct-19 1:22 PM, Burakov, Anatoly wrote: On 24-Oct-19 12:23 PM, David Marchand wrote: On Thu, Oct 24, 2019 at 1:14 PM Burakov, Anatoly wrote: On 24-Oct-19 8:37 AM, David Marchand wrote: On Wed, Oct 23, 2019 at 7:47 PM Burakov, Anatoly wrote: On 23-Oct-19 11:42 AM, Li Han wrote: In r

Re: [dpdk-dev] [PATCH v3] lib/librte_eal/linuxapp: fix runtime config mmap issue

2019-10-24 Thread Burakov, Anatoly
On 24-Oct-19 12:13 PM, Burakov, Anatoly wrote: On 23-Oct-19 11:42 AM, Li Han wrote: In rte_eal_config_reattach(),the secondary mmap may fail due to the rte_mem_cfg_addr already be used by others.do the change just as the rte_fbarray_init() do.if no base_virtaddr,use the default 0x1. v2/

Re: [dpdk-dev] [PATCH v3] lib/librte_eal/linuxapp: fix runtime config mmap issue

2019-10-24 Thread Burakov, Anatoly
On 24-Oct-19 12:23 PM, David Marchand wrote: On Thu, Oct 24, 2019 at 1:14 PM Burakov, Anatoly wrote: On 24-Oct-19 8:37 AM, David Marchand wrote: On Wed, Oct 23, 2019 at 7:47 PM Burakov, Anatoly wrote: On 23-Oct-19 11:42 AM, Li Han wrote: In rte_eal_config_reattach(),the secondary mmap may

Re: [dpdk-dev] [PATCH v3] lib/librte_eal/linuxapp: fix runtime config mmap issue

2019-10-24 Thread David Marchand
On Thu, Oct 24, 2019 at 1:14 PM Burakov, Anatoly wrote: > > On 24-Oct-19 8:37 AM, David Marchand wrote: > > On Wed, Oct 23, 2019 at 7:47 PM Burakov, Anatoly > > wrote: > >> > >> On 23-Oct-19 11:42 AM, Li Han wrote: > >>> In rte_eal_config_reattach(),the secondary mmap may fail > >>> due to the rt

Re: [dpdk-dev] [PATCH v3] lib/librte_eal/linuxapp: fix runtime config mmap issue

2019-10-24 Thread Burakov, Anatoly
On 24-Oct-19 8:37 AM, David Marchand wrote: On Wed, Oct 23, 2019 at 7:47 PM Burakov, Anatoly wrote: On 23-Oct-19 11:42 AM, Li Han wrote: In rte_eal_config_reattach(),the secondary mmap may fail due to the rte_mem_cfg_addr already be used by others.do the change just as the rte_fbarray_init()

Re: [dpdk-dev] [PATCH v3] lib/librte_eal/linuxapp: fix runtime config mmap issue

2019-10-24 Thread Burakov, Anatoly
On 23-Oct-19 11:42 AM, Li Han wrote: In rte_eal_config_reattach(),the secondary mmap may fail due to the rte_mem_cfg_addr already be used by others.do the change just as the rte_fbarray_init() do.if no base_virtaddr,use the default 0x1. v2/v3: -fix code style issues Signed-off-by: Li Ha

Re: [dpdk-dev] [PATCH v3] lib/librte_eal/linuxapp: fix runtime config mmap issue

2019-10-24 Thread David Marchand
On Wed, Oct 23, 2019 at 7:47 PM Burakov, Anatoly wrote: > > On 23-Oct-19 11:42 AM, Li Han wrote: > > In rte_eal_config_reattach(),the secondary mmap may fail > > due to the rte_mem_cfg_addr already be used by others.do > > the change just as the rte_fbarray_init() do.if no > > base_virtaddr,use th

Re: [dpdk-dev] [PATCH v3] lib/librte_eal/linuxapp: fix runtime config mmap issue

2019-10-23 Thread Burakov, Anatoly
On 23-Oct-19 11:42 AM, Li Han wrote: In rte_eal_config_reattach(),the secondary mmap may fail due to the rte_mem_cfg_addr already be used by others.do the change just as the rte_fbarray_init() do.if no base_virtaddr,use the default 0x1. v2/v3: -fix code style issues Signed-off-by: Li Ha

[dpdk-dev] [PATCH v3] lib/librte_eal/linuxapp: fix runtime config mmap issue

2019-10-23 Thread Li Han
In rte_eal_config_reattach(),the secondary mmap may fail due to the rte_mem_cfg_addr already be used by others.do the change just as the rte_fbarray_init() do.if no base_virtaddr,use the default 0x1. v2/v3: -fix code style issues Signed-off-by: Li Han --- lib/librte_eal/linux/eal/eal.c