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 1AB72A0543; Fri, 7 Oct 2022 23:30:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B7F3E400D5; Fri, 7 Oct 2022 23:30:20 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 0163A40042 for ; Fri, 7 Oct 2022 23:30:18 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 297Cgx0O023320; Fri, 7 Oct 2022 14:30:14 -0700 Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2042.outbound.protection.outlook.com [104.47.66.42]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3k1d7gsvqk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Oct 2022 14:30:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kWTnw7f93eQUGzt42kM1zloHP2e3URSuEUA8qwcY73WFSaa/iGMZyDfGz26XYuvJ3jyvasMrGMq9IgACiILmmBfhIW6nIB4whnWCxpjyyZYXFINM1PUOcJvERWAyxwJimOCmGWbS2tDqhrXzK0dqCJd73yVMfQNpbcX1MS3FmXtQYAOnvdlc0Du60dOY0McC/ChLL+4pjNSiK33mlw+Jl+NYYM4aiU3UwvOXIxLjws43suYkBEJVHtW7cpKbDo9CB1DCVgqNN3uKTpB9plZ9ieU/KXVuIGWn681SQoWmKVb90jBGYCfp7aSu9FvwU5g7Gi3F3qOx9W0E4afA5+ZxVQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YQYiMeFNwA2tJqzJ6VKYkrCgAhq47aLuUEg8+hfVuC0=; b=bznT6hUXzfVesAXuGCj8d8UwRkd8RqPsNwI8BUNTtEG9N770hybDD5goEI37eYao1/kjKw5oAjWE0VNeN8z0Oau3CNpChdBwiqnyh/hF3nIDJehQrOC4O8fxODrIyXMTQh8OA4PWNN26uJfUHizldoOv46OmEJvV1Fnxtae7aE52wS4jfa/DAPPlAWg1/t4WbxdavRFcXRjQQQpwExbYPFu3ERnW5zyEKeDsXTpKNQ9k/zcPXOhZXIMirUjTRjzYloe02paitjCvuKJwnNrvMIAsFE/Jo4cpDu0eSZf/Dhcd7pVO+tBe4JlzBOgUjbkYjQao1kiXU79OlhU5JEkl1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YQYiMeFNwA2tJqzJ6VKYkrCgAhq47aLuUEg8+hfVuC0=; b=eZ7ZiYgjK2GlnmvHRTSS/vfXoXWmtGd52CBNI9e/nYzID8lo9pbV1uBr1VCrgJIedumh2lAPrzw43v9j+Zl+zNwP4OAPUN9991pooMV/J8QEzN3/NOiF0MDAYcudrugMVkeap5QWI9fnNYkfeHsyrWWC/Dbmqb1k2FNXoUZqmWA= Received: from PH0PR18MB4425.namprd18.prod.outlook.com (2603:10b6:510:ef::13) by SJ0PR18MB5087.namprd18.prod.outlook.com (2603:10b6:a03:432::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Fri, 7 Oct 2022 21:30:12 +0000 Received: from PH0PR18MB4425.namprd18.prod.outlook.com ([fe80::16f8:9275:a441:cfec]) by PH0PR18MB4425.namprd18.prod.outlook.com ([fe80::16f8:9275:a441:cfec%6]) with mapi id 15.20.5676.028; Fri, 7 Oct 2022 21:30:11 +0000 From: Shijith Thotton To: Stephen Hemminger CC: "dev@dpdk.org" , "Honnappa.Nagarahalli@arm.com" , "bruce.richardson@intel.com" , Jerin Jacob Kollanukkaran , "mb@smartsharesystems.com" , "olivier.matz@6wind.com" , "thomas@monjalon.net" Subject: RE: [EXT] Re: [PATCH v5 5/7] lib: move mbuf next pointer to first cache line Thread-Topic: [EXT] Re: [PATCH v5 5/7] lib: move mbuf next pointer to first cache line Thread-Index: AQHY2pAkXxv8/9OswEy2MhHMIMZ5U64DcJ8AgAABgXA= Date: Fri, 7 Oct 2022 21:30:11 +0000 Message-ID: References: <20221007142216.7d141e9a@hermes.local> In-Reply-To: <20221007142216.7d141e9a@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR18MB4425:EE_|SJ0PR18MB5087:EE_ x-ms-office365-filtering-correlation-id: 24f15a38-868f-4455-0e50-08daa8ab1dd0 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: luzD26tl1r7v4CtNcrNS6ieB3c1PVLw3YyoTdvdYJYcH/jU7RD7ujkC5ehKBDc+oeze/KFoernZ3y62R91LB3LpToyZBdjYpYfddWHNpSFj3i+WIyhsZ8sVvuJ+PgPeU4aI8AMcThAFUjRLmTtJTzNLtjPqP1W+/v9EzHkK7ZwPl70uv+NyUFfOleKK44l61svLuuUBS5cNCydZMK1S2a+3MvrhF+pIpVahCon5kBNiB5RP+AVDAO+5BmFzfaMC/6VSy62PgRrQDpBmF/XSifLf4/2LTPxSVTMaORP1Pg3+1Mp4f+Em5Op40iJivYjKUF/GgmjD/dzxHsERcGoDaGp52q+qaiUSwJRkmjstrEYK+Pf9FaZhf9oLtKVWlpcykD+7jwdc4YupbVWmffVbeZf8TxuNaviy9QEU99rFh9X3Qdut2q9kWWsL5X/zxNDMo+hPenzcIfNBJaRmpYED2lImUJjtSe3gvhIQIEM7UsLh1FIDA29zjmZMy7j5dpFTPsS7kapLF97AaqW26k8MmdMHK1UrLUiPkCCBoeDsaxuJ64QQMnJ+mN0cF6ACt0J2xrc6ZjOMyUdKX7DKbDoczTbrGn74bDwEiU7z/NCpFpSZSjWGQ36BAdjMWHpQ6B3RLvPP8IIZSeyBIoRGhZRvXHb7jabkNdAXcBVSTvLuiB98uIwRLGoGBS2HrHdSU5BQe4ip3sBEc4fpOigUFRCbcelH6o6LDdy9uSftyLU6WluArmXpbrjaz3zPZX3B1NQKbJVuGMU3oCTo49ZXNgxujeQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4425.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(396003)(366004)(136003)(39860400002)(376002)(346002)(451199015)(2906002)(316002)(33656002)(76116006)(8676002)(4326008)(64756008)(66446008)(66476007)(66556008)(66946007)(54906003)(6916009)(41300700001)(5660300002)(4744005)(52536014)(86362001)(8936002)(71200400001)(6506007)(478600001)(7696005)(186003)(38070700005)(122000001)(26005)(38100700002)(55016003)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?H0Pz6rIk7WfOxiu6HSVd+fgC3r+A8fwY3ehNpoKPDhdGupcfK3kzshbHJ/BY?= =?us-ascii?Q?FIzBRyYzSSHAHPwwbuH3UY/LMzHaYxbOMohJMJkjflXXQbhuJKZwr0AbxbLa?= =?us-asc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917C0LEm8bil/wd?= =?us-ascii?Q?q/kkoBVFBJe/cSdbCaZd2BnNrQ/ThDngW+x5J9FZH+E3O0L1vskXd76q1XT2?= =?us-ascii?Q?KdapkNaG8YAvdmi/knm9lZLcDDLSyj6Ltidx6pn607+Z/uYdN8tSdpfM5gl9?= =?us-ascii?Q?ogoz94twJmhd/3nd3yU5S5TAPHJ/wmc2GA70hcamxjWdS1PbQNAEwpkajtri?= =?us-ascii?Q?pS/7r0AIMbj/+YUVOaTohhOgSVW6buyMIOW6arsraZiOTjfdrnLm6+MT1oUv?= =?us-ascii?Q?Hl4oUAiQ/l18WtvPGuw1UNReS5a6lM3b0D/bmz5eyPw5Q2tPHXesx18vKf8Q?= =?us-ascii?Q?dCHaPlAmA7j38Ta9+4ZVeI9ziItxAp/LW5C2aYF0B5yKlTPT3ZaQky9Lu+mb?= =?us-ascii?Q?/nwmAMRZcDzQmkXMKjJuK5zW3MBkEuLJgBBKURSEN0HkkIFo6d9DIzRqxCGA?= =?us-ascii?Q?TbgdxCZznJUWM0MrxC+6DI/F4Eg5SaLOmwi/liptyJW9AOFp+vcQYz3Nh/1w?= =?us-ascii?Q?k5uGfopQrXAboiICUgIbVEstJUyZ9bQpsBqPxNMGj+05AUaEE7pmt9OeAFUW?= =?us-ascii?Q?HrhENKxBd62E9+r9xmkKHmhU18geUlH6lG4oOAz1?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4425.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 24f15a38-868f-4455-0e50-08daa8ab1dd0 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2022 21:30:11.9082 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EQnAianbLQQiubvWtC9R2ZeVEazYkXT1xyLE0CvhshC4oMCGspZsBd+w0AaADx3ozXMI6242uMZyIH0186emcg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB5087 X-Proofpoint-GUID: Pl7ywUwAuBsWLuQzz0iw7xedYt8LPtz8 X-Proofpoint-ORIG-GUID: Pl7ywUwAuBsWLuQzz0iw7xedYt8LPtz8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-10-07_04,2022-10-07_01,2022-06-22_01 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 >> Swapped position of mbuf next pointer and second dynamic field (dynfield= 2) >> if the build is configured to disable IOVA as PA. This is to move the >> mbuf next pointer to first cache line. >> >> Signed-off-by: Shijith Thotton >> Acked-by: Olivier Matz > >Why not always move it? >Having things on different cache lines based on config options >could cause surprising performance impacts. Some drivers are using the offset of buf_iova.