Re: [dpdk-dev] [PATCH] net/mlx5: remmap UAR address for multiple process

2018-01-23 Thread Xueming(Steven) Li
> -Original Message- > From: Nélio Laranjeiro [mailto:nelio.laranje...@6wind.com] > Sent: Tuesday, January 23, 2018 9:31 PM > To: Xueming(Steven) Li > Cc: Shahaf Shuler ; dev@dpdk.org > Subject: Re: [PATCH] net/mlx5: remmap UAR address for multiple process > > Hi Xueming, > > My lonely

Re: [dpdk-dev] [PATCH] net/mlx5: remmap UAR address for multiple process

2018-01-23 Thread Nélio Laranjeiro
Hi Xueming, My lonely comments are more related to the commit log which should be re-written to be more accurate to the issue you try to address, even if this patch does not solves it. Please see below, On Tue, Jan 23, 2018 at 09:50:42AM +, Xueming(Steven) Li wrote: > Hi Nelio, > > > -O

Re: [dpdk-dev] [PATCH] net/mlx5: remmap UAR address for multiple process

2018-01-23 Thread Xueming(Steven) Li
Hi Nelio, > -Original Message- > From: Nélio Laranjeiro [mailto:nelio.laranje...@6wind.com] > Sent: Monday, January 22, 2018 10:53 PM > To: Xueming(Steven) Li > Cc: Shahaf Shuler ; dev@dpdk.org > Subject: Re: [PATCH] net/mlx5: remmap UAR address for multiple process > > Hi Xueming, > >

Re: [dpdk-dev] [PATCH] net/mlx5: remmap UAR address for multiple process

2018-01-22 Thread Nélio Laranjeiro
Hi Xueming, On Fri, Jan 19, 2018 at 11:08:54PM +0800, Xueming Li wrote: > UAR(doorbell) is hw resources that have to be same address between > primary and secondary process, failed to mmap UAR will make TX packets > invisible to HW. > Today, UAR address returned from verbs api is mixed in heap and

[dpdk-dev] [PATCH] net/mlx5: remmap UAR address for multiple process

2018-01-19 Thread Xueming Li
UAR(doorbell) is hw resources that have to be same address between primary and secondary process, failed to mmap UAR will make TX packets invisible to HW. Today, UAR address returned from verbs api is mixed in heap and loaded library address space, prone to be occupied in secondary process. This pa