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 75B6DA0350; Mon, 29 Jun 2020 17:36:10 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D7BA01BF80; Mon, 29 Jun 2020 17:36:09 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10064.outbound.protection.outlook.com [40.107.1.64]) by dpdk.org (Postfix) with ESMTP id 6586A1BF7D for ; Mon, 29 Jun 2020 17:36:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=McqToQj0bAz9nJgC7bIrtjKYsXkP7a1vL+W9nUHykBNKn8sIBwMt17iQlyaBVP30+j0R1MhBE69uN6/RyI2wYyGuN0ynRBc76muqaardPtL8esXJjgSaPLXZAiYwdqKOQeoo+PMYxnS4z5ESSSFWdaWmag3dcX1l07Io8FkvyuAlE1cUbW6AsUVR9+sRq7HxFFp3h7yAjxC1ywcTtk+KhyT3ocv3nPe2E8fmTie1MDrlXy36IMJJrsFPUt5lVhQkKmxMYqHy47ZV12wgVhMZ+vu6FH72X4c0XWU/MGR+Po4aK/a9lJnU5SJdVhp9oFif/TvkmrFwQAZPTtJdLzVAAQ== 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=yJENgj3hDZykQrE8RV4V5D4mfL8D+TX70BGbyOmswuY=; b=YRI9OPNTmPNuj8AhzrR19MXC5gSKhayw+8v1BDZ0CUXRBrWo1X+BOLjYlr7dVX/Sc3kOV5NcGj9PaBym/qPtu4/Jz7PM+dlHtWBPmRalSAdVsIpbrBT12dFBaONH6mjT1JCIbJPZqZYf4ofh5hbAegGRk1dlxu04ZPbuT/6CfBD2qm4FAfl9B8k9qVxyegNQtlZwtqGfjulHnXf1DHRSMNQ5a7ES7qu43dcgxqeL7VYAdbwB9uxLV8vw7XsfZBUjDO40MpvY/U5xzZr9T5AXpVkFuggR0ONhe9VG40wvlUpSivbj+R2UdI9jvQiTEAJRyQBVwyNNIvVhZiBOY4OUqA== 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=yJENgj3hDZykQrE8RV4V5D4mfL8D+TX70BGbyOmswuY=; b=N/t12cO0vipWEFG3bGwY8Zsi3YWKZQ5QP/2bdXlVmo+iMBmRa3/6EgvF9Ot0lL3hKbmULq8eI5pXAb2Chc3e+1uCjRqoEDACNo0chlLdnl59yf/OpuwKzi3DrDspo4d5dhGTcL5Vt6nWm2KRnihtn/zw1gjyguEFPb2GAVHH8pk= Received: from AM0PR05MB5313.eurprd05.prod.outlook.com (2603:10a6:208:f2::28) by AM0PR05MB4482.eurprd05.prod.outlook.com (2603:10a6:208:5a::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.25; Mon, 29 Jun 2020 15:36:08 +0000 Received: from AM0PR05MB5313.eurprd05.prod.outlook.com ([fe80::9da9:e159:add2:64ee]) by AM0PR05MB5313.eurprd05.prod.outlook.com ([fe80::9da9:e159:add2:64ee%3]) with mapi id 15.20.3131.026; Mon, 29 Jun 2020 15:36:08 +0000 From: Tal Shnaiderman To: Tal Shnaiderman , "dev@dpdk.org" CC: Thomas Monjalon , "pallavi.kadam@intel.com" , "dmitry.kozliuk@gmail.com" , "david.marchand@redhat.com" , "grive@u256.net" , "ranjit.menon@intel.com" , "navasile@linux.microsoft.com" , "harini.ramakrishnan@microsoft.com" , "ocardona@microsoft.com" , "anatoly.burakov@intel.com" , Fady Bader , "bruce.richardson@intel.com" Thread-Topic: [PATCH v10 01/10] eal: move OS common config objects Thread-Index: AQHWThIi9PNsRUHmw0qu2M0DFw9xDKjvuJ4w Date: Mon, 29 Jun 2020 15:36:08 +0000 Message-ID: References: <20200624082847.21344-1-talshn@mellanox.com> <20200629123741.20716-1-talshn@mellanox.com> <20200629123741.20716-2-talshn@mellanox.com> In-Reply-To: <20200629123741.20716-2-talshn@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [37.142.1.17] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: c7c24db7-443b-40c9-df96-08d81c4224af x-ms-traffictypediagnostic: AM0PR05MB4482: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3044; x-forefront-prvs: 044968D9E1 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Bkf3eoMzlJQS7a9Xg3IPDHk8XKDYmLukciM0hQD2C8YsJgIpL1Z8O2m67MtMSVwtZMHTfbNiSbCZm1BRFDHePU7ilK9wnlcaDDVpHeSaL8jlsMd1aByToNjdTq72JNTS/ew7l7sXgV1ZBBrLgPGXW3v6FbbX4Idz82mUert2rzbmd8Dt9pix4AG/5ecd+47KrEItanMJbykgSVNkSj6DWGxg7357F4KkfQPjAZQs4PCJdPQs7qMvaSNgPhz/pji0cUIpflQMpMYppTvoK+Lr/f71KDft4LbKRXKX4cC87CHK1BtqMfe0vh6KCZZldnKayGA1q+4YoWe5DNVzbZPOvw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB5313.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(396003)(376002)(136003)(366004)(346002)(66556008)(71200400001)(110136005)(33656002)(86362001)(54906003)(76116006)(5660300002)(4744005)(316002)(7696005)(66946007)(2906002)(64756008)(66446008)(4326008)(6506007)(66476007)(55016002)(9686003)(8676002)(7416002)(52536014)(478600001)(186003)(26005)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: pHjjolJX023rKNHinxZ8ry82XQEr5ca6inBOexOomdT5036civVEmq05LG1iQcQW5p5iErqh/22WNPL3CWEpM/LjwPrBJH7m3CfEpeFWRq+Rj4F8E1OKXy6ud0ShkHQHJOVJykPKUaiPmaSLMnQ3sVN1pPF1HZFkSnmvLToAeGwwHdB7Qk+hTTVi4v247DWz6E9Ps8RblmkY6O3mk4QOvVbQi7/5ig5nUcWsmLpXzfVV0DBe91OOVwXPBzAJXvhVePdQNPI2AeS8h2kqG4VI6yRu6E1M0h1jEqej+6QfZGZHPrzorzDTt7SBdlraneEe4LWVsZmkOAbbY4fdXwENDDiwBhrhFKZCfKLeYzrpjGAwJ3y9ozoxuwqU3HXgkYhoi7RvU8SXQDDm+05y0QSGmvKko6v9GrD1Mx9DQqOM8XgSbvc9LgLVtXZorbcgbwPLO+jKSL9J0Ko63MLNkjkQstkhFcPmMGBhBnHIjkENewE= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM0PR05MB5313.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c7c24db7-443b-40c9-df96-08d81c4224af X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2020 15:36:08.1230 (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: OauHqpS6kNirjVp/BPWhTDd7joRW0TLzWyoBg5LoUaAU85pxvgt2Wjzc0MoZSHu44FEmJ0OiWBdzrxA1Q1CBvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4482 Subject: Re: [dpdk-dev] [PATCH v10 01/10] eal: move OS common config objects 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" > Subject: [PATCH v10 01/10] eal: move OS common config objects >=20 > From: Tal Shnaiderman >=20 > rte_eal_config_create(void) > { > + struct rte_config *config =3D rte_eal_get_configuration(); > + const struct internal_config *internal_conf =3D > + eal_get_internal_configuration(); > size_t page_sz =3D sysconf(_SC_PAGE_SIZE); > - size_t cfg_len =3D sizeof(*rte_config.mem_config); > + size_t cfg_len =3D sizeof(rte_mem_config); This line above in freebsd/eal.c breaks freebsd build, it should be size_t cfg_len =3D sizeof(struct rte_mem_config); > -- > 2.16.1.windows.4