[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-09 Thread Xie, Huawei
On 12/2/2015 10:09 PM, Victor Kaplansky wrote: > On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: >> Invoking vhost_log_write() to mark corresponding page as dirty while >> updating used vring. > Looks good, thanks! > > I didn't find where you log the dirty pages in result of data > wri

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-03 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 06:26:37PM +0200, Michael S. Tsirkin wrote: > On Wed, Dec 02, 2015 at 05:58:24PM +0200, Victor Kaplansky wrote: > > On Wed, Dec 02, 2015 at 10:38:02PM +0800, Yuanhan Liu wrote: > > > On Wed, Dec 02, 2015 at 04:07:02PM +0200, Victor Kaplansky wrote: > > > > On Wed, Dec 02, 20

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Yuanhan Liu
On Wed, Dec 02, 2015 at 04:07:02PM +0200, Victor Kaplansky wrote: > On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: > > Invoking vhost_log_write() to mark corresponding page as dirty while > > updating used vring. > > Looks good, thanks! > > I didn't find where you log the dirty page

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Michael S. Tsirkin
On Wed, Dec 02, 2015 at 05:58:24PM +0200, Victor Kaplansky wrote: > On Wed, Dec 02, 2015 at 10:38:02PM +0800, Yuanhan Liu wrote: > > On Wed, Dec 02, 2015 at 04:07:02PM +0200, Victor Kaplansky wrote: > > > On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: > > > > Invoking vhost_log_write(

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Victor Kaplansky
On Wed, Dec 02, 2015 at 10:38:02PM +0800, Yuanhan Liu wrote: > On Wed, Dec 02, 2015 at 04:07:02PM +0200, Victor Kaplansky wrote: > > On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: > > > Invoking vhost_log_write() to mark corresponding page as dirty while > > > updating used vring. > >

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Victor Kaplansky
On Wed, Dec 02, 2015 at 11:43:12AM +0800, Yuanhan Liu wrote: > Invoking vhost_log_write() to mark corresponding page as dirty while > updating used vring. Looks good, thanks! I didn't find where you log the dirty pages in result of data written to the buffers pointed by the descriptors in RX vrin

[dpdk-dev] [PATCH 3/4] vhost: log vring changes

2015-12-02 Thread Yuanhan Liu
Invoking vhost_log_write() to mark corresponding page as dirty while updating used vring. Signed-off-by: Yuanhan Liu --- lib/librte_vhost/vhost_rxtx.c | 74 +-- 1 file changed, 50 insertions(+), 24 deletions(-) diff --git a/lib/librte_vhost/vhost_rxtx.c b