From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 512C7A0561; Thu, 4 Mar 2021 07:47:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3929D4068C; Thu, 4 Mar 2021 07:47:19 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2105.outbound.protection.outlook.com [40.107.94.105]) by mails.dpdk.org (Postfix) with ESMTP id 6811740147 for ; Thu, 4 Mar 2021 07:47:18 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P3+p3bqyxty/nR2rNYZWfjpaOQPdqGirz3TxvtOrPQ15IaeM2lQisxkVANN75XvkNk4UwK+kvFj3k53iwt8wk8FO33ZM6Qo4XUS1te373Q9US/UMIp30Xt2ExbNdywoBUu4NOcbNYFJGeliCwmztTJAP35aXwouKCF/4iwCJbyLXY7r2AZk5IpGsaAHv9HneqWDK9+IX/VKloB5ZynKufZsLK6OQ70odJ6pMZN40Fwkr3m8ehdvCRBX/0OP6db4/qLzezWGy42yV0M4NM4RvMXOR/TBx9ZTuYcsMKSo/lDLh0EWIqcGjj5Eyynl5gB5PDmwSSieg+aUxA896Ddo/+g== 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=P0u5Qo5SdbfDqlop96QQhU+ZtnyMGQvjKgWlm7Lpj/8=; b=I1T/S+ZcFTIUK+g5g9oZS110rKlLwDwIDMVrrqz+pk/AVsp86F5mUN66Mc+XPL3hmx2McyVYKEO+QrgxPFNtnzkOP3CgDcLQwlFMdVvf/cUTSTU9IweDRZSON5Ue06nav3YJUsHB0RP/y5HCUx4bKxYQqce9e/lKthf9vBGbKRKqz20JIN5u6/tWluFiPBUYKHBVqSoTiHGVAwot35UB5RDJgakxquV0dPFYxnYT5eHHA2e7q5CRqqZxInddhIeJVNcrCHgYkKI7kPIC21bzIiSDmaLRWxr6svok+FEVnfcaryc95Yi+2HLQPoO05yLwJBHzzxkEv5UvbVdrdCzMDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P0u5Qo5SdbfDqlop96QQhU+ZtnyMGQvjKgWlm7Lpj/8=; b=GC/+PwS8pR/pH+VWO+UGqB92anuJRvQKrK+j3rCRVHe3H14T+G6s74Hai11iYF0Uj8g2QsY3zS+3KM/RCrPrZ2mgEJ38pi5jIYUe2HZ67WHxjBkykEGM8FJWMXgYLB8MBZg68JIf6HcNkqrt2wgJLZDjlQk97WW2fn58cFkQjk0= Received: from MW4PR21MB1954.namprd21.prod.outlook.com (2603:10b6:303:7d::5) by MW2PR2101MB1098.namprd21.prod.outlook.com (2603:10b6:302:a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.11; Thu, 4 Mar 2021 06:47:04 +0000 Received: from MW4PR21MB1954.namprd21.prod.outlook.com ([fe80::f9ae:13da:b497:f4af]) by MW4PR21MB1954.namprd21.prod.outlook.com ([fe80::f9ae:13da:b497:f4af%8]) with mapi id 15.20.3933.007; Thu, 4 Mar 2021 06:47:04 +0000 From: Khoa To To: Dmitry Kozlyuk , "dev@dpdk.org" CC: Tal Shnaiderman , Dmitry Kozlyuk , Jerin Jacob , Sunil Kumar Kori Thread-Topic: [EXTERNAL] [dpdk-dev] [PATCH v3 1/7] eal: add wrappers for POSIX string functions Thread-Index: AQHXCF3cgWPUxRzlskGCJKKFRCrvkapzc39A Date: Thu, 4 Mar 2021 06:47:04 +0000 Message-ID: References: <20210221012831.14643-1-dmitry.kozliuk@gmail.com> <20210221142819.6769-1-dmitry.kozliuk@gmail.com> <20210221142819.6769-2-dmitry.kozliuk@gmail.com> In-Reply-To: <20210221142819.6769-2-dmitry.kozliuk@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=6c8e7b7e-a75e-45c8-95b9-705d8c6bb988; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-03-04T06:46:34Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [67.170.72.207] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 940f25ea-4c4f-4d8d-0412-08d8ded95287 x-ms-traffictypediagnostic: MW2PR2101MB1098: x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: p760zbJswQnYIBykvrpKzujZwsnv/edPZTwuaao/VNGZufhW6wonvWBymAxPF7mN4YJScXUdWleOaM5Ft9bv4G2a/R1/gR7w89NtaA8d/FSJrj8K/EnIPZm5CO7E9jzsWqSSVprMi568+HKDopxDulh8i1XeC+wVHSoh3fIpxLNDnpWlV6H3B3OcfvVgrGPnAr603c5DftAWQKmu1IoC2DSnzU0P5EsiuEJbPx3OiBnQXyFt1pLDXtHUk6NfTCcCIb6e1g7CRLe1bLsTtI0z58dX9FX9VHKp1+5Pds1SHCG1DUQkdPq0MXr4ub82wHUXyDLSqUjXWUnzfrfT+6FFph5GZGqqUUUael0yp9bU+q+gqc5nVcfoaugJfhh2o2kwT6IIbroYIMds9pe33DPxdG4kv2pgaLMgYpTnvJFlWw6W+fF4rchoqc/UfAiKGiLvHg2GJTyvLuxnLBJVFwHNj+k6nRuE945v8j8eYPOnHVIhZJ2KkBrAQrDOq0bhWAW1H23t54fvsNDvc9AvFb//J+ytkp+mKsWXhSbMck+xJnn7IaqR5HuAU2Q2aUU5Ls4i x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR21MB1954.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(396003)(376002)(366004)(346002)(5660300002)(26005)(33656002)(71200400001)(86362001)(76116006)(478600001)(4326008)(66946007)(8936002)(64756008)(66476007)(186003)(66556008)(8676002)(8990500004)(4744005)(2906002)(6506007)(82950400001)(66446008)(9686003)(82960400001)(7696005)(55016002)(52536014)(10290500003)(54906003)(316002)(110136005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?gXVnUuyL46CzXd3ePcTzncnJYdcQPEoIPasiPeLH6aBQYSWZoEP9tbZcvhBp?= =?us-ascii?Q?RX5WiDhZqyqcq7r5mgkhFq/1zs4luLagpSqv0HMTXth+md3R/kUdYWpYzq3E?= =?us-ascii?Q?mkcfBuCH7vE+2he0A5S/oeJkuOJVXv00idZ6hFQ5qO35gDuiWd5h7ZCDrqjR?= =?us-ascii?Q?uXFz6FXlW8g2lvG1iXRJAVSWZQM2UhgQ7JmAMR+fWRrKmhMfBLHzdZL6Ci03?= =?us-asc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dlNx3IGgz3e9FsTsB+2KomEpOqu/vkZiw?= =?us-ascii?Q?SUUtDhjbmDxg98j+1Xb7c/HuJqmjpArhjoaWSDOV5YwQ1k08mks4zDJ1b27k?= =?us-ascii?Q?v02yHglmpcLKLVoa7trdwfFf2eB14ZgxltUMzZKodyzXxOLAwRFPmu6sig2v?= =?us-ascii?Q?MfoRmAYyzZP91K1kdDp/4dNJzOE0ExbA93ypWnRpDSNIYcT7Qhj6NA8kIs1h?= =?us-ascii?Q?jqeNZgwsAlL+cERMcS9gNFkh?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR21MB1954.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 940f25ea-4c4f-4d8d-0412-08d8ded95287 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2021 06:47:04.5570 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dyiE9pvAk4r5CZTt+N+ob6Y+W8QR9G07ittHsVduOIkmXo8D5CNn28BsaBnJA1ZzjrzGlkw4RodyeI0thQl6PFzrrgvZFo+2qB9yQ/t1jc0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB1098 Subject: Re: [dpdk-dev] [EXTERNAL] [PATCH v3 1/7] eal: add wrappers for POSIX string functions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" > POSIX strncasecmp(), strdup(), and strtok_r() have different names > on Windows, respectively, strnicmp(), _strdup(), and strtok_s(). >=20 > Add wrappers as inline functions, because they're used from librte_kvargs= , > and thus cannot be in librte_eal; besides, implementation is trivial. >=20 > Signed-off-by: Dmitry Kozlyuk > --- Acked-by: Khoa To