Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/131779/?format=api
https://patches.dpdk.org/api/patches/131779/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230921102923.65738-1-shibin.koikkara.reeny@intel.com/", "project": { "id": 1, "url": "https://patches.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": "<20230921102923.65738-1-shibin.koikkara.reeny@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230921102923.65738-1-shibin.koikkara.reeny@intel.com", "date": "2023-09-21T10:29:23", "name": "net/af_xdp: pass cflags to appropriate build components", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "48f362986d103eee9dcaf319940ad60abfc62172", "submitter": { "id": 2540, "url": "https://patches.dpdk.org/api/people/2540/?format=api", "name": "Koikkara Reeny, Shibin", "email": "shibin.koikkara.reeny@intel.com" }, "delegate": { "id": 319, "url": "https://patches.dpdk.org/api/users/319/?format=api", "username": "fyigit", "first_name": "Ferruh", "last_name": "Yigit", "email": "ferruh.yigit@amd.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20230921102923.65738-1-shibin.koikkara.reeny@intel.com/mbox/", "series": [ { "id": 29588, "url": "https://patches.dpdk.org/api/series/29588/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=29588", "date": "2023-09-21T10:29:23", "name": "net/af_xdp: pass cflags to appropriate build components", "version": 1, "mbox": "https://patches.dpdk.org/series/29588/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/131779/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/131779/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 3A953425FF;\n\tThu, 21 Sep 2023 12:29:51 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 27ED4402EC;\n\tThu, 21 Sep 2023 12:29:51 +0200 (CEST)", "from mgamail.intel.com (mgamail.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 39AC0402B5\n for <dev@dpdk.org>; Thu, 21 Sep 2023 12:29:49 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Sep 2023 03:29:48 -0700", "from silpixa00401350.ir.intel.com ([10.55.128.162])\n by orsmga002.jf.intel.com with ESMTP; 21 Sep 2023 03:29:46 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1695292189; x=1726828189;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=MbZNtIyOJ9BF7DrzuoUOm+5ULMuRVgEDygRBE3bv8aw=;\n b=ANs2Fzi9QcbvFngBWjzQnnbLdChw4UG/OsDXB/IDOQw0kSYwzhN4P3zL\n iLZmDgqIm2cAyxKGGyT4MLoNu3/jo8JlEAKtBxcQPdqLJ0Y6lXcbp9i1P\n 4N5WUQTiZMH7PJWcp8chbWylPBwke2XoCPBaEJprwHnAyRQrxQpT/gmRw\n Cmgo/G98ibaXEbhpB9VsARh6tHRBuIy5vA5uVAdYqjJKum3xJGE6RNHO+\n i1eRAgVLml01f/wHJtc5cjqJZ/iyz1TfS9JX6u0sHGPKZXZx/cltkFjj4\n fhJBVmSX2B2Y9IjBGxgTUq2ON3p+bU/phTxTNlkVD0HWEDy2/ANE7X1i/ w==;", "X-IronPort-AV": [ "E=McAfee;i=\"6600,9927,10839\"; a=\"365536614\"", "E=Sophos;i=\"6.03,165,1694761200\"; d=\"scan'208\";a=\"365536614\"", "E=McAfee;i=\"6600,9927,10839\"; a=\"747043874\"", "E=Sophos;i=\"6.03,165,1694761200\"; d=\"scan'208\";a=\"747043874\"" ], "X-ExtLoop1": "1", "From": "Shibin Koikkara Reeny <shibin.koikkara.reeny@intel.com>", "To": "dev@dpdk.org,\n\tciara.loftus@intel.com,\n\tbruce.richardson@intel.com", "Cc": "qi.z.zhang@intel.com, john.mcnamara@intel.com,\n Shibin Koikkara Reeny <shibin.koikkara.reeny@intel.com>", "Subject": "[PATCH] net/af_xdp: pass cflags to appropriate build components", "Date": "Thu, 21 Sep 2023 10:29:23 +0000", "Message-Id": "<20230921102923.65738-1-shibin.koikkara.reeny@intel.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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": "Commit 33d66940e9ba (\"build: use C11 standard\") enforces\nthe C11 standard so some changes need to be made to the\naf_xdp driver meson build to ensure that the appropriate\ncflags are passed when checking if certain functions are\navailable in the libbpf/libxdp libraries.\n\nFixes: 33d66940e9ba (\"build: use C11 standard\")\n\nSigned-off-by: Shibin Koikkara Reeny <shibin.koikkara.reeny@intel.com>\n---\n drivers/net/af_xdp/meson.build | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/net/af_xdp/meson.build b/drivers/net/af_xdp/meson.build\nindex 9a8dbb4d49..3319acca65 100644\n--- a/drivers/net/af_xdp/meson.build\n+++ b/drivers/net/af_xdp/meson.build\n@@ -56,17 +56,17 @@ if build\n '''\n \n if cc.has_function('xsk_socket__create_shared', prefix : xsk_check_prefix,\n- dependencies : ext_deps)\n+ dependencies : ext_deps, args: cflags)\n cflags += ['-DRTE_NET_AF_XDP_SHARED_UMEM']\n endif\n if cc.has_function('bpf_object__next_program',\n prefix : '#include <bpf/libbpf.h>',\n- dependencies : bpf_dep)\n+ dependencies : bpf_dep, args: cflags)\n cflags += ['-DRTE_NET_AF_XDP_LIBBPF_OBJ_OPEN']\n endif\n if cc.has_function('bpf_xdp_attach',\n prefix : '#include <bpf/libbpf.h>',\n- dependencies : bpf_dep)\n+ dependencies : bpf_dep, args: cflags)\n cflags += ['-DRTE_NET_AF_XDP_LIBBPF_XDP_ATTACH']\n endif\n endif\n", "prefixes": [] }{ "id": 131779, "url": "