[dpdk-dev] [PATCH] cast used->idx to volatile

2015-04-01 Thread Xie, Huawei
On 4/1/2015 3:51 PM, Thomas Monjalon wrote: > 2015-03-30 15:56, Xie, Huawei: >> On 3/30/2015 5:21 PM, Linhaifeng wrote: >>> On 2015/3/24 18:06, Xie, Huawei wrote: On 3/24/2015 3:44 PM, Linhaifeng wrote: > On 2015/3/24 9:53, Xie, Huawei wrote: >> On 3/24/2015 9:00 AM, Linhaifeng wrote:

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-04-01 Thread Thomas Monjalon
2015-03-30 15:56, Xie, Huawei: > On 3/30/2015 5:21 PM, Linhaifeng wrote: > > On 2015/3/24 18:06, Xie, Huawei wrote: > >> On 3/24/2015 3:44 PM, Linhaifeng wrote: > >>> On 2015/3/24 9:53, Xie, Huawei wrote: > On 3/24/2015 9:00 AM, Linhaifeng wrote: > > On 2015/3/23 20:54, Xie, Huawei wrote:

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-03-30 Thread Linhaifeng
ge- >>>>>> From: Linhaifeng [mailto:haifeng.lin at huawei.com] >>>>>> Sent: Monday, March 23, 2015 8:24 PM >>>>>> To: dev at dpdk.org >>>>>> Cc: Ouyang, Changchun; Xie, Huawei >>>>>> Subje

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-03-30 Thread Xie, Huawei
Xie, Huawei wrote: >>>>>>> -Original Message- >>>>>>> From: Linhaifeng [mailto:haifeng.lin at huawei.com] >>>>>>> Sent: Monday, March 23, 2015 8:24 PM >>>>>>> To: dev at dpdk.org >>>>>>> Cc: Ouyang,

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-03-24 Thread Linhaifeng
ge- >>>>>> From: Linhaifeng [mailto:haifeng.lin at huawei.com] >>>>>> Sent: Monday, March 23, 2015 8:24 PM >>>>>> To: dev at dpdk.org >>>>>> Cc: Ouyang, Changchun; Xie, Huawei >>>>>> Subje

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-03-24 Thread Linhaifeng
day, March 23, 2015 8:24 PM >>>> To: dev at dpdk.org >>>> Cc: Ouyang, Changchun; Xie, Huawei >>>> Subject: Re: [dpdk-dev] [PATCH] cast used->idx to volatile >>>> >>>> >>>> >>>> On 2015/3/21 16:07, l

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-03-24 Thread Xie, Huawei
huawei.com] >>>>> Sent: Monday, March 23, 2015 8:24 PM >>>>> To: dev at dpdk.org >>>>> Cc: Ouyang, Changchun; Xie, Huawei >>>>> Subject: Re: [dpdk-dev] [PATCH] cast used->idx to volatile >>>>> >>>>> &

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-03-24 Thread Linhaifeng
On 2015/3/23 20:54, Xie, Huawei wrote: > > >> -Original Message- >> From: Linhaifeng [mailto:haifeng.lin at huawei.com] >> Sent: Monday, March 23, 2015 8:24 PM >> To: dev at dpdk.org >> Cc: Ouyang, Changchun; Xie, Huawei >> Subject: Re: [dp

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-03-24 Thread Xie, Huawei
t;> Cc: Ouyang, Changchun; Xie, Huawei >>> Subject: Re: [dpdk-dev] [PATCH] cast used->idx to volatile >>> >>> >>> >>> On 2015/3/21 16:07, linhaifeng wrote: >>>> From: Linhaifeng >>>> >>>> Same as rte_vhost_enqu

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-03-23 Thread Linhaifeng
On 2015/3/21 16:07, linhaifeng wrote: > From: Linhaifeng > > Same as rte_vhost_enqueue_burst we should cast used->idx > to volatile before notify guest. > > Signed-off-by: Linhaifeng > --- > lib/librte_vhost/vhost_rxtx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-03-23 Thread Xie, Huawei
> -Original Message- > From: Linhaifeng [mailto:haifeng.lin at huawei.com] > Sent: Monday, March 23, 2015 8:24 PM > To: dev at dpdk.org > Cc: Ouyang, Changchun; Xie, Huawei > Subject: Re: [dpdk-dev] [PATCH] cast used->idx to volatile > > > > On

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-03-23 Thread Linhaifeng
cc changchun.ouyang at intel.com cc huawei.xie at intel.com On 2015/3/21 16:07, linhaifeng wrote: > From: Linhaifeng > > Same as rte_vhost_enqueue_burst we should cast used->idx > to volatile before notify guest. > > Signed-off-by: Linhaifeng > --- > lib/librte_vhost/vhost_rxtx.c | 2 +- > 1

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-03-21 Thread linhaifeng
From: Linhaifeng Same as rte_vhost_enqueue_burst we should cast used->idx to volatile before notify guest. Signed-off-by: Linhaifeng --- lib/librte_vhost/vhost_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx