From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id B34611ECDE for ; Wed, 13 Jun 2018 08:43:29 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jun 2018 23:43:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,217,1526367600"; d="scan'208";a="58814063" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga003.jf.intel.com with ESMTP; 12 Jun 2018 23:43:24 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 12 Jun 2018 23:43:23 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 12 Jun 2018 23:43:23 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.82]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.87]) with mapi id 14.03.0319.002; Wed, 13 Jun 2018 14:43:22 +0800 From: "Wang, Xiao W" To: "Bie, Tiwei" , "maxime.coquelin@redhat.com" , "dev@dpdk.org" Thread-Topic: [PATCH v3 2/2] net/ifcvf: enable the host notifier support Thread-Index: AQHT/tfm79DQMvH5W0C5QlH24TS0vqRdxa0Q Date: Wed, 13 Jun 2018 06:43:21 +0000 Message-ID: References: <20180608032224.22049-1-tiwei.bie@intel.com> <20180608032224.22049-3-tiwei.bie@intel.com> In-Reply-To: <20180608032224.22049-3-tiwei.bie@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTNjYmEwMjAtZmNlZC00NDU3LTg1ZDktNmI2ZTIwOTc0NzE5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibTN5S3VLbkFjdFRMQVg0SHRMN0JSeFVpZVNNSUVHN1VlSnN1ZHhBZGhGNCtHelwvdmh6MTBteGRLZTQ5cmN2ajgifQ== dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v3 2/2] net/ifcvf: enable the host notifier support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2018 06:43:31 -0000 Hi, > -----Original Message----- > From: Bie, Tiwei > Sent: Friday, June 8, 2018 11:22 AM > To: maxime.coquelin@redhat.com; dev@dpdk.org > Cc: Wang, Xiao W > Subject: [PATCH v3 2/2] net/ifcvf: enable the host notifier support >=20 > The necessary vDPA ops have already been implemented > in ifcvf driver. So just need to announce the necessary > protocol features to enable the host notifier support. >=20 > Signed-off-by: Tiwei Bie > --- > drivers/net/ifc/ifcvf_vdpa.c | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/drivers/net/ifc/ifcvf_vdpa.c b/drivers/net/ifc/ifcvf_vdpa.c > index c6627c23a..b8e22daf3 100644 > --- a/drivers/net/ifc/ifcvf_vdpa.c > +++ b/drivers/net/ifc/ifcvf_vdpa.c > @@ -646,6 +646,9 @@ ifcvf_get_vdpa_features(int did, uint64_t *features) >=20 > #define VDPA_SUPPORTED_PROTOCOL_FEATURES \ > (1ULL << VHOST_USER_PROTOCOL_F_REPLY_ACK | \ > + 1ULL << VHOST_USER_PROTOCOL_F_SLAVE_REQ | \ > + 1ULL << VHOST_USER_PROTOCOL_F_SLAVE_SEND_FD | \ > + 1ULL << VHOST_USER_PROTOCOL_F_HOST_NOTIFIER | \ > 1ULL << VHOST_USER_PROTOCOL_F_LOG_SHMFD) > static int > ifcvf_get_protocol_features(int did __rte_unused, uint64_t *features) > -- > 2.17.0 Acked-by: Xiao Wang BRs, Xiao