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 A686643867; Mon, 8 Jan 2024 18:14:44 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47F9C40273; Mon, 8 Jan 2024 18:14:44 +0100 (CET) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id 23E2740261 for ; Mon, 8 Jan 2024 18:14:42 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6d9b37f4804so1941100b3a.1 for ; Mon, 08 Jan 2024 09:14:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1704734082; x=1705338882; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:subject:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=ogeXaSBUFhXWcJv6fOeaCq4GKI0cJihPIhtWKBL7WQk=; b=Yfynqy6KTxGsaFV48QiVcc6KI3oS1x+p2rLCiffs54dMwdbyY6+on4+CUbp7zRxKCR j5J4ckhIU11y8mxP99a0ONJJpMfSwT8Ec/fV7FYruA+zIsVC3vj27WPiBF0hNWFmHbgK gFrOr97AUpFrJ5E/iDuZn6Vb22Gxp1+rR2yKYvCELi6B0S3NgxFULjgty+yquFly5bfP R9InJscHuQnWna881gNQBBdBBhtnEio9v1RV3VvHvBkKsjNKOQfY9nTBPE7bNtpRVGYu n3tkyAHDFXkRP7/DqrInO8+5DZQwJlrvFwjcJ9fD1fbg3XpQ4R+nE83sMHMnfCrSPkRV rGrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704734082; x=1705338882; h=content-transfer-encoding:mime-version:message-id:subject:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ogeXaSBUFhXWcJv6fOeaCq4GKI0cJihPIhtWKBL7WQk=; b=LQXdZ1YZslq9CqyyrkKCeNMmJi1+22xMUqyV4iE0BSGyNnWrBcGN9BoVvDwfcYe7M7 jb/cDlpwZMF29T8JjCxxCC2X0hL0XIW+zfhYV9s4yJG7u2J2jDV2ZSuAIn6pTB4SNWAZ 2Rh0RLE9OSfgdLyJu9oHpc3XOi2hR9WDI5BPE99AKHWE6rUmzRPT6iry4zer2QqMK1RM DQYGxoyFOkwbSPVSsf5Hc+O7sxgpYzzI9zNEcS6Dn++VyYPdZELAvFPjBch2T6bG6rUD gg2kpFnVxtZeKf89coo3LY3E/pcXkHpqRjBLqUZsLSuEx2LKUUAQTQfuMVp2z3tsD3BD bCXA== X-Gm-Message-State: AOJu0YzQp+YpL6tsWhJHf3fkZdNHqi+osrvoqcBmxSavfVlN0zcWbhTx tj98vZdyjhPC/Z4zrGjLKAQKhN3uDihsvG2k6Z7o51glfRo= X-Google-Smtp-Source: AGHT+IFfr87ei8ti9+OTrWdPli3XqSXpQX4AoTixHwD0A3ZF82nouVmQiNVrlxOqEECx12l2XhKvQw== X-Received: by 2002:a05:6a20:54a0:b0:199:aac6:3e54 with SMTP id i32-20020a056a2054a000b00199aac63e54mr53626pzk.27.1704734082159; Mon, 08 Jan 2024 09:14:42 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id ff10-20020a056a002f4a00b006d96d034befsm116822pfb.30.2024.01.08.09.14.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 09:14:42 -0800 (PST) Date: Mon, 8 Jan 2024 09:14:40 -0800 From: Stephen Hemminger To: dev@dpdk.org Subject: rte_eth_dev_data reorganization needed Message-ID: <20240108091440.4f8e25fb@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 While looking at ethdev (for pdump issues) noticed. The rte_eth_dev_data structure layout is unorganized. Lots of holes, fields not arranged in logical groups and usage could be localized for better cache access. Obviously, any reorg is ABI break. We should do this for 24.11