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 4C92EA0350; Tue, 30 Jun 2020 09:36:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5116A1BEBF; Tue, 30 Jun 2020 09:35:04 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2056.outbound.protection.outlook.com [40.107.22.56]) by dpdk.org (Postfix) with ESMTP id E218F1B13C for ; Tue, 30 Jun 2020 09:34:55 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aIol5r6raBlrEhgXse6utifdUZnBeKjPFnxxbl23wI0kkAFWuFRuzwH1ictxHMTzhbXvlTeoY/JWz15I1z8yRPj4Hr+UFIC+RaFI5djpG7jxP8m7qGuq4ZtEJecH6gbUN+DnYbSHUR6F6MmMJzLmE59SJKQNwqSwTTpHqUJ8e4qwHJCq38Itcy0+74U97FbD6lKMPDUJgoZWXT1pRoryti00kkYKerWFnPv718qRXxHkVa9zs85J6L+HFtQCWRHqApbLnOCX+YhwTtR5UcuxEbQw+KN7WFJk0nCnIBb0wmu3yk/GvNyMssaKeFPx1Oyv2P9vOjE0vz/UiERxonOdcg== 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=WJ9xJnmpGy0pjNJkRFDZTFZphQxAJ0bY7XUuAXmhKMI=; b=IlVNoE3HQwVpDz0KNFQIEhR1J7glHBpWLeKZao7CaK6PW1xi1OO5MKhFDPDZ6Gqjb+gzRefauh4iHI/mZgfRUKVUAe7lxHSPX2/7QOsCMvXBMk4O0bmIA4kvpJeYW5fkbJY9TKAX4dLJZC4mx2MWEmAgZOzgQtSKi/v/WdxrmPYeseJTNtBTQzzDew8oZqmWd1jCHrc5CXKVwOWdvfXxcudvIqe5uO/wed1lFsqTnV44X3HxVaPBTSIBIk/qyJOBiMMHooF2v/BikBTK0Kl7rDcqE+Apwt2OckwOv47PmNhtqbdOswY2l1RgMjp9d6/xmjaQ8SAYBuWIGSFpypyzKQ== 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=WJ9xJnmpGy0pjNJkRFDZTFZphQxAJ0bY7XUuAXmhKMI=; b=kFq8gYiqHvL34Q56N80/lfQAyWKmYEtVC0aAXzy/Hue9s0lqXER5B2ho+PuVJ+J8mV7blJpBPLBrIwbIc8t1/xzA/03Ec/18PIJ09kukTXwExkHNePOr0+YEbOWS/3sFM5nTywBwIvUJcc6yaCiqbH3bDL52cYm0k3YAIw+FxHs= Received: from AM0PR05MB6610.eurprd05.prod.outlook.com (2603:10a6:208:12f::18) by AM0PR05MB4865.eurprd05.prod.outlook.com (2603:10a6:208:cc::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.26; Tue, 30 Jun 2020 07:34:53 +0000 Received: from AM0PR05MB6610.eurprd05.prod.outlook.com ([fe80::103:d46f:87df:6525]) by AM0PR05MB6610.eurprd05.prod.outlook.com ([fe80::103:d46f:87df:6525%7]) with mapi id 15.20.3131.028; Tue, 30 Jun 2020 07:34:53 +0000 From: Wisam Monther To: Thomas Monjalon , "dev@dpdk.org" CC: "david.marchand@redhat.com" , Jack Min Thread-Topic: [PATCH] app/flow-perf: use macro for cache alignment Thread-Index: AQHWTljy+cxU/6EoXEi4aL0EmebGvKjwxPeQ Date: Tue, 30 Jun 2020 07:34:53 +0000 Message-ID: References: <20200629210443.371664-1-thomas@monjalon.net> In-Reply-To: <20200629210443.371664-1-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [84.242.49.134] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 8ae5512e-a2a1-4b6c-220c-08d81cc81490 x-ms-traffictypediagnostic: AM0PR05MB4865: 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:751; x-forefront-prvs: 0450A714CB x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: D2ir2tEsS4EMq1P82AuT5eyQzIM5hIHIqgWIXsl3GdtzKf3hdyo5sp+0GPYoAPD8VhXetlxTjsfh57mwvANe1mJno89g9rBNtR7kJVn5A0x8ctysFp584vN7taXB2pMThhC3PRo+s87J2Zww0egS+fKtdehnTztSQ94b7TyLugCJeiZ7srW1NK3yjz0fgJEAlyHhpUr85XAxCJMIx2/OOTF7wB6tZx/TtcZWGHGpmORmdyYPGo2vm1HzVQsk8PWIzMl/Ghe8Lt9nSSm2WjrjWRZA6DXfZt4tXZd4K/RrA9xjSh9I99JcFcytav1p8FzS x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB6610.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(366004)(136003)(39860400002)(376002)(346002)(8936002)(4326008)(33656002)(5660300002)(107886003)(8676002)(4744005)(7696005)(186003)(55016002)(26005)(9686003)(6506007)(52536014)(2906002)(76116006)(66946007)(66476007)(66556008)(64756008)(66446008)(86362001)(71200400001)(110136005)(478600001)(83380400001)(316002)(54906003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: ZdbVORQX2ETohAG64x7gzZ7hko36qN6Ie+tjuNe/DImWPPZAnmpGtSik9eE/2kInL7mKWtlMu0vJ+kTL0/SUEawnoqdLNtgHDrrB3emz83jNvgNzHYN7Bb8Lag8af5rU14pk3KTu9UKV7+DqZPQ1ecmacZSrDcgmcR5UnmtJFa1iaE8m6p47mT7hRa3wIRblrCPf8wEKE/6VoyTXQVYLEDu5pqF5wNitMNEgsbl30h0AselONqDnAKMDTIL+hz2IIqn+MhoiGxY2Ra6zyQkjuc3rlgIWRp6Iu3UldxRTtJx4R5iHA2K5lF7eme6GFAiOCiWv26+tHPs7cedNPhBdCIqklEkN+DbSjSL/vU2sL35NwprivkakfTMeBB8XnBdwVdvMrcixWo8+hKK0n5d1EUQUDVxLxV3Uk0X5AaryF5lOGIjthCEfKKReppM4mJeddcAuWdjUHcKRJI/Wlj1iuo/duOcN/wBsXl8Tum5sIhc= 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: AM0PR05MB6610.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ae5512e-a2a1-4b6c-220c-08d81cc81490 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2020 07:34:53.5483 (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: 1der63KHLll2XDU2IfQ1icj+pqy6ovAvATpv7flU1THZ/PDfk7uoNBx7GKoKE4PGUGwPi/6nWvWc7llYFEStgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4865 Subject: Re: [dpdk-dev] [PATCH] app/flow-perf: use macro for cache alignment 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" Hi, >-----Original Message----- >From: Thomas Monjalon >Sent: Tuesday, June 30, 2020 12:05 AM >To: dev@dpdk.org >Cc: david.marchand@redhat.com; Wisam Monther >; Jack Min >Subject: [PATCH] app/flow-perf: use macro for cache alignment > >The macro __rte_cache_aligned is better suited for aligning a structure on= a >cache line (of any size). > >Fixes: 15c431864000 ("app/flow-perf: add packet forwarding support") > >Signed-off-by: Thomas Monjalon Acked-by: Wisam Jaddo