Hi Maxime, > -----Original Message----- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Tuesday, January 30, 2018 11:00 PM > To: Wang, Zhihong <zhihong.w...@intel.com>; dev@dpdk.org > Cc: Tan, Jianfeng <jianfeng....@intel.com>; Bie, Tiwei > <tiwei....@intel.com>; y...@fridaylinux.org; Liang, Cunming > <cunming.li...@intel.com>; Wang, Xiao W <xiao.w.w...@intel.com>; Daly, > Dan <dan.d...@intel.com> > Subject: Re: [PATCH RFC 1/2] vhost: make capabilities configurable > > Hi Zhihong > > On 12/23/2017 04:36 AM, Zhihong Wang wrote: > > This patch makes vhost device capabilities configurable to adopt various > > engines. Such capabilities include supported features, protocol features, > > queue number. APIs are introduced to let app configure these capabilities. > > Why does the vDPA driver need to mask protocol features?
Different vhost devices may support different combinations of protocol features, e.g. One may not support MQ, or RARP. So it should be reported by the device. Thanks -Zhihong > > Maxime