Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/137319/?format=api
http://patchwork.dpdk.org/api/patches/137319/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20240220145735.383949-1-Parthakumar.Roy@ibm.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20240220145735.383949-1-Parthakumar.Roy@ibm.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20240220145735.383949-1-Parthakumar.Roy@ibm.com", "date": "2024-02-20T14:57:35", "name": "[v2] build: make buffer headroom configurable", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "972cf3f5619331644d987d6d29558a3a11792cd4", "submitter": { "id": 3278, "url": "http://patchwork.dpdk.org/api/people/3278/?format=api", "name": "Parthakumar Roy", "email": "partha.roy.tx@gmail.com" }, "delegate": { "id": 1, "url": "http://patchwork.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20240220145735.383949-1-Parthakumar.Roy@ibm.com/mbox/", "series": [ { "id": 31234, "url": "http://patchwork.dpdk.org/api/series/31234/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=31234", "date": "2024-02-20T14:57:35", "name": "[v2] build: make buffer headroom configurable", "version": 2, "mbox": "http://patchwork.dpdk.org/series/31234/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/137319/comments/", "check": "warning", "checks": "http://patchwork.dpdk.org/api/patches/137319/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 24B5643C03;\n\tTue, 27 Feb 2024 07:02:30 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 94B3A4027D;\n\tTue, 27 Feb 2024 07:02:29 +0100 (CET)", "from mail-qk1-f177.google.com (mail-qk1-f177.google.com\n [209.85.222.177])\n by mails.dpdk.org (Postfix) with ESMTP id D005A40289\n for <dev@dpdk.org>; Tue, 20 Feb 2024 15:57:38 +0100 (CET)", "by mail-qk1-f177.google.com with SMTP id\n af79cd13be357-7874a96a01dso171329285a.3\n for <dev@dpdk.org>; Tue, 20 Feb 2024 06:57:38 -0800 (PST)", "from cbld_jammy.pok.stglabs.ibm.com ([129.41.87.4])\n by smtp.gmail.com with ESMTPSA id\n a13-20020a05620a16cd00b0078715cd3116sm3460613qkn.106.2024.02.20.06.57.37\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 20 Feb 2024 06:57:37 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1708441058; x=1709045858; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=yxOKb8VnSONdTuRtDZBPYB/0ZZrchEHw9l64Yt4A6iY=;\n b=fko0eFvtHiNsxsnozIid0kV1MX/5QJ00d52CbxlDyT7771D5MtK6QewTnsu9d/yz0Q\n Qn86gDwmjWhcqXwx8BYqTRvwzljk4F8Fu3k5rDwbQgJXXB9VRVhx5Ayrt/hooIBBoDoE\n 5rmPlxOgFJKttqbdokp4rSoyXAmfKLgFrZS83EJLossirKxpGvhEMdLYdpjvrksWMB2G\n tu3hQcjsZSOE+TVfDcCH2RF/HwWji/KqSPaRXui9kRHDaXEUBcLRA8Csh8zE+qUH4sHS\n 0rotXGOMB29QsjDFg2fi2pZULNmCu42RxCVFwj/fgKFFhmtMGFxFSM/vSwh1PF7oRhRa\n cHAA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1708441058; x=1709045858;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=yxOKb8VnSONdTuRtDZBPYB/0ZZrchEHw9l64Yt4A6iY=;\n b=LRI+4ycjK2+sCrAn+L4eM53K4yKeUnheRKgXjM/nFNDyVff1EPogbPYc5pU65p/i55\n 0Vr2sHvyXGdi37rQz1R+vZfKoDSSU89pWU2v1jODmFDV1j3+qbgUGgnaitA9M9pdYtXf\n 7z6qHvsUHQMAlMSn23gJ/aYOffFQGkJ93gJ+tSAZ4RcLZvq2AqRektUMgIjHK/YCTajt\n OpZDXsLXK712cd9ky70ettHOieqdjaW/pY6+wKuM+Ht4tnMgfO5t58BcX0jBqtLXbO7D\n xuCN/y0Cng7eHAUxOQ0D4mDavDEfdTJbDtNmQq8/xaioXkIxpnHsUE2mDuBBoJKuAiTw\n b6sg==", "X-Gm-Message-State": "AOJu0YzWaYyntPcQ4m6paClZ1eBVlPVcUzGwH2fsN75Y1git+rdYYS8+\n 35n+rmN8mAucjYmNC6AZDNC9J3BIWhGIRHYbDldBbGT2F8VzejoAC2atmRZi", "X-Google-Smtp-Source": "\n AGHT+IGaO5YqGL7UAy76EnjfLdDCHE2/s4MVoiv3NZ3iBE24oIB//1RumwHaR0+rYwrqWuem/Z3QEQ==", "X-Received": "by 2002:a05:620a:460a:b0:787:7e2b:74c6 with SMTP id\n br10-20020a05620a460a00b007877e2b74c6mr1345431qkb.25.1708441057879;\n Tue, 20 Feb 2024 06:57:37 -0800 (PST)", "From": "Parthakumar Roy <partha.roy.tx@gmail.com>", "X-Google-Original-From": "Parthakumar Roy <Parthakumar.Roy@ibm.com>", "To": "dev@dpdk.org", "Cc": "Parthakumar Roy <Parthakumar.Roy@ibm.com>", "Subject": "[PATCH v2] build: make buffer headroom configurable", "Date": "Tue, 20 Feb 2024 14:57:35 +0000", "Message-Id": "<20240220145735.383949-1-Parthakumar.Roy@ibm.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "\n <DS0PR15MB55751C8B5830DE77981C8978E74D2@DS0PR15MB5575.namprd15.prod.outlook.com>", "References": "\n <DS0PR15MB55751C8B5830DE77981C8978E74D2@DS0PR15MB5575.namprd15.prod.outlook.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Mailman-Approved-At": "Tue, 27 Feb 2024 07:02:23 +0100", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "The default value for RTE_PKTMBUF_HEADROOM used to be set in\nconfig/rte_config.h. This patch removes it from the file and\ninstead, a meson option, pkt_mbuf_headroom, is introduced to make\nheadroom tunable from the build process.\n\nSigned-off-by: Parthakumar Roy <Parthakumar.Roy@ibm.com>\n---\n config/meson.build | 1 +\n config/rte_config.h | 1 -\n meson_options.txt | 2 ++\n 3 files changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/config/meson.build b/config/meson.build\nindex a9ccd56deb..f90ff0a290 100644\n--- a/config/meson.build\n+++ b/config/meson.build\n@@ -346,6 +346,7 @@ dpdk_conf.set('RTE_MAX_ETHPORTS', get_option('max_ethports'))\n dpdk_conf.set('RTE_LIBEAL_USE_HPET', get_option('use_hpet'))\n dpdk_conf.set('RTE_ENABLE_STDATOMIC', get_option('enable_stdatomic'))\n dpdk_conf.set('RTE_ENABLE_TRACE_FP', get_option('enable_trace_fp'))\n+dpdk_conf.set('RTE_PKTMBUF_HEADROOM', get_option('pkt_mbuf_headroom'))\n # values which have defaults which may be overridden\n dpdk_conf.set('RTE_MAX_VFIO_GROUPS', 64)\n dpdk_conf.set('RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB', 64)\ndiff --git a/config/rte_config.h b/config/rte_config.h\nindex da265d7dd2..505199f2fe 100644\n--- a/config/rte_config.h\n+++ b/config/rte_config.h\n@@ -51,7 +51,6 @@\n \n /* mbuf defines */\n #define RTE_MBUF_DEFAULT_MEMPOOL_OPS \"ring_mp_mc\"\n-#define RTE_PKTMBUF_HEADROOM 128\n \n /* ether defines */\n #define RTE_MAX_QUEUES_PER_PORT 1024\ndiff --git a/meson_options.txt b/meson_options.txt\nindex 50a9d3669d..68f378c401 100644\n--- a/meson_options.txt\n+++ b/meson_options.txt\n@@ -40,6 +40,8 @@ option('machine', type: 'string', value: 'auto', description:\n 'Alias of cpu_instruction_set.')\n option('max_ethports', type: 'integer', value: 32, description:\n 'maximum number of Ethernet devices')\n+option('pkt_mbuf_headroom', type: 'integer', value: 128, description:\n+ 'number of bytes skipped on Rx at the start of the packet buffer to leave room for additional packet headers')\n option('max_lcores', type: 'string', value: 'default', description:\n 'Set maximum number of cores/threads supported by EAL; \"default\" is different per-arch, \"detect\" detects the number of cores on the build machine.')\n option('max_numa_nodes', type: 'string', value: 'default', description:\n", "prefixes": [ "v2" ] }{ "id": 137319, "url": "