From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 5D0D3A05D3 for ; Tue, 26 Mar 2019 13:49:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C83184CAB; Tue, 26 Mar 2019 13:49:13 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150055.outbound.protection.outlook.com [40.107.15.55]) by dpdk.org (Postfix) with ESMTP id 36F6E4CAB for ; Tue, 26 Mar 2019 13:49:12 +0100 (CET) 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=u+CpDkuj5Hf8Wk1YdfD26ad3hzSrVWNYY7GVWNER3Q4=; b=xL7fuXf5uVvJx3HXGdS9RlV5R32j5Ld3lk7XckK/y21E2Gg0Ryew89V4JVc4oxGrUpdz4mt3KZePoqqEY7ww44YOJnjhskqKnmQTlEVcZ/vdxBzIVbhFWSdj9vkgWwrKr5U8cCe7xWzoKk7jzjseTIBM5fU+nJSTLHK4m3vIp84= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB4001.eurprd05.prod.outlook.com (52.133.36.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.19; Tue, 26 Mar 2019 12:49:10 +0000 Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::84f3:7e92:7a51:1003]) by AM0PR0502MB3795.eurprd05.prod.outlook.com ([fe80::84f3:7e92:7a51:1003%2]) with mapi id 15.20.1750.014; Tue, 26 Mar 2019 12:49:10 +0000 From: Shahaf Shuler To: Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 4/4] net/mlx5: sync stop/start of datapath with secondary process Thread-Index: AQHU4z9CEzPfpoc680enmAOfMCRFAKYd3fjw Date: Tue, 26 Mar 2019 12:49:10 +0000 Message-ID: References: <20190307073314.18324-1-yskoh@mellanox.com> <20190325191545.20707-1-yskoh@mellanox.com> <20190325191545.20707-5-yskoh@mellanox.com> In-Reply-To: <20190325191545.20707-5-yskoh@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c080f4be-8c70-4936-899e-08d6b1e97148 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM0PR0502MB4001; x-ms-traffictypediagnostic: AM0PR0502MB4001: x-microsoft-antispam-prvs: x-forefront-prvs: 09888BC01D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(136003)(39860400002)(396003)(366004)(199004)(189003)(14444005)(316002)(26005)(71190400001)(52536014)(5660300002)(7736002)(76176011)(256004)(2906002)(446003)(186003)(33656002)(7696005)(102836004)(106356001)(66066001)(6436002)(81156014)(305945005)(97736004)(486006)(99286004)(6506007)(8936002)(476003)(81166006)(11346002)(229853002)(86362001)(4326008)(53936002)(478600001)(3846002)(55016002)(68736007)(105586002)(6246003)(6636002)(14454004)(74316002)(6116002)(25786009)(6862004)(4744005)(9686003)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4001; H:AM0PR0502MB3795.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: yEwm2fDR4Xs9qKmbo2zJeCmDJ5B0veIaDdn2L4y9AOcn0S/D7W5rQWuNokFmr3/r24gI+E3WF+6UdKJa7EhVoaqsnlFWwfZS8JChA6KgAOFzl1a68TXiLQs9OrLlLmAoFAIKocxFfvyZheNES+mjaczv3xAZ9i0lsXy+JtKEKrR4zLW5YA8ZuVtfXWtxmiEFbBzMgqYSxlsI3oMXU5Z6DHva3WXexabcy7o1P8J57TkeQEdFvfie5zXpZxXNdmDB+ao9QZEu/IidHK5LVcTwRfXhng37ciYab/dNEc2xafHX+XMybxBV4giCEI3eJmoHsq4RRCTUimPXO0h9byGnzkectaU4ZyzK/u1lzvSlheeZXGeXBeUy1TrvO8ucBZ3JvPiiv35nkr/YreXcO59c/OCPS+gKuOnx215+UwcqqKo= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: c080f4be-8c70-4936-899e-08d6b1e97148 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 12:49:10.4538 (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-Transport-CrossTenantHeadersStamped: AM0PR0502MB4001 Subject: Re: [dpdk-dev] [PATCH v2 4/4] net/mlx5: sync stop/start of datapath with secondary process 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" Message-ID: <20190326124910.LgttylwTB4mNq44m01T5lRp-Mal3pfKnJOXem0G8y5c@z> Monday, March 25, 2019 9:16 PM, Yongseok Koh: > Subject: [dpdk-dev] [PATCH v2 4/4] net/mlx5: sync stop/start of datapath > with secondary process >=20 > Rx/Tx burst function pointers are stored in the rte_eth_dev structure, wh= ich > is local to a process. Even though primary process replaces the function > pointers, secondary will not run the new ones. With rte_mp APIs, primary > can easily broadcast a request to stop/start the datapath of secondary > processes. >=20 > Signed-off-by: Yongseok Koh Acked-by: Shahaf Shuler