From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 24FBCA00BE; Tue, 7 Jul 2020 05:23:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8D7281DD43; Tue, 7 Jul 2020 05:23:03 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id DBE651DD43 for ; Tue, 7 Jul 2020 05:23:01 +0200 (CEST) IronPort-SDR: qWxt47X6sF4Ad6wYp0dHmZWygb+NMopG1fzJY8uR5uch35qLUaxAquv3NxjMJUvjXVkpMrPywQ Y/ZZx09yRQUA== X-IronPort-AV: E=McAfee;i="6000,8403,9674"; a="134998644" X-IronPort-AV: E=Sophos;i="5.75,321,1589266800"; d="scan'208";a="134998644" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 20:23:00 -0700 IronPort-SDR: Jz5MmXOpCFY/mFRnhOYNawtKG/VDkb2hDirvjY0a3pkirn3DEgqR96Wrv2DARMVFnTFpHmmxuU nF5wHK1unKRQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,321,1589266800"; d="scan'208";a="322543780" Received: from orsmsx103.amr.corp.intel.com ([10.22.225.130]) by FMSMGA003.fm.intel.com with ESMTP; 06 Jul 2020 20:23:00 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX103.amr.corp.intel.com (10.22.225.130) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jul 2020 20:22:59 -0700 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 6 Jul 2020 20:22:59 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 6 Jul 2020 20:22:59 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.176) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jul 2020 20:22:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ampHyQoV9EWjku2RuwrbhpsiBGvkGZnOCB1ncvbRMslG6JROb1Pvt/LgKnzblCRlh19LCODJqsxXsQBGaw8b1CK/IiZow+WSI0MYBBjqS1N89o5OQTxHmwPNDJ7YhSjCb42ZuQ0w1Le3pYgnkJMPoWuEqBgJXJ0kcE/mLEydaOm7cOqeIhNgD+rE8cI6YqDyWmAZ3vUYtiLAhUMyRbS9+qwyBzjVpnkrDhhfUUYRUl3MmwM4LuZ87KBZsM8uxDFlSDrROxlY43+kBgw7VqgAlkUVQO/gKyV4qh+h+WF7omVaZk6xdllGCldwl9LDJtm1bmPq4q8DKhr67Iw4HD5RJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5UnUnmcJJRl/9TPEIxtzOg51cX8PPr9fI5wn5KTQCcE=; b=D/RwnurbEir7HRsvayw0qdFUUd/bVj4bMLEEZlYMAKDlr4KCntYYDSCCjbJlETy2H7uzAyLEXksD7ShV8xKUECcl9pGIT6WSNvab+xOR0ACkuWW7d76upxKHjNaUhLDhHcllQqQr0ruAsH4FYiCF9mk8I2Fv+tpStERLNc1gcx9c9jQtF4Vwg9pC6fd3CSiR+PAsUC7TLL0tn60O8fTdFLsdCwo0sk2spEetJfB1jxPp3PtWkThZfyzArLp7ol/Hl+Mmw7NCnGMAfd2M6XUTDERjYpzHZxm0op/n1QWu282o2bxsB072ZJt9AVkHWbRfCPxCEIK7IBqQhB/+dDKJaA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5UnUnmcJJRl/9TPEIxtzOg51cX8PPr9fI5wn5KTQCcE=; b=eKcDnPYqhKVZmCwQ1Cxk+veBmRG6i8jwxPplHkvjRbYyV6F5J9UzF2AySf5xPUmkJGuSTN/686sPCQfXDulf+72Y3XzFnOpEIYPb+fUdHJytLe3WAe8j8zM/6H6ZOo8nQUGZ31rz01h++G8fguCW3x6aicV/UrEL8SsGVTYPTsU= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3709.namprd11.prod.outlook.com (2603:10b6:208:f3::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.21; Tue, 7 Jul 2020 03:22:57 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::7cde:8326:5010:c47e]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::7cde:8326:5010:c47e%7]) with mapi id 15.20.3153.029; Tue, 7 Jul 2020 03:22:57 +0000 From: "Xia, Chenbo" To: Adrian Moreno , "dev@dpdk.org" , "Ye, Xiaolong" , "shahafs@mellanox.com" , "matan@mellanox.com" , "maxime.coquelin@redhat.com" , "Wang, Xiao W" , "viacheslavo@mellanox.com" CC: "jasowang@redhat.com" , "lulu@redhat.com" Thread-Topic: [PATCH v3 7/8] vdpa/ifc: enable status protocol feature Thread-Index: AQHWU4g//igPS+R83E2lMKs2jrIAfqj7dLcQ Date: Tue, 7 Jul 2020 03:22:57 +0000 Message-ID: References: <20200706112452.1474533-1-amorenoz@redhat.com> <20200706112452.1474533-8-amorenoz@redhat.com> In-Reply-To: <20200706112452.1474533-8-amorenoz@redhat.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.218] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 21233d7d-0712-4741-11be-08d822250b60 x-ms-traffictypediagnostic: MN2PR11MB3709: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3276; x-forefront-prvs: 0457F11EAF x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aKeEeg9PeUfjuD45kYKP3wCAKPfiAZ/Ttt4dGq02lOx6A2vPVyonZRzeU1ieox+OS9Bayjz4tBabuN8UP7grLJQNSvPIoWNnCAtsH7XkjKsgsTW4gShP5oaQ4jopaPNmiAGVXanaBqWD3ncLzsCBbag/Pq4grKbO/NUoZmabRwLGHYf8zCO9s0zE0W6h+j38I4zG+gG8iCy2bx57j2+lbTJ6Hw7weHVJ/xMCQS3ahGs2hoxKHarIOWfeh+HB5yvetAROKq1kObeui00zz6EWmdE7wL+pWZ5Gs2GOYMB4Q+D00cbX1yOps7GyEUkfk8U/xqyhF2tkYgl9ovqU7gyQW88f2XV0Z/Hb5F+hZTCgq4tE8gZCAv/bm5w+EL3gMRDh x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(366004)(346002)(39860400002)(136003)(396003)(83380400001)(8936002)(478600001)(4326008)(316002)(33656002)(110136005)(5660300002)(54906003)(52536014)(2906002)(9686003)(55016002)(8676002)(53546011)(7696005)(6506007)(76116006)(86362001)(66446008)(64756008)(66556008)(186003)(66476007)(71200400001)(26005)(66946007)(921003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: Y9V/eIM/JvvgF/hHH637IIusYblGm9pyK8WSCuBimkkmwqB+T8yzpiGq6NVT9ON+AYNXm7VHGRaMw5j1XJ/VwNfJkixi0u8XxEODYOInquJXbwfLF15l85tWY140yso8qLiJRdga9NLXvae8VrIFbijtbpc/WPuOhpd0SDLZuNcVfpnFoB2VzXQ1kDV7kFB6pBXHoTLNRnleaYBStBcTU3j6X2r4Lx+zFLEruJ1r1YT+CLAaMesr01m73QPa4+2cTsjVKIJrvBf2vVhBZGEPTvTS1fmglWHenTxIKjQ4qIZ/8aD5V5MB6WBrc0Xqhp8JU5To9SNqEEi039yq+YCn2Jj0n4y7jcGCSJbRfRurIruYNd4klIokkdA7Uo0yennB66WxlSN37BJ77tdXbH2yDW0/J2kM/Wa4Z66Bpyg7MQ4ATYWpJkcxxZPdro40179R5lQYTqsgtQfTUhMUaUvzUwA5TijEly5zGeNOvdz5BMgEezvTsDfwgUsmjlqZwTYu Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21233d7d-0712-4741-11be-08d822250b60 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2020 03:22:57.0886 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6XLLB3Qn+kvVAWhju7iKoTi/c8hleGcGXXyIpGKdfLvC9usHwWclyh7uZrVQOaY+hGW6Zt0r4GoNgZhgWH4Vvw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3709 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 7/8] vdpa/ifc: enable status protocol feature 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Adrian Moreno > Sent: Monday, July 6, 2020 7:25 PM > To: dev@dpdk.org; Xia, Chenbo ; Ye, Xiaolong > ; shahafs@mellanox.com; matan@mellanox.com; > maxime.coquelin@redhat.com; Wang, Xiao W ; > viacheslavo@mellanox.com > Cc: jasowang@redhat.com; lulu@redhat.com > Subject: [PATCH v3 7/8] vdpa/ifc: enable status protocol feature >=20 > From: Maxime Coquelin >=20 > This patch advertises VHOST_USER_PROTOCOL_F_STATUS support in the IFC > driver so that that the protocol feature is negotiated. >=20 > Signed-off-by: Maxime Coquelin > --- > drivers/vdpa/ifc/ifcvf_vdpa.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.= c index > de54dc8aa..8bcc24e45 100644 > --- a/drivers/vdpa/ifc/ifcvf_vdpa.c > +++ b/drivers/vdpa/ifc/ifcvf_vdpa.c > @@ -1074,7 +1074,8 @@ ifcvf_get_vdpa_features(struct rte_vdpa_device > *vdev, uint64_t *features) > 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) > + 1ULL << VHOST_USER_PROTOCOL_F_LOG_SHMFD | \ > + 1ULL << VHOST_USER_PROTOCOL_F_STATUS) > static int > ifcvf_get_protocol_features(struct rte_vdpa_device *vdev, uint64_t *feat= ures) > { > -- > 2.26.2 Reviewed-by: Chenbo Xia