Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2214921/?format=api
{ "id": 2214921, "url": "http://patchwork.ozlabs.org/api/patches/2214921/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260323174052.5355-4-larysa.zaremba@intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260323174052.5355-4-larysa.zaremba@intel.com>", "list_archive_url": null, "date": "2026-03-23T17:40:34", "name": "[iwl-next,v6,03/14] libeth: allow to create fill queues without NAPI", "commit_ref": null, "pull_url": null, "state": "under-review", "archived": false, "hash": "56df55cb5056230c04a863cc1cafcda76af17896", "submitter": { "id": 84900, "url": "http://patchwork.ozlabs.org/api/people/84900/?format=api", "name": "Larysa Zaremba", "email": "larysa.zaremba@intel.com" }, "delegate": { "id": 109701, "url": "http://patchwork.ozlabs.org/api/users/109701/?format=api", "username": "anguy11", "first_name": "Anthony", "last_name": "Nguyen", "email": "anthony.l.nguyen@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260323174052.5355-4-larysa.zaremba@intel.com/mbox/", "series": [ { "id": 497154, "url": "http://patchwork.ozlabs.org/api/series/497154/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=497154", "date": "2026-03-23T17:40:31", "name": "Introduce iXD driver", "version": 6, "mbox": "http://patchwork.ozlabs.org/series/497154/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2214921/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2214921/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=osuosl.org header.i=@osuosl.org header.a=rsa-sha256\n header.s=default header.b=1MRaqjXZ;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4ffgSk0XSbz1xyt\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 24 Mar 2026 04:41:10 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 97693607C2;\n\tMon, 23 Mar 2026 17:41:08 +0000 (UTC)", "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id YPXgy5tKMZRY; Mon, 23 Mar 2026 17:41:08 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id ED1A5607EF;\n\tMon, 23 Mar 2026 17:41:07 +0000 (UTC)", "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id 4309D353\n for <intel-wired-lan@lists.osuosl.org>; Mon, 23 Mar 2026 17:41:06 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 34EDC81CD0\n for <intel-wired-lan@lists.osuosl.org>; Mon, 23 Mar 2026 17:41:06 +0000 (UTC)", "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id PEWDEfB5o14d for <intel-wired-lan@lists.osuosl.org>;\n Mon, 23 Mar 2026 17:41:05 +0000 (UTC)", "from mgamail.intel.com (mgamail.intel.com [198.175.65.16])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 8EAA081D02\n for <intel-wired-lan@lists.osuosl.org>; Mon, 23 Mar 2026 17:41:05 +0000 (UTC)", "from orviesa004.jf.intel.com ([10.64.159.144])\n by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 23 Mar 2026 10:41:05 -0700", "from irvmail002.ir.intel.com ([10.43.11.120])\n by orviesa004.jf.intel.com with ESMTP; 23 Mar 2026 10:41:00 -0700", "from mglak.igk.intel.com (mglak.igk.intel.com [10.237.112.146])\n by irvmail002.ir.intel.com (Postfix) with ESMTP id E83ED312FB;\n Mon, 23 Mar 2026 17:40:57 +0000 (GMT)" ], "X-Virus-Scanned": [ "amavis at osuosl.org", "amavis at osuosl.org" ], "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=<UNKNOWN> ", "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 smtp3.osuosl.org ED1A5607EF", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 8EAA081D02" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1774287668;\n\tbh=uQIPMVzZDHMNFnaR71fFP4nfVMJzvW59dGf0gFpOQsw=;\n\th=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=1MRaqjXZEZfTfRFfR+zxC96GM3Y9+kH7D7CEuC1rF+gKSiWHznSNCQuGvDBAvdhxg\n\t 8q1hfPsJfJieMICLbBkH9K90bho8x7fVIgvCokNoPtXd4LA1kDziIhrorhDjzm2Wa/\n\t bEzsxNsjKJhTgGXDjbpSjPxJWmKG2M40ySlejYFo0xZY3DJ+TvDC+RddaHH/q3Il+7\n\t nPQFeETjiljzC2IeqIINco+IOoAfamBLYbPPjvl7ukS6vTgMrAlLTPwwVF/7QqvxME\n\t bogSpSK4AXRJ1EOJRYNEfnwvadDjI3f55K1/LqqmJqMj0VLj/HRoQv56iRGczrORtZ\n\t vTJ2MOkJanuqg==", "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=198.175.65.16;\n helo=mgamail.intel.com; envelope-from=larysa.zaremba@intel.com;\n receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 8EAA081D02", "X-CSE-ConnectionGUID": [ "Xdk2RvM+RGmq12Rf3ZT6Yg==", "SqoOOJ9SQWazPZr4A4rryA==" ], "X-CSE-MsgGUID": [ "KzANdD2WRZq7dopJUsp9cw==", "wBVtjHzRTz6xy0Od+kV8kw==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6800,10657,11738\"; a=\"75484649\"", "E=Sophos;i=\"6.23,137,1770624000\"; d=\"scan'208\";a=\"75484649\"", "E=Sophos;i=\"6.23,137,1770624000\"; d=\"scan'208\";a=\"228576636\"" ], "X-ExtLoop1": "1", "From": "Larysa Zaremba <larysa.zaremba@intel.com>", "To": "intel-wired-lan@lists.osuosl.org, Tony Nguyen <anthony.l.nguyen@intel.com>", "Cc": "aleksander.lobakin@intel.com, sridhar.samudrala@intel.com,\n \"Singhai, Anjali\" <anjali.singhai@intel.com>,\n Michal Swiatkowski <michal.swiatkowski@linux.intel.com>,\n Larysa Zaremba <larysa.zaremba@intel.com>,\n \"Fijalkowski, Maciej\" <maciej.fijalkowski@intel.com>,\n Emil Tantilov <emil.s.tantilov@intel.com>,\n Madhu Chittim <madhu.chittim@intel.com>, Josh Hay <joshua.a.hay@intel.com>,\n \"Keller, Jacob E\" <jacob.e.keller@intel.com>,\n jayaprakash.shanmugam@intel.com, Jiri Pirko <jiri@resnulli.us>,\n \"David S. Miller\" <davem@davemloft.net>,\n Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>,\n Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,\n Jonathan Corbet <corbet@lwn.net>,\n Richard Cochran <richardcochran@gmail.com>,\n Przemek Kitszel <przemyslaw.kitszel@intel.com>,\n Andrew Lunn <andrew+netdev@lunn.ch>, netdev@vger.kernel.org,\n linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org", "Date": "Mon, 23 Mar 2026 18:40:34 +0100", "Message-ID": "<20260323174052.5355-4-larysa.zaremba@intel.com>", "X-Mailer": "git-send-email 2.47.0", "In-Reply-To": "<20260323174052.5355-1-larysa.zaremba@intel.com>", "References": "<20260323174052.5355-1-larysa.zaremba@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1774287665; x=1805823665;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=f89MZan3iUCMImpwFJMAPlV8Oa0551rEAwn3TXkL7pI=;\n b=JNUjubEn7xwviD2kj3tt5eIAvIb/pZ+Qydb3OjM6c/qR8/S17z8fCM3w\n qa86dSbLcYMKL3fbL/w8uNii/KQT9CfRcgVrN9RSYV/E3VUj6Z7p5BSV6\n cy3776K9mAjTEsdIwAIhjovYGCRXpH/BpgPMcRW5TRi5pVnxRkqu87i7v\n 6N+fnsXMC8zs4CzLkIjtx48UY43+YNYiXzHFipsGtkMu2KoZNw9CBuAP5\n lpZ/eQNYag6rujEyIhYqPIllLxv9vFlxiIJa0mbHFf2SLCQi3YcrjwlDH\n SGKezqbYnqbUP/RRnAEee5pdiXdq4/h5iqBHlvxdXll8we3HOedpYloEK\n g==;", "X-Mailman-Original-Authentication-Results": [ "smtp1.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=intel.com", "smtp1.osuosl.org;\n dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.a=rsa-sha256 header.s=Intel header.b=JNUjubEn" ], "Subject": "[Intel-wired-lan] [PATCH iwl-next v6 03/14] libeth: allow to create\n fill queues without NAPI", "X-BeenThere": "intel-wired-lan@osuosl.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n <intel-wired-lan.osuosl.org>", "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>", "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>,\n <mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>", "Errors-To": "intel-wired-lan-bounces@osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>" }, "content": "From: Pavan Kumar Linga <pavan.kumar.linga@intel.com>\n\nControl queues can utilize libeth_rx fill queues, despite working outside\nof NAPI context. The only problem is standard fill queues requiring NAPI\nthat provides them with the device pointer.\n\nIntroduce a way to provide the device directly without using NAPI.\n\nSuggested-by: Alexander Lobakin <aleksander.lobakin@intel.com>\nReviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>\nSigned-off-by: Pavan Kumar Linga <pavan.kumar.linga@intel.com>\nSigned-off-by: Larysa Zaremba <larysa.zaremba@intel.com>\nTested-by: Bharath R <bharath.r@intel.com>\nTested-by: Samuel Salin <Samuel.salin@intel.com>\nSigned-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>\n---\n drivers/net/ethernet/intel/libeth/rx.c | 12 ++++++++----\n include/net/libeth/rx.h | 4 +++-\n 2 files changed, 11 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/libeth/rx.c b/drivers/net/ethernet/intel/libeth/rx.c\nindex 62521a1f4ec9..0c1a565a1b3a 100644\n--- a/drivers/net/ethernet/intel/libeth/rx.c\n+++ b/drivers/net/ethernet/intel/libeth/rx.c\n@@ -145,25 +145,29 @@ static bool libeth_rx_page_pool_params_zc(struct libeth_fq *fq,\n /**\n * libeth_rx_fq_create - create a PP with the default libeth settings\n * @fq: buffer queue struct to fill\n- * @napi: &napi_struct covering this PP (no usage outside its poll loops)\n+ * @napi_dev: &napi_struct for NAPI (data) queues, &device for others\n *\n * Return: %0 on success, -%errno on failure.\n */\n-int libeth_rx_fq_create(struct libeth_fq *fq, struct napi_struct *napi)\n+int libeth_rx_fq_create(struct libeth_fq *fq, void *napi_dev)\n {\n+\tstruct napi_struct *napi = fq->no_napi ? NULL : napi_dev;\n \tstruct page_pool_params pp = {\n \t\t.flags\t\t= PP_FLAG_DMA_MAP | PP_FLAG_DMA_SYNC_DEV,\n \t\t.order\t\t= LIBETH_RX_PAGE_ORDER,\n \t\t.pool_size\t= fq->count,\n \t\t.nid\t\t= fq->nid,\n-\t\t.dev\t\t= napi->dev->dev.parent,\n-\t\t.netdev\t\t= napi->dev,\n+\t\t.dev\t\t= napi ? napi->dev->dev.parent : napi_dev,\n+\t\t.netdev\t\t= napi ? napi->dev : NULL,\n \t\t.napi\t\t= napi,\n \t};\n \tstruct libeth_fqe *fqes;\n \tstruct page_pool *pool;\n \tint ret;\n \n+\tif (!pp.netdev && fq->type == LIBETH_FQE_MTU)\n+\t\treturn -EINVAL;\n+\n \tpp.dma_dir = fq->xdp ? DMA_BIDIRECTIONAL : DMA_FROM_DEVICE;\n \n \tif (!fq->hsplit)\ndiff --git a/include/net/libeth/rx.h b/include/net/libeth/rx.h\nindex 5d991404845e..0e736846c5e8 100644\n--- a/include/net/libeth/rx.h\n+++ b/include/net/libeth/rx.h\n@@ -69,6 +69,7 @@ enum libeth_fqe_type {\n * @type: type of the buffers this queue has\n * @hsplit: flag whether header split is enabled\n * @xdp: flag indicating whether XDP is enabled\n+ * @no_napi: the queue is not a data queue and does not have NAPI\n * @buf_len: HW-writeable length per each buffer\n * @nid: ID of the closest NUMA node with memory\n */\n@@ -85,12 +86,13 @@ struct libeth_fq {\n \tenum libeth_fqe_type\ttype:2;\n \tbool\t\t\thsplit:1;\n \tbool\t\t\txdp:1;\n+\tbool\t\t\tno_napi:1;\n \n \tu32\t\t\tbuf_len;\n \tint\t\t\tnid;\n };\n \n-int libeth_rx_fq_create(struct libeth_fq *fq, struct napi_struct *napi);\n+int libeth_rx_fq_create(struct libeth_fq *fq, void *napi_dev);\n void libeth_rx_fq_destroy(struct libeth_fq *fq);\n \n /**\n", "prefixes": [ "iwl-next", "v6", "03/14" ] }