Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2233054/?format=api
{ "id": 2233054, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2233054/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260505152923.1040589-2-aleksander.lobakin@intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260505152923.1040589-2-aleksander.lobakin@intel.com>", "list_archive_url": null, "date": "2026-05-05T15:29:19", "name": "[iwl-next,v5,1/5] libeth: pass Rx queue index to PP when creating a fill queue", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "d156f36b74c03177d0ee7b817c6fe128e556eaf0", "submitter": { "id": 85827, "url": "http://patchwork.ozlabs.org/api/1.2/people/85827/?format=api", "name": "Alexander Lobakin", "email": "aleksander.lobakin@intel.com" }, "delegate": { "id": 109701, "url": "http://patchwork.ozlabs.org/api/1.2/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/20260505152923.1040589-2-aleksander.lobakin@intel.com/mbox/", "series": [ { "id": 502856, "url": "http://patchwork.ozlabs.org/api/1.2/series/502856/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=502856", "date": "2026-05-05T15:29:18", "name": "ice: add support for devmem/io_uring Rx and Tx", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/502856/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2233054/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2233054/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=rZj2UpL+;\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 4g92XQ2KYfz1yK2\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 01:30:46 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 47D08608B4;\n\tTue, 5 May 2026 15:30:44 +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 at_LkYbwSZeq; Tue, 5 May 2026 15:30:43 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id ED4FE608AF;\n\tTue, 5 May 2026 15:30:42 +0000 (UTC)", "from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n by lists1.osuosl.org (Postfix) with ESMTP id 95AA02A8\n for <intel-wired-lan@lists.osuosl.org>; Tue, 5 May 2026 15:30:41 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id 7BED2608AF\n for <intel-wired-lan@lists.osuosl.org>; Tue, 5 May 2026 15:30:41 +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 5zhqRH9462Gi for <intel-wired-lan@lists.osuosl.org>;\n Tue, 5 May 2026 15:30:40 +0000 (UTC)", "from mgamail.intel.com (mgamail.intel.com [192.198.163.7])\n by smtp3.osuosl.org (Postfix) with ESMTPS id 518DB607CE\n for <intel-wired-lan@lists.osuosl.org>; Tue, 5 May 2026 15:30:40 +0000 (UTC)", "from orviesa010.jf.intel.com ([10.64.159.150])\n by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 05 May 2026 08:30:40 -0700", "from newjersey.igk.intel.com ([10.102.20.203])\n by orviesa010.jf.intel.com with ESMTP; 05 May 2026 08:30:37 -0700" ], "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 ED4FE608AF", "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 518DB607CE" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1777995043;\n\tbh=Ds87HGN7IQDfv6nGIuiWqTWCrKMliJ9sV8CMXNKypmo=;\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=rZj2UpL+56WS4V1EeEEnJ+NzRGAon81eZrr9WlPEosxHlJzbZ0OeASceix8+J29y9\n\t VI1ZDtLBYwns+nZnTcfpkSeml95f6EI8RPcR3lOGqXL8z3vPGZc7OG3V+yWm/3LhVZ\n\t KRnfOtGpElT3ojMMELtDM/xRLta8dN+OaEuxQFV58rc7cgoAIzZKrIOw0IlRT8y+yz\n\t EXluEiNcTa0xJxdbUK2Fkq8fS1Rbs9q6qR7AKSZJrrxRokPVXrvwTwi2XjKNmhHcVj\n\t 8JtK/oeP53KzWumMGhi5KyuNTVkEk/d01xJDw6N5chtT4JQX8wtx1HoI0+R9QuKZph\n\t sIgjavpmjD/fw==", "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=192.198.163.7;\n helo=mgamail.intel.com; envelope-from=aleksander.lobakin@intel.com;\n receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp3.osuosl.org 518DB607CE", "X-CSE-ConnectionGUID": [ "sBzqKwCqShOsZkjTvW+3ng==", "DPpiulblQlSzb/mGUFNU0A==" ], "X-CSE-MsgGUID": [ "PTEwkfc6QAa1y+SJ0sgfnw==", "/Zc38cuQQ0iWTsCfszR98g==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6800,10657,11777\"; a=\"104316987\"", "E=Sophos;i=\"6.23,217,1770624000\"; d=\"scan'208\";a=\"104316987\"", "E=Sophos;i=\"6.23,217,1770624000\"; d=\"scan'208\";a=\"234971544\"" ], "X-ExtLoop1": "1", "From": "Alexander Lobakin <aleksander.lobakin@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Cc": "Alexander Lobakin <aleksander.lobakin@intel.com>,\n Tony Nguyen <anthony.l.nguyen@intel.com>,\n Przemek Kitszel <przemyslaw.kitszel@intel.com>,\n Andrew Lunn <andrew+netdev@lunn.ch>,\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 Kohei Enju <kohei@enjuk.jp>, Jacob Keller <jacob.e.keller@intel.com>,\n Aleksandr Loktionov <aleksandr.loktionov@intel.com>,\n nxne.cnse.osdt.itp.upstreaming@intel.com, netdev@vger.kernel.org,\n linux-kernel@vger.kernel.org", "Date": "Tue, 5 May 2026 17:29:19 +0200", "Message-ID": "<20260505152923.1040589-2-aleksander.lobakin@intel.com>", "X-Mailer": "git-send-email 2.54.0", "In-Reply-To": "<20260505152923.1040589-1-aleksander.lobakin@intel.com>", "References": "<20260505152923.1040589-1-aleksander.lobakin@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=1777995040; x=1809531040;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=kWcwf0Pqoi1nF34RkwExtM44zrZTcgqZcEE8ex7b8QM=;\n b=T5oMEE+siq4lMsU0NG1T4ZSOSDUBrKwZ7dD7EAnl6WE4RN0b5qKloCPq\n FKumK7T7VMutPYpWlZ1MVceVP3fyr3T4AiphC+dDEj7Iae+ttydqDY8AG\n 26Rz56rDEPPTQ57nNz76V+MDyHrc/RkOUQcpfy3pgOaSOYQQGcB2jJDx/\n 5okg91jCgw8BtH+PfyeLPrpW6mX47xfHaNOdhY4Id/ziS272Rvvsk9yYZ\n MEGf5XQO94xqTyh34bMy00ygOypQRWL3R+bgFpZjfKlyhbauE34/E06u+\n nvZUxxa03C6GVgdgaVFnU5CHrSm2L2y5Hw/LxklWOPHOyPwhRfU1fbyqZ\n Q==;", "X-Mailman-Original-Authentication-Results": [ "smtp3.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=intel.com", "smtp3.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=T5oMEE+s" ], "Subject": "[Intel-wired-lan] [PATCH iwl-next v5 1/5] libeth: pass Rx queue\n index to PP when creating a fill queue", "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": "Since recently, page_pool_create() accepts optional stack index of\nthe Rx queue which the pool will be created for. It can then be\nused on control path for stuff like memory providers.\nAdd the same field to libeth_fq and pass the index from all the\ndrivers using libeth for managing Rx to simplify implementing MP\nsupport later.\nidpf has one libeth_fq per buffer/fill queue and each Rx queue has\ntwo fill queues, but since fill queues can never be shared, we can\nstore the corresponding Rx queue index there during the\ninitialization to pass it to libeth.\n\nReviewed-by: Jacob Keller <jacob.e.keller@intel.com>\nReviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>\nSigned-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>\n---\n drivers/net/ethernet/intel/idpf/idpf_txrx.h | 2 ++\n include/net/libeth/rx.h | 2 ++\n drivers/net/ethernet/intel/iavf/iavf_txrx.c | 1 +\n drivers/net/ethernet/intel/ice/ice_base.c | 2 ++\n drivers/net/ethernet/intel/idpf/idpf_txrx.c | 13 +++++++++++++\n drivers/net/ethernet/intel/libeth/rx.c | 1 +\n 6 files changed, 21 insertions(+)", "diff": "diff --git a/drivers/net/ethernet/intel/idpf/idpf_txrx.h b/drivers/net/ethernet/intel/idpf/idpf_txrx.h\nindex 4be5b3b6d3ed..a0d92adf11c4 100644\n--- a/drivers/net/ethernet/intel/idpf/idpf_txrx.h\n+++ b/drivers/net/ethernet/intel/idpf/idpf_txrx.h\n@@ -748,6 +748,7 @@ libeth_cacheline_set_assert(struct idpf_tx_queue, 64,\n * @size: Length of descriptor ring in bytes\n * @dma: Physical address of ring\n * @q_vector: Backreference to associated vector\n+ * @rxq_idx: stack index of the corresponding Rx queue\n * @rx_buffer_low_watermark: RX buffer low watermark\n * @rx_hbuf_size: Header buffer size\n * @rx_buf_size: Buffer size\n@@ -791,6 +792,7 @@ struct idpf_buf_queue {\n \tdma_addr_t dma;\n \n \tstruct idpf_q_vector *q_vector;\n+\tu16 rxq_idx;\n \n \tu16 rx_buffer_low_watermark;\n \tu16 rx_hbuf_size;\ndiff --git a/include/net/libeth/rx.h b/include/net/libeth/rx.h\nindex 5d991404845e..3b3d7acd13c9 100644\n--- a/include/net/libeth/rx.h\n+++ b/include/net/libeth/rx.h\n@@ -71,6 +71,7 @@ enum libeth_fqe_type {\n * @xdp: flag indicating whether XDP is enabled\n * @buf_len: HW-writeable length per each buffer\n * @nid: ID of the closest NUMA node with memory\n+ * @idx: stack index of the corresponding Rx queue\n */\n struct libeth_fq {\n \tstruct_group_tagged(libeth_fq_fp, fp,\n@@ -88,6 +89,7 @@ struct libeth_fq {\n \n \tu32\t\t\tbuf_len;\n \tint\t\t\tnid;\n+\tu32\t\t\tidx;\n };\n \n int libeth_rx_fq_create(struct libeth_fq *fq, struct napi_struct *napi);\ndiff --git a/drivers/net/ethernet/intel/iavf/iavf_txrx.c b/drivers/net/ethernet/intel/iavf/iavf_txrx.c\nindex 363c42bf3dcf..d3c68659162b 100644\n--- a/drivers/net/ethernet/intel/iavf/iavf_txrx.c\n+++ b/drivers/net/ethernet/intel/iavf/iavf_txrx.c\n@@ -771,6 +771,7 @@ int iavf_setup_rx_descriptors(struct iavf_ring *rx_ring)\n \t\t.count\t\t= rx_ring->count,\n \t\t.buf_len\t= LIBIE_MAX_RX_BUF_LEN,\n \t\t.nid\t\t= NUMA_NO_NODE,\n+\t\t.idx\t\t= rx_ring->queue_index,\n \t};\n \tint ret;\n \ndiff --git a/drivers/net/ethernet/intel/ice/ice_base.c b/drivers/net/ethernet/intel/ice/ice_base.c\nindex 1667f686ff75..f162cdfc62a7 100644\n--- a/drivers/net/ethernet/intel/ice/ice_base.c\n+++ b/drivers/net/ethernet/intel/ice/ice_base.c\n@@ -609,6 +609,7 @@ static int ice_rxq_pp_create(struct ice_rx_ring *rq)\n \tstruct libeth_fq fq = {\n \t\t.count\t\t= rq->count,\n \t\t.nid\t\t= NUMA_NO_NODE,\n+\t\t.idx\t\t= rq->q_index,\n \t\t.hsplit\t\t= rq->vsi->hsplit,\n \t\t.xdp\t\t= ice_is_xdp_ena_vsi(rq->vsi),\n \t\t.buf_len\t= LIBIE_MAX_RX_BUF_LEN,\n@@ -631,6 +632,7 @@ static int ice_rxq_pp_create(struct ice_rx_ring *rq)\n \t\t.count\t\t= rq->count,\n \t\t.type\t\t= LIBETH_FQE_HDR,\n \t\t.nid\t\t= NUMA_NO_NODE,\n+\t\t.idx\t\t= rq->q_index,\n \t\t.xdp\t\t= ice_is_xdp_ena_vsi(rq->vsi),\n \t};\n \ndiff --git a/drivers/net/ethernet/intel/idpf/idpf_txrx.c b/drivers/net/ethernet/intel/idpf/idpf_txrx.c\nindex f6b3b15364ff..95930edc566f 100644\n--- a/drivers/net/ethernet/intel/idpf/idpf_txrx.c\n+++ b/drivers/net/ethernet/intel/idpf/idpf_txrx.c\n@@ -557,6 +557,7 @@ static int idpf_rx_hdr_buf_alloc_all(struct idpf_buf_queue *bufq)\n \t\t.type\t= LIBETH_FQE_HDR,\n \t\t.xdp\t= idpf_xdp_enabled(bufq->q_vector->vport),\n \t\t.nid\t= idpf_q_vector_to_mem(bufq->q_vector),\n+\t\t.idx\t= bufq->rxq_idx,\n \t};\n \tint ret;\n \n@@ -699,6 +700,7 @@ static int idpf_rx_bufs_init_singleq(struct idpf_rx_queue *rxq)\n \t\t.type\t\t= LIBETH_FQE_MTU,\n \t\t.buf_len\t= IDPF_RX_MAX_BUF_SZ,\n \t\t.nid\t\t= idpf_q_vector_to_mem(rxq->q_vector),\n+\t\t.idx\t\t= rxq->idx,\n \t};\n \tint ret;\n \n@@ -759,6 +761,7 @@ static int idpf_rx_bufs_init(struct idpf_buf_queue *bufq,\n \t\t.hsplit\t\t= idpf_queue_has(HSPLIT_EN, bufq),\n \t\t.xdp\t\t= idpf_xdp_enabled(bufq->q_vector->vport),\n \t\t.nid\t\t= idpf_q_vector_to_mem(bufq->q_vector),\n+\t\t.idx\t\t= bufq->rxq_idx,\n \t};\n \tint ret;\n \n@@ -1913,6 +1916,16 @@ static int idpf_rxq_group_alloc(struct idpf_vport *vport,\n \t\t\t\t\t\t\tLIBETH_RX_LL_LEN;\n \t\t\tidpf_rxq_set_descids(rsrc, q);\n \t\t}\n+\n+\t\tif (!idpf_is_queue_model_split(rsrc->rxq_model))\n+\t\t\tcontinue;\n+\n+\t\tfor (u32 j = 0; j < rsrc->num_bufqs_per_qgrp; j++) {\n+\t\t\tstruct idpf_buf_queue *bufq;\n+\n+\t\t\tbufq = &rx_qgrp->splitq.bufq_sets[j].bufq;\n+\t\t\tbufq->rxq_idx = rx_qgrp->splitq.rxq_sets[0]->rxq.idx;\n+\t\t}\n \t}\n \n err_alloc:\ndiff --git a/drivers/net/ethernet/intel/libeth/rx.c b/drivers/net/ethernet/intel/libeth/rx.c\nindex 62521a1f4ec9..8874b714cdcc 100644\n--- a/drivers/net/ethernet/intel/libeth/rx.c\n+++ b/drivers/net/ethernet/intel/libeth/rx.c\n@@ -156,6 +156,7 @@ int libeth_rx_fq_create(struct libeth_fq *fq, struct napi_struct *napi)\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.queue_idx\t= fq->idx,\n \t\t.dev\t\t= napi->dev->dev.parent,\n \t\t.netdev\t\t= napi->dev,\n \t\t.napi\t\t= napi,\n", "prefixes": [ "iwl-next", "v5", "1/5" ] }