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 D22B7A00BE; Tue, 7 Jul 2020 05:23:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CD11C1DD59; Tue, 7 Jul 2020 05:23:14 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 1E8B31DD37 for ; Tue, 7 Jul 2020 05:23:12 +0200 (CEST) IronPort-SDR: 4ZvZ5YNs1eorBeAVY0bry8hDAh1Ncz7vDXAUqvuvzhJgOa/skITKO3ui70UiQ92FUufCUZUvna V9BpAz+m4W4A== X-IronPort-AV: E=McAfee;i="6000,8403,9674"; a="165605976" X-IronPort-AV: E=Sophos;i="5.75,321,1589266800"; d="scan'208";a="165605976" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jul 2020 20:23:13 -0700 IronPort-SDR: PlJwEK6pGM0gyjrLeQd0FCLpyHCB33Nt/eSF5wxXJFRfr4bnw90XZhE73CtBwr4gPO0Uidfq+a LIjtvVlhwBag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,321,1589266800"; d="scan'208";a="297210073" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 06 Jul 2020 20:23:11 -0700 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jul 2020 20:23:11 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jul 2020 20:23:11 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 6 Jul 2020 20:23:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PhU0Iu6wBM3+U5TWKwGKzC8SoLIIcOebAWWxruDNxqTeMlwRG1lUUjsTjPQJI/PY2AYWnwmQdaZIKISRqtJjgNYvR7utuDkpE2jSfTAujpPitWWvxj5RY4TDNnagtljNSkK4X4+ut+muXOK2DjorJjhMHB5wvYVxBEtBcWY4xdwRyxI4OgJG9nIJ37AgPcBflgsFw2kySqt3HrVWxPMP2wSkMUgvBOimjNmYBxipuGDy5y0GXGUq0n2yWMm50807H4hZ9b0wambLiFNKTQPhfuirKNa9jEfYK/EDRo/thA80G4zd8skOPWaHKiNv6Y8rBjgd7elXdlnRr34Ab4/noA== 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=BhEuQncz+v84/PHt/aB/nceuFRNJh3PgFhs6Xa8+seA=; b=VTUQtML2BMYaP/Zi0qxUzV33CiO8i3GdsmrewJih+Lq4V8t+qQcSt1I7M/guyxPUrHnI0NtSqD3dkQtAwZ7VzEg700Sb+zzX60t8kJlSLbfpLNFJeRCESXfSyuHkccmqoD8h7o5uol1XLCnMMNMblyG3KT9+vP5tNhR84+ex4+0L5GYlussXgkeZgZlcX7NCj2vxoEtrO6N2TttFpNheOj7cz/YK4yW3DLYjYjSKSaQgFIBLCcCMiXK8qpzWf/7Nv9sZXBEQNqjaLoilZFnY77dhxRkIpOt4/shAHWQhDXctzTx7ewk1d3Q/Da2E9/OB6l9QXbxk8fHxQJtxWHUUFw== 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=BhEuQncz+v84/PHt/aB/nceuFRNJh3PgFhs6Xa8+seA=; b=LKaGM+MovstSZEVk1+C3hB5AshLTnA6sICIY54P2Uee3GuMftVfAlyrHuxTsgFUuR7FztYwGyIIPnwgvEzmKQ+aZYVOmXQlnt4utLgU08moOLcdWZEQIP1JaG81ZHFE0Yz9n7SrU1ongbhnh5TrYIObgBj6tbOSZJe6QCbQNdVQ= 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:23:09 +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:23:09 +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 8/8] vdpa/mlx5: enable status protocol feature Thread-Index: AQHWU4g/am9ldBO/GUy23u9l6Dvd4Kj7dMHw Date: Tue, 7 Jul 2020 03:23:09 +0000 Message-ID: References: <20200706112452.1474533-1-amorenoz@redhat.com> <20200706112452.1474533-9-amorenoz@redhat.com> In-Reply-To: <20200706112452.1474533-9-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: 48c2e124-4204-43f0-68ca-08d8222512b6 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: QnsTsJWEhqCh5cGc7ZinBak8Y+MiGUg6V8vAyvpLt5OjfosZ9eXN9cuwwNR5HBMo4zCO+eXgU4nkh9hOWweYFB655T0pT10fZZFVzFKlSylR/V8KZkzW/qrfUKDi7UMlQsH9PDt9PgYe+O07jn5MAbR/GPlJNmqh618oBQcE0OzW2ulvuaOr+p0rdH4qQ8y6l7mFbzwEDpXgbb5DH29XygI1/4ucv7IkUbLXqb66Q3wO1vKTT8GPw7Bz5i+QwbyHsXZad4e8ejJNC1R5DalBz9cYQq0IIEACITbGoO2xQb1NqicSX4c0PZV1jxkUi39Anw6AKnCLwhIepQlePbnJIJ0ufGMoLpb6Q+6qY4HeQaEyBqyhFjq9ecLDuTiZFUTH 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: M51guSn0gnZnQbP2HUwKwB/id7Gim33SdZvaG1jsU6fPxDWOAy02zfpot4EhmUqcM75QYZys9790ea22Pe7nYNabDms576P33g7GdVVCltfuvOBV9VlcL2TT3K+ah2Mpfk6ni6YnfD52BmTUP3P4OBNbVK+P9Yr5+L7c1U7JTTpZraQ2Ub6cWmq/181P74TsiQAicwXfY+rzv2V6xobky5L4f03+hle56spcmi9ZC5AIk7H1kud2U0nB1eDnV2cIBkHOEFp5gnCCAxKXhgjND7Qa6ruQbGViDgLHAOKNtRUygWZvCOhksNgv8g4/qW7FdJlYdGliX3SGaJITVG4sFcmmaIWJ80RLbqK5CNYEcKPYTigHmu705E6HgL8uM4/VJEOUd7xEFnQhDrn6Sq8kvaYqbAUEdzpGn8XKj93a4dSlycYqIyn5nJIKDfLyX0qm54N+pT4xYQqRp+LZZn3DVA/28DvlBDS8p4gQwa+I4M07VvHMRGPmnPP52LxVXtNA 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: 48c2e124-4204-43f0-68ca-08d8222512b6 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2020 03:23:09.4304 (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: mEJNvmoW+EFiU6P8TTlkgFINLwALiOMIPPWhYcTGN4P93h7qkgAvqyeE2Uc3FKobxNcTVcYs2Iz3ilPZLpeZTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3709 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 8/8] vdpa/mlx5: 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 8/8] vdpa/mlx5: enable status protocol feature >=20 > From: Maxime Coquelin >=20 > This patch advertises VHOST_USER_PROTOCOL_F_STATUS support in the MLX5 > driver so that that the protocol feature is negotiated. >=20 > Signed-off-by: Maxime Coquelin > --- > drivers/vdpa/mlx5/mlx5_vdpa.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/vdpa/mlx5/mlx5_vdpa.c b/drivers/vdpa/mlx5/mlx5_vdpa.= c > index dbd36ab0c..83901e37f 100644 > --- a/drivers/vdpa/mlx5/mlx5_vdpa.c > +++ b/drivers/vdpa/mlx5/mlx5_vdpa.c > @@ -39,7 +39,8 @@ > (1ULL << > VHOST_USER_PROTOCOL_F_HOST_NOTIFIER) | \ > (1ULL << VHOST_USER_PROTOCOL_F_LOG_SHMFD) > | \ > (1ULL << VHOST_USER_PROTOCOL_F_MQ) | \ > - (1ULL << VHOST_USER_PROTOCOL_F_NET_MTU)) > + (1ULL << VHOST_USER_PROTOCOL_F_NET_MTU) | \ > + (1ULL << VHOST_USER_PROTOCOL_F_STATUS)) >=20 > #define MLX5_VDPA_MAX_RETRIES 20 > #define MLX5_VDPA_USEC 1000 > -- > 2.26.2 Reviewed-by: Chenbo Xia