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

2016-03-15 Thread Thomas Monjalon
2016-03-14 17:12, Yuanhan Liu: > On Mon, Mar 14, 2016 at 05:53:32PM +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. Then vhost library will guess the virtqueue

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

2016-03-14 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. Then 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 QE

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

2016-03-14 Thread Yuanhan Liu
On Mon, Mar 14, 2016 at 05:53:32PM +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. Then vhost library will guess the virtqueue isn't > ready for processing. > But cal