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 6884BA00E6 for ; Wed, 7 Aug 2019 07:40:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 41AB24C88; Wed, 7 Aug 2019 07:40:12 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60070.outbound.protection.outlook.com [40.107.6.70]) by dpdk.org (Postfix) with ESMTP id 47AB337A8 for ; Wed, 7 Aug 2019 07:40:11 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XQtOWmm2AVY6mwaomXfLQxQgxu4qt/AicfCjLTMp5WhK208b+FAWdiI9sTiJlp5dzSxd4S+J/qjpw/GBkeAT0AkGUzvpVcelmiQuerLdBnAELUYkcHujmXTA3HsmTQREk5ub1Zv4d2ch1J1+dFUDXBbNrQjOZAa8ILwBQ94VcVkIpzQJFr10lvjSr+f2wkt+XbZvzpFH+xRiUQe/lAK4wLqcr8+xVEgdJ/Zkg/UydMihj6OdAwNMuBCIU/PNozW76jF7Fso7T5G+QiWOkjjYBRSCkx+Eg/FqCpB2ohEwcz5baNV3Y0UceTyNFvlqfRuYR45bd4X9EVrHgYP0x36Jwg== 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=tYsaW8ixj1m2b9M33xi9JwQ+e90I6xM5bx2n3YTZ3mc=; b=Qbjd5OQR7ofxYZ6z2Ww/7siWwV4gQ3fT5jMXo8bU0GhkkoxIzenPITYCbFatzoqjExcUdccK9m87w+EuouNRvt15AQ0hnGR7fWegeASQc0YNQkUsDcTNVJ6K8SsbECPhzaS9AjxAD+uQJ8l+Z1PJZsg3aXo/MFysDzI7OXGvxRDKguG8wF/Th9n1DiVBxGbc49veqvhmHQ4zIZJxw+uIqYOUq5CxWJlWuqQqgXNEOppVOleOlUmoz7hV6881p5/pikQg334F+1HqWaCt08wDloK4TysriLLpy/G367dUwNF5PRxd7WFma8CtW8C+wQvqn+ZieZdEL/j/77mhGbEg+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=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=tYsaW8ixj1m2b9M33xi9JwQ+e90I6xM5bx2n3YTZ3mc=; b=Z0z1WVTtJiGP4m1HmGxmdIeUgic0Tb660x7reZ+8Q9OKgUD4YPCTsRtVEcgDFNedWoHUy1XvFUoG/aJ2v+/ZQzub9J8peoGDPNInsgNAE21HdYoNvKCBQUcmRavjM1pRiu1YB7IJ9Bhr1z1airi+eHJ/RiSLl141mNWlfg4u7Tw= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3875.eurprd05.prod.outlook.com (52.133.45.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.14; Wed, 7 Aug 2019 05:40:10 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::ccc2:2dd4:ca86:7639]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::ccc2:2dd4:ca86:7639%3]) with mapi id 15.20.2136.010; Wed, 7 Aug 2019 05:40:10 +0000 From: Matan Azrad To: Stephen Hemminger , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v7 0/2] examples/client_server_mp: port id (fixes only) Thread-Index: AQHVS6w3hkfx0tCjOkKf+LnxWw86U6bvLYZQ Date: Wed, 7 Aug 2019 05:40:10 +0000 Message-ID: References: <20190726165054.24078-1-stephen@networkplumber.org> <20190805163817.3713-1-stephen@networkplumber.org> In-Reply-To: <20190805163817.3713-1-stephen@networkplumber.org> 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: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c28728c7-28a3-4ef4-121f-08d71af9b644 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020); SRVR:AM0PR0502MB3875; x-ms-traffictypediagnostic: AM0PR0502MB3875: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 01221E3973 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(366004)(396003)(136003)(376002)(39860400002)(346002)(54534003)(189003)(199004)(110136005)(3846002)(6116002)(476003)(5660300002)(8936002)(52536014)(229853002)(81156014)(99286004)(25786009)(68736007)(86362001)(6436002)(486006)(71200400001)(2906002)(71190400001)(14444005)(256004)(81166006)(316002)(446003)(478600001)(11346002)(66066001)(76176011)(76116006)(2501003)(66946007)(64756008)(66446008)(186003)(74316002)(102836004)(53546011)(55016002)(66556008)(66476007)(6506007)(305945005)(26005)(6246003)(53936002)(7696005)(7736002)(33656002)(9686003)(14454004); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3875; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: G+i7hw/rrLSlxJttoKVbv0V4oZEqQvOGJMrtnldUStw2Q4sUr0tEKZ7d5juTYdGQvjGKW3EBUapgfVi2kKkOWhNJNMbAWvnhen1av1rtT/ykE8N//l/xqhW1vtpDqDfk5+p2UHWZ+PjoPGNgCvSFtp5JIniuN5KIkHgy671q+LjxyPhsckFLTV5X3fRYOUHmWIZuoUAiK/W5KiBlxx+PqpCkcAVZFQkLCj6ncM+640awkc2w3Mh0ebe5NseU1NWpLta28TwqfMFz7mY1+xX3SfzncQky4yuibFZRmdubD3yqrqNiBsItnrC4njLcTEIlc1NvtYU4xoRowbBJN4N6MaLkq4nkvbH6tYPiiMJG3H1mGG1NFXXdCIYp5391UmRVFcrIeq4RkHrgpeRuET8JQP7r1KA1NocTEPp16fLlewk= 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: c28728c7-28a3-4ef4-121f-08d71af9b644 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Aug 2019 05:40:10.1169 (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: matan@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3875 Subject: Re: [dpdk-dev] [PATCH v7 0/2] examples/client_server_mp: port id (fixes only) 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" Acked-by: Matan Azrad From: Stephen Hemminger > Sent: Monday, August 5, 2019 7:38 PM > To: dev@dpdk.org > Cc: Stephen Hemminger > Subject: [dpdk-dev] [PATCH v7 0/2] examples/client_server_mp: port id > (fixes only) >=20 > v7 - widen port mask to allow 64 ports >=20 > v6 - just include fixes; cleanups can wait until 19.11 >=20 > v5 - change logic in server_mp for evaluating port mask >=20 > v4 - fix checkpatch warning > add patches to fix style issues and use ether format addr >=20 > v3 - merge both patches in one series > use alternative algorithm to check port ownership (N^2) > because reviewer didn't like direct check. >=20 > Stephen Hemminger (2): > examples/multi_process/client_server_mp: check port validity > examples/multi_process/client_server_mp - fix crash in mp_client with > sparse ports >=20 > .../client_server_mp/mp_client/client.c | 18 ++++----- > .../client_server_mp/mp_server/args.c | 40 ++++++++++--------- > .../client_server_mp/mp_server/args.h | 2 +- > .../client_server_mp/mp_server/init.c | 7 +--- > 4 files changed, 34 insertions(+), 33 deletions(-) >=20 > -- > 2.20.1