From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH 01/17] vhost: introduce driver features related APIs Date: Tue, 14 Mar 2017 10:53:23 +0100 Message-ID: <337dbdcd-0913-dd1f-5cba-15844a7380b1@redhat.com> References: <1488534682-3494-1-git-send-email-yuanhan.liu@linux.intel.com> <1488534682-3494-2-git-send-email-yuanhan.liu@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: Harris James R , Liu Changpeng To: Yuanhan Liu , dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 8953F1075 for ; Tue, 14 Mar 2017 10:53:28 +0100 (CET) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 03/14/2017 10:46 AM, Maxime Coquelin wrote: > > > On 03/03/2017 10:51 AM, Yuanhan Liu wrote: >> Introduce few APIs to set/get/enable/disable driver features. >> >> Signed-off-by: Yuanhan Liu >> --- >> lib/librte_vhost/rte_vhost_version.map | 10 ++++ >> lib/librte_vhost/rte_virtio_net.h | 9 ++++ >> lib/librte_vhost/socket.c | 90 >> ++++++++++++++++++++++++++++++++++ >> 3 files changed, 109 insertions(+) > > Nice! > Reviewed-by: Maxime Coquelin > > I wonder whether we could protect from setting/enabling/disabling > features once negotiation is done? Oh, I forgot one comment on this patch. Since these new functions are part to the API, shouldn't them be documented? Maxime