Re: [dpdk-dev] [PATCH 1/2] vhost: add API to set protocol features flags

2019-03-12 Thread Tiwei Bie
On Tue, Mar 12, 2019 at 03:54:09PM +0100, Maxime Coquelin wrote: > rte_vhost_driver_set_protocol_features API is to be used > by external backends to advertize vhost-user protocol > features it supports. > > It has to be called after rte_vhost_driver_register() and > before rte_vhost_driver_start(

[dpdk-dev] [PATCH 1/2] vhost: add API to set protocol features flags

2019-03-12 Thread Maxime Coquelin
rte_vhost_driver_set_protocol_features API is to be used by external backends to advertize vhost-user protocol features it supports. It has to be called after rte_vhost_driver_register() and before rte_vhost_driver_start(). Example of usage to advertize VHOST_USER_PROTOCOL_F_FOOBAR protocol featu