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 977D2A05D3 for ; Tue, 26 Mar 2019 13:31:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3C3084C8D; Tue, 26 Mar 2019 13:31:21 +0100 (CET) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50062.outbound.protection.outlook.com [40.107.5.62]) by dpdk.org (Postfix) with ESMTP id 856A32C28 for ; Tue, 26 Mar 2019 13:31:19 +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=MLqfNHuPQqsVf+XPSAK1uLBA3TCywbvE6qTIzBrGlWE=; b=W+mxpXzETkDbjJdrJ6E/ARZR5KeJuvVX8y7XldRqis3WydLIrmE3wefJCwC0G9bQYUpDRjfaBFuVJhR0pnMruJxCsWnsuwYfIFlPA/Nzg/TrddyRzF7KdoaBCc/MXtxbfbQVHVnQbum04nn4OtYXduOdRq/w2GFh3KW+VkPW6ZU= Received: from AM0PR0502MB3795.eurprd05.prod.outlook.com (52.133.45.150) by AM0PR0502MB3668.eurprd05.prod.outlook.com (52.133.44.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.18; Tue, 26 Mar 2019 12:31:18 +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:31:18 +0000 From: Shahaf Shuler To: Yongseok Koh CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 2/4] net/mlx5: replace IPC socket with EAL API Thread-Index: AQHU4z87Px71LZv72EyC56xM2xh0lqYd2PmA Date: Tue, 26 Mar 2019 12:31:18 +0000 Message-ID: References: <20190307073314.18324-1-yskoh@mellanox.com> <20190325191545.20707-1-yskoh@mellanox.com> <20190325191545.20707-3-yskoh@mellanox.com> In-Reply-To: <20190325191545.20707-3-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: 2bfc2862-60bc-471e-65fa-08d6b1e6f247 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:AM0PR0502MB3668; x-ms-traffictypediagnostic: AM0PR0502MB3668: x-microsoft-antispam-prvs: x-forefront-prvs: 09888BC01D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(136003)(366004)(346002)(396003)(199004)(189003)(7696005)(9686003)(256004)(74316002)(105586002)(2906002)(52536014)(316002)(5660300002)(4744005)(8676002)(186003)(14454004)(33656002)(7736002)(99286004)(55016002)(106356001)(14444005)(6246003)(66066001)(25786009)(305945005)(8936002)(53936002)(97736004)(81156014)(68736007)(71200400001)(71190400001)(3846002)(11346002)(446003)(26005)(6506007)(76176011)(4326008)(6862004)(478600001)(476003)(81166006)(6436002)(6116002)(102836004)(6636002)(229853002)(86362001)(486006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3668; 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: WzjVjB7BUOOYGXmCXfJ6G0k4jrx7NC6XSPcaL9/44kd7FQM6axfpoBXT830QeyLsILIetuyYbAzBOZukW7qqhLI58eSjxtIMXZKuRfquiMOgDTsjr6fiw/2Fr5Yzr0XfA5z0JXJSeP/hazuwpRAX4t2NOsEqvDTGjdPatVJXYFnfQ2jzpvs9lwAjiMl5qUEE0+boemrQBRsmJyH/gktXtcVzQYx5xB5pBMVrxRTKAEBnGbSBFCtCJdyUxVkaOoBL+/hjK9wG0hch0JjIlqv6xvDFD2N0zMwBPwrDIhkxuFgm/caXhs+SvyCWC0Ruo8ZnBnoFTubrclSMqpdt/vSwxkLJ7uLUciLcooraRWbf4FqT0HT0gjppgTH3Tz8icmJOr0+NWBT73ytW98oXxQ27JMM/IhVujdEU6Z3Rc5CewrI= 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: 2bfc2862-60bc-471e-65fa-08d6b1e6f247 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Mar 2019 12:31:18.3652 (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: AM0PR0502MB3668 Subject: Re: [dpdk-dev] [PATCH v2 2/4] net/mlx5: replace IPC socket with EAL API 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: <20190326123118.xhZFzfFs4oUKpBVaeU3Cte5b6_dGSEMV96Sr0hllA5U@z> Monday, March 25, 2019 9:16 PM, Yongseok Koh: > Subject: [dpdk-dev] [PATCH v2 2/4] net/mlx5: replace IPC socket with EAL > API >=20 > Socket API is used for IPC in order for secondary process to acquire Verb > command file descriptor. The FD is used to remap UAR address. The new > multi-process APIs (rte_mp) in EAL are newly introduced. mlx5_socket.c is > replaced with mlx5_mp.c, which uses the new APIs. >=20 > As it is PMD global infrastructure, only one IPC channel is established. > All the IPC message types may have port_id in the message if there is nee= d > to reference a specific device. >=20 > Signed-off-by: Yongseok Koh Acked-by: Shahaf Shuler