[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Tetsuya Mukawa
On 2016/03/14 17:21, Yuanhan Liu wrote: > On Mon, Mar 14, 2016 at 04:54:00PM +0900, Tetsuya Mukawa wrote: >> On 2016/03/14 11:08, Yuanhan Liu wrote: >>> On Mon, Mar 14, 2016 at 10:54:14AM +0900, Tetsuya Mukawa wrote: On 2016/03/11 16:19, Yuanhan Liu wrote: > On Thu, Mar 10, 2016 at 04:06:0

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Tetsuya Mukawa
On 2016/03/14 11:08, Yuanhan Liu wrote: > On Mon, Mar 14, 2016 at 10:54:14AM +0900, Tetsuya Mukawa wrote: >> On 2016/03/11 16:19, Yuanhan Liu wrote: >>> On Thu, Mar 10, 2016 at 04:06:05PM +0900, Tetsuya Mukawa wrote: Currently, default values of kickfd and callfd are -1. If the values are

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Yuanhan Liu
On Mon, Mar 14, 2016 at 04:54:00PM +0900, Tetsuya Mukawa wrote: > On 2016/03/14 11:08, Yuanhan Liu wrote: > > On Mon, Mar 14, 2016 at 10:54:14AM +0900, Tetsuya Mukawa wrote: > >> On 2016/03/11 16:19, Yuanhan Liu wrote: > >>> On Thu, Mar 10, 2016 at 04:06:05PM +0900, Tetsuya Mukawa wrote: > Cur

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Tetsuya Mukawa
On 2016/03/11 16:19, Yuanhan Liu wrote: > On Thu, Mar 10, 2016 at 04:06:05PM +0900, Tetsuya Mukawa wrote: >> Currently, default values of kickfd and callfd are -1. >> If the values are -1, current code guesses kickfd and callfd haven't >> been initialized yet. And vhost library will guess the virtq

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-14 Thread Yuanhan Liu
On Mon, Mar 14, 2016 at 10:54:14AM +0900, Tetsuya Mukawa wrote: > On 2016/03/11 16:19, Yuanhan Liu wrote: > > On Thu, Mar 10, 2016 at 04:06:05PM +0900, Tetsuya Mukawa wrote: > >> Currently, default values of kickfd and callfd are -1. > >> If the values are -1, current code guesses kickfd and callfd

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-11 Thread Yuanhan Liu
On Thu, Mar 10, 2016 at 04:06:05PM +0900, Tetsuya Mukawa wrote: > Currently, default values of kickfd and callfd are -1. > If the values are -1, current code guesses kickfd and callfd haven't > been initialized yet. And vhost library will guess the virtqueue isn't > ready for processing. > But call

[dpdk-dev] [PATCH v2] vhost: Fix default value of kickfd and callfd

2016-03-10 Thread Tetsuya Mukawa
Currently, default values of kickfd and callfd are -1. If the values are -1, current code guesses kickfd and callfd haven't been initialized yet. And vhost library will guess the virtqueue isn't ready for processing. But callfd and kickfd will be set as -1 when "--enable-kvm" isn't specified in QEM