Re: [dpdk-dev] [PATCH] vhost: fix checking of device features

2017-07-01 Thread Yuanhan Liu
On Wed, Jun 28, 2017 at 03:40:31PM +0300, Ivan Dyukov wrote: > To compare enabled features in current device we must use bit > mask instead of bit position. > > CC: sta...@dpdk.org > Fixes: c843af3aa13e ("vhost: access header only") > > Signed-off-by: Ivan Dyukov Applied to dpdk-next-virtio. T

Re: [dpdk-dev] [PATCH] vhost: fix checking of device features

2017-06-29 Thread Tan, Jianfeng
gt; Sent: Wednesday, June 28, 2017 8:41 PM > >> To: y...@fridaylinux.org; maxime.coque...@redhat.com; dev@dpdk.org > >> Cc: i.maxim...@samsung.com; heetae82....@samsung.com; Ivan > Dyukov; > >> sta...@dpdk.org > >> Subject: [dpdk-dev] [PATCH] vhost: fix checking of d

Re: [dpdk-dev] [PATCH] vhost: fix checking of device features

2017-06-29 Thread Maxime Coquelin
On 06/29/2017 09:21 AM, Maxime Coquelin wrote: On 06/29/2017 08:07 AM, Ivan Dyukov wrote: On 06/28/2017 03:54 PM, Maxime Coquelin wrote: On 06/28/2017 02:40 PM, Ivan Dyukov wrote: To compare enabled features in current device we must use bit mask instead of bit position. CC: sta...@dpdk

Re: [dpdk-dev] [PATCH] vhost: fix checking of device features

2017-06-29 Thread Maxime Coquelin
@samsung.com; Ivan Dyukov; sta...@dpdk.org Subject: [dpdk-dev] [PATCH] vhost: fix checking of device features To compare enabled features in current device we must use bit mask instead of bit position. CC: sta...@dpdk.org Fixes: c843af3aa13e ("vhost: access header only") Signed-off-by: I

Re: [dpdk-dev] [PATCH] vhost: fix checking of device features

2017-06-29 Thread Maxime Coquelin
On 06/29/2017 08:07 AM, Ivan Dyukov wrote: On 06/28/2017 03:54 PM, Maxime Coquelin wrote: On 06/28/2017 02:40 PM, Ivan Dyukov wrote: To compare enabled features in current device we must use bit mask instead of bit position. CC: sta...@dpdk.org Fixes: c843af3aa13e ("vhost: access header on

Re: [dpdk-dev] [PATCH] vhost: fix checking of device features

2017-06-28 Thread Tan, Jianfeng
t; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH] vhost: fix checking of device features > > To compare enabled features in current device we must use bit > mask instead of bit position. > > CC: sta...@dpdk.org > Fixes: c843af3aa13e ("vhost: access header only") > >

Re: [dpdk-dev] [PATCH] vhost: fix checking of device features

2017-06-28 Thread Ivan Dyukov
On 06/28/2017 03:54 PM, Maxime Coquelin wrote: On 06/28/2017 02:40 PM, Ivan Dyukov wrote: To compare enabled features in current device we must use bit mask instead of bit position. CC: sta...@dpdk.org Fixes: c843af3aa13e ("vhost: access header only") Signed-off-by: Ivan Dyukov --- lib/li

Re: [dpdk-dev] [PATCH] vhost: fix checking of device features

2017-06-28 Thread Maxime Coquelin
On 06/28/2017 02:40 PM, Ivan Dyukov wrote: To compare enabled features in current device we must use bit mask instead of bit position. CC: sta...@dpdk.org Fixes: c843af3aa13e ("vhost: access header only") Signed-off-by: Ivan Dyukov --- lib/librte_vhost/virtio_net.c | 8 +--- 1 file ch

[dpdk-dev] [PATCH] vhost: fix checking of device features

2017-06-28 Thread Ivan Dyukov
To compare enabled features in current device we must use bit mask instead of bit position. CC: sta...@dpdk.org Fixes: c843af3aa13e ("vhost: access header only") Signed-off-by: Ivan Dyukov --- lib/librte_vhost/virtio_net.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --gi