Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2189389/?format=api
{ "id": 2189389, "url": "http://patchwork.ozlabs.org/api/patches/2189389/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260127085410.79645-7-takkozu@amazon.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": "<20260127085410.79645-7-takkozu@amazon.com>", "list_archive_url": null, "date": "2026-01-27T08:54:09", "name": "[iwl-next,v5,2/3] igb: expose RSS key via ethtool get_rxfh", "commit_ref": null, "pull_url": null, "state": "under-review", "archived": false, "hash": "047a513e9c52e52023b57a0fac634fef17893dc8", "submitter": { "id": 92211, "url": "http://patchwork.ozlabs.org/api/people/92211/?format=api", "name": "Takashi Kozu", "email": "takkozu@amazon.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/20260127085410.79645-7-takkozu@amazon.com/mbox/", "series": [ { "id": 489868, "url": "http://patchwork.ozlabs.org/api/series/489868/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=489868", "date": "2026-01-27T08:54:07", "name": "igb: add RSS key get/set support", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/489868/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2189389/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2189389/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=somSR+Cj;\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 4f0fRQ1d75z1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 27 Jan 2026 19:57:06 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 7415B60F38;\n\tTue, 27 Jan 2026 08:57:04 +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 Pl8E1IgOuCp8; Tue, 27 Jan 2026 08:57:02 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id CBFB860F2D;\n\tTue, 27 Jan 2026 08:57:02 +0000 (UTC)", "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists1.osuosl.org (Postfix) with ESMTP id D7AE02F4\n for <intel-wired-lan@lists.osuosl.org>; Tue, 27 Jan 2026 08:57:01 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id BC83F409DD\n for <intel-wired-lan@lists.osuosl.org>; Tue, 27 Jan 2026 08:57:01 +0000 (UTC)", "from smtp2.osuosl.org ([127.0.0.1])\n by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id ax07aNNStjKG for <intel-wired-lan@lists.osuosl.org>;\n Tue, 27 Jan 2026 08:57:01 +0000 (UTC)", "from pdx-out-001.esa.us-west-2.outbound.mail-perimeter.amazon.com\n (pdx-out-001.esa.us-west-2.outbound.mail-perimeter.amazon.com\n [44.245.243.92])\n by smtp2.osuosl.org (Postfix) with ESMTPS id D8943404F1\n for <intel-wired-lan@lists.osuosl.org>; Tue, 27 Jan 2026 08:57:00 +0000 (UTC)", "from ip-10-5-0-115.us-west-2.compute.internal (HELO\n smtpout.naws.us-west-2.prod.farcaster.email.amazon.dev) ([10.5.0.115])\n by internal-pdx-out-001.esa.us-west-2.outbound.mail-perimeter.amazon.com with\n ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2026 08:56:58 +0000", "from EX19MTAUWC001.ant.amazon.com [205.251.233.105:27460]\n by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.40.218:2525]\n with esmtp (Farcaster)\n id 2d422e7d-f6de-45cd-9d73-b8f9930c4032;\n Tue, 27 Jan 2026 08:56:57 +0000 (UTC)", "from EX19D001UWA001.ant.amazon.com (10.13.138.214) by\n EX19MTAUWC001.ant.amazon.com (10.250.64.174) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.35;\n Tue, 27 Jan 2026 08:56:57 +0000", "from 603e5f7bc1fe.amazon.com (10.37.245.7) by\n EX19D001UWA001.ant.amazon.com (10.13.138.214) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.2562.35;\n Tue, 27 Jan 2026 08:56:55 +0000" ], "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 CBFB860F2D", "OpenDKIM Filter v2.11.0 smtp2.osuosl.org D8943404F1" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1769504222;\n\tbh=Hpm3tzHmLebq8eIS8qDAzoE8I3X/7qHvO8PMgK5y+KM=;\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=somSR+Cjgmtq/xlbuns8DJz4OM5tLS70olF7rgG5flJpF1nwcLxYgmOoc152Qr7+6\n\t dI+NPmFUuv9qx5sIwPMJrid78/Z3fWvjhwsncECEEqGKp++3u8ULi2NcujCW6xE4IW\n\t tJfihkUeM+vEC9AqDyy35J9hAxVYzkI3EyP9EiO0lWChnIv2bXXJZHyFjJ3OxBIVVt\n\t N+z5FGETTUBmr7p8L0WTCIn3QnQFzXsRO0/tcy7X4WzMfXOLoUpVBKRB46MMK85SBJ\n\t Baa/Y+95j95MpN2zbOXCnutUhBaJLkAxIe1J7kTJXbZzJzBHYuRWGavYnLP7ER2ida\n\t BRk0thIdFRduQ==", "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=44.245.243.92;\n helo=pdx-out-001.esa.us-west-2.outbound.mail-perimeter.amazon.com;\n envelope-from=prvs=4803e00d0=takkozu@amazon.co.jp; receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp2.osuosl.org D8943404F1", "X-CSE-ConnectionGUID": "PCqPgmyxTsqX5IPybaFVKA==", "X-CSE-MsgGUID": "XXDa8TXbRuydT3HlY2gr/g==", "X-IronPort-AV": "E=Sophos;i=\"6.21,256,1763424000\"; d=\"scan'208\";a=\"11205858\"", "X-Farcaster-Flow-ID": "2d422e7d-f6de-45cd-9d73-b8f9930c4032", "From": "Takashi Kozu <takkozu@amazon.com>", "To": "<anthony.l.nguyen@intel.com>", "CC": "<przemyslaw.kitszel@intel.com>, <andrew+netdev@lunn.ch>,\n <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,\n <pabeni@redhat.com>, <intel-wired-lan@lists.osuosl.org>,\n <netdev@vger.kernel.org>, <aleksandr.loktionov@intel.com>,\n <pmenzel@molgen.mpg.de>, <piotr.kwapulinski@intel.com>, <enjuk@amazon.com>,\n Takashi Kozu <takkozu@amazon.com>", "Date": "Tue, 27 Jan 2026 17:54:09 +0900", "Message-ID": "<20260127085410.79645-7-takkozu@amazon.com>", "X-Mailer": "git-send-email 2.47.0", "In-Reply-To": "<20260127085410.79645-5-takkozu@amazon.com>", "References": "<20260127085410.79645-5-takkozu@amazon.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Originating-IP": "[10.37.245.7]", "X-ClientProxiedBy": "EX19D032UWB004.ant.amazon.com (10.13.139.136) To\n EX19D001UWA001.ant.amazon.com (10.13.138.214)", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=amazon.com; i=@amazon.com; q=dns/txt; s=amazoncorp2;\n t=1769504220; x=1801040220;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=Hpm3tzHmLebq8eIS8qDAzoE8I3X/7qHvO8PMgK5y+KM=;\n b=JUebszPbD/WTGQgK0tzbyDbuiO746wfUzH7TgIKObJnVdFoRJU5lkMne\n 959ZD5sdm0UXKCqnX14oo8FFohxAoHBbYzYjPL/ZgpNqgB9JAvXhCTrqO\n TAmhSzq0zp1YxPFvYkm0Vrg838GXM8owBcQ1NA8jlLFcF8IOCfZNGsYv2\n hkaSsWB3ZqE1azLybkAtDBwlVC480PG4lpWjB0MC4ke4rTQTYexgCbFRJ\n /4fojbRV3FMHz25vdbOXgimGAsK4v2pwlFOF9SNH5jonGF2OabmMXZpJV\n vkJ03hZtG1bvMsfeVd7FKKm0nAWw6q0q9ifaM6nNd0WpLmtL7HLGlI1rY\n g==;", "X-Mailman-Original-Authentication-Results": [ "smtp2.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=amazon.com", "smtp2.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=amazon.com header.i=@amazon.com header.a=rsa-sha256\n header.s=amazoncorp2 header.b=JUebszPb" ], "Subject": "[Intel-wired-lan] [PATCH iwl-next v5 2/3] igb: expose RSS key via\n ethtool get_rxfh", "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": "Implement igb_get_rxfh_key_size() and extend\nigb_get_rxfh() to return the RSS key to userspace.\n\nThis can be tested using `ethtool -x <dev>`.\n\nReviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>\nSigned-off-by: Takashi Kozu <takkozu@amazon.com>\n---\n drivers/net/ethernet/intel/igb/igb_ethtool.c | 16 ++++++++++++----\n 1 file changed, 12 insertions(+), 4 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c b/drivers/net/ethernet/intel/igb/igb_ethtool.c\nindex a93069b761a6..b387121f0ea7 100644\n--- a/drivers/net/ethernet/intel/igb/igb_ethtool.c\n+++ b/drivers/net/ethernet/intel/igb/igb_ethtool.c\n@@ -3297,10 +3297,12 @@ static int igb_get_rxfh(struct net_device *netdev,\n \tint i;\n \n \trxfh->hfunc = ETH_RSS_HASH_TOP;\n-\tif (!rxfh->indir)\n-\t\treturn 0;\n-\tfor (i = 0; i < IGB_RETA_SIZE; i++)\n-\t\trxfh->indir[i] = adapter->rss_indir_tbl[i];\n+\tif (rxfh->indir)\n+\t\tfor (i = 0; i < IGB_RETA_SIZE; i++)\n+\t\t\trxfh->indir[i] = adapter->rss_indir_tbl[i];\n+\n+\tif (rxfh->key)\n+\t\tmemcpy(rxfh->key, adapter->rss_key, sizeof(adapter->rss_key));\n \n \treturn 0;\n }\n@@ -3340,6 +3342,11 @@ void igb_write_rss_indir_tbl(struct igb_adapter *adapter)\n \t}\n }\n \n+static u32 igb_get_rxfh_key_size(struct net_device *netdev)\n+{\n+\treturn IGB_RSS_KEY_SIZE;\n+}\n+\n static int igb_set_rxfh(struct net_device *netdev,\n \t\t\tstruct ethtool_rxfh_param *rxfh,\n \t\t\tstruct netlink_ext_ack *extack)\n@@ -3504,6 +3511,7 @@ static const struct ethtool_ops igb_ethtool_ops = {\n \t.get_module_eeprom\t= igb_get_module_eeprom,\n \t.get_rxfh_indir_size\t= igb_get_rxfh_indir_size,\n \t.get_rxfh\t\t= igb_get_rxfh,\n+\t.get_rxfh_key_size\t= igb_get_rxfh_key_size,\n \t.set_rxfh\t\t= igb_set_rxfh,\n \t.get_rxfh_fields\t= igb_get_rxfh_fields,\n \t.set_rxfh_fields\t= igb_set_rxfh_fields,\n", "prefixes": [ "iwl-next", "v5", "2/3" ] }