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 696F1A059F; Fri, 10 Apr 2020 15:59:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 480871D447; Fri, 10 Apr 2020 15:59:40 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150054.outbound.protection.outlook.com [40.107.15.54]) by dpdk.org (Postfix) with ESMTP id BF46D1D423 for ; Fri, 10 Apr 2020 15:59:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TOeuZRU1477c85eXHYAKGC2VEPXb+8c89zGKhrzmnAIbyDFOF3ezZjuzpgT0vRCmaBhQs4/BSpOYiKFbzXR9ZK8Q4lz9KhzF/sQ/qxZwksXuO6AI1OJhagWn1IzPcM4NRvQsxlEJSAhfob2VqP6dMdgkO2o/w+WnPqnWRfj71mb9yhtKPjBTONyv108U3IDfafgGVUbS9454faCY3Y5CuAhpYn5AJd7XfdrQfe2v3I50rynlXJKBKkepdCPNSWjK6ZFIOnSKK42zCoiL/ZeoobQ3Mi0/1ktOHFkj7bJoKkHcnVsB4ZEM66ceJUUmi8ml+uK9N/OILz7ZsBCCFP+2cw== 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=KL6LWZIUqe8/ttgKbtL5+14j9vphJ+oEf6CmaHCg5es=; b=I723Oyqk428Ul5i6qQicrG/E76JYJNV8u/q42PLZ16wQ7557RsKL561SvRVYAZQf3JWtpk7z1v3fiZa1C6fw1QxLwWqFUz3//O1VVndhJPP9H81l1NIcZ10qhLCvSYe5szd2bIrp1tWRW0InlTzlZDI3d7zSeKBnz0GcZRTc8gcy5XtJI2zvNnbbvYxk5Ndc9J5ByiosmEy7Ufk+wXhIRU53xuTmrGBZPmgPghiJMnllqZc/4eTj/eVMTpLlR5ESu8nl1pYHieoDvB8T3VJ3JM8qrPb9hrAzdCvVg7J3yC2v6zaQZOJZYqyQmW58tt1EkUdSJbn1cVqp3N3pjYFp+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=KL6LWZIUqe8/ttgKbtL5+14j9vphJ+oEf6CmaHCg5es=; b=NE7umS8UT15s2QBvQgZpQhOMh3zRBCyEdSp6XMW7iGmmzciqBdwrNck41JX+pCOeQKPbF5DamHl6Fca8aOCKr9XL3+qmxnERnN4AucneBbimxfEVwh81ECdxynpQnVn6qqmrzc6ATEcQKGDZPjISokmPDimfz5sW68mw7meUJZo= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (2603:10a6:208:f::11) by AM0PR0502MB3698.eurprd05.prod.outlook.com (2603:10a6:208:1d::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15; Fri, 10 Apr 2020 13:59:38 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::a564:a117:9022:1fee%7]) with mapi id 15.20.2878.022; Fri, 10 Apr 2020 13:59:38 +0000 From: Matan Azrad To: Maxime Coquelin , "dev@dpdk.org" CC: Slava Ovsiienko , Shahaf Shuler Thread-Topic: [PATCH 2/3] vdpa/mlx5: separate virtq stop Thread-Index: AQHWDoOZky+EoVMwGEeHCpe30x8rWqhyYyFg Date: Fri, 10 Apr 2020 13:59:37 +0000 Message-ID: References: <1585653143-21987-1-git-send-email-matan@mellanox.com> <1585653143-21987-3-git-send-email-matan@mellanox.com> In-Reply-To: Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [77.126.88.104] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 3355fd3b-1385-4c99-e3cf-08d7dd576872 x-ms-traffictypediagnostic: AM0PR0502MB3698:|AM0PR0502MB3698: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0369E8196C x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(136003)(376002)(39860400002)(346002)(366004)(396003)(66476007)(66556008)(64756008)(66446008)(7696005)(110136005)(76116006)(66946007)(4744005)(2906002)(81156014)(53546011)(5660300002)(316002)(8936002)(6506007)(86362001)(54906003)(52536014)(8676002)(71200400001)(478600001)(55016002)(33656002)(4326008)(186003)(9686003)(107886003)(26005); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: BFPpUE0deztmwd4YZbDWXQ5foefavl+7XIH9F10f/JfVOMuKx+7fkamgOHIyascR0uQPjEcJFx9e/tFSaK7pgPYC4ArnjtY536EpTrsfohLSh7CVdstPtf8VNabaOTu0v5HnbiGjh2Lsnr4jEz7+ieDmYI597Bl7nhbf4U5FON1FgPBsGIOd5vGcWZkPWA9lJPbSMQNmo5WzMLBMdb1lsGSRG4+vNbzm+s+eUtA/dTj94dSvdjprX2wK1blM6XZmA3bvFfembnOQtOaGzoItPURjtJ2BE7QAmIeckwdWxcJQoke3O5Xq/8NdJBBoRmkVA/EYiirlbIc/Z/w9ju3pW8LWMnUGArWYT3nUwcqjq43hMJjhDArBjwLujkxym4aRd5/oINtsDRxsldrzYsegiaCMMNCdoB68SO6qFNx+DvWQHlieMhr1SRRyQ133KOsV x-ms-exchange-antispam-messagedata: o8hHcO01f4WhoSVUilzRK1VwKAgATy0xGLN4jPWiG3WDm7BbBzLgKS9nivBzV9AZq/kkHQgL0mOWwBZIeaFEXVYjB7HVhp0/UJEadt+KB67+qXpQzDDDMGARHZQiUeqbzA7wOEgplsFlmQithW5vOA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3355fd3b-1385-4c99-e3cf-08d7dd576872 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2020 13:59:37.9018 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yDTpY7t3D+FRtW5dLdRuxcbR/3X9NwG7wn4PiZJA5PwUvC/HoATvaR+kLO9qQl+rSyxakZbKgKMBWAwJFOVXhQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3698 Subject: Re: [dpdk-dev] [PATCH 2/3] vdpa/mlx5: separate virtq stop 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" Hi Maxime From: Maxime Coquelin > On 3/31/20 1:12 PM, Matan Azrad wrote: > > In live migration, before loging the virtq, the driver queries the > > virtq > s/loging/logging/ Ok, can this small change be done in integration? > > indexes after moving it to suspend mode. > > > > Separate this method to new function mlx5_vdpa_virtq_stop as a > > preparation for reusing. > > > > Signed-off-by: Matan Azrad > > Acked-by: Viacheslav Ovsiienko > > --- > > drivers/vdpa/mlx5/mlx5_vdpa.h | 13 +++++++++++++ > > drivers/vdpa/mlx5/mlx5_vdpa_lm.c | 17 ++--------------- > > drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 26 > ++++++++++++++++++++++++++ > > 3 files changed, 41 insertions(+), 15 deletions(-) > > >=20 > Other than that: > Reviewed-by: Maxime Coquelin >=20 > Thanks, > Maxime