get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2189390/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2189390,
    "url": "http://patchwork.ozlabs.org/api/patches/2189390/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260127085410.79645-8-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-8-takkozu@amazon.com>",
    "list_archive_url": null,
    "date": "2026-01-27T08:54:10",
    "name": "[iwl-next,v5,3/3] igb: allow configuring RSS key via ethtool set_rxfh",
    "commit_ref": null,
    "pull_url": null,
    "state": "under-review",
    "archived": false,
    "hash": "01084c197379226f71a7136440ad885f52d0a682",
    "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-8-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/2189390/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2189390/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=9jCKQIAL;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\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 4f0fT01TtVz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 27 Jan 2026 19:58:27 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 82899822B0;\n\tTue, 27 Jan 2026 08:58:26 +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 RFyW8_UvPfUh; Tue, 27 Jan 2026 08:58:24 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 9BE7A8224E;\n\tTue, 27 Jan 2026 08:58:24 +0000 (UTC)",
            "from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n by lists1.osuosl.org (Postfix) with ESMTP id 8B40533A\n for <intel-wired-lan@lists.osuosl.org>; Tue, 27 Jan 2026 08:58:22 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp4.osuosl.org (Postfix) with ESMTP id 784A340B84\n for <intel-wired-lan@lists.osuosl.org>; Tue, 27 Jan 2026 08:58:22 +0000 (UTC)",
            "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id Fd_Ioe5NH2tW for <intel-wired-lan@lists.osuosl.org>;\n Tue, 27 Jan 2026 08:58:21 +0000 (UTC)",
            "from pdx-out-015.esa.us-west-2.outbound.mail-perimeter.amazon.com\n (pdx-out-015.esa.us-west-2.outbound.mail-perimeter.amazon.com\n [50.112.246.219])\n by smtp4.osuosl.org (Postfix) with ESMTPS id 5DA4940B76\n for <intel-wired-lan@lists.osuosl.org>; Tue, 27 Jan 2026 08:58:21 +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-015.esa.us-west-2.outbound.mail-perimeter.amazon.com with\n ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2026 08:58:17 +0000",
            "from EX19MTAUWB002.ant.amazon.com [205.251.233.111:9193]\n by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.53.66:2525]\n with esmtp (Farcaster)\n id 14b8c192-8f08-4013-8f10-c3ddba579f9f;\n Tue, 27 Jan 2026 08:58:17 +0000 (UTC)",
            "from EX19D001UWA001.ant.amazon.com (10.13.138.214) by\n EX19MTAUWB002.ant.amazon.com (10.250.64.231) 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:58:17 +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:58:15 +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 smtp1.osuosl.org 9BE7A8224E",
            "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 5DA4940B76"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1769504304;\n\tbh=uX/5mrMkeTkN9LjvZeBrGkA31EqPLswoMX6OI/4YseM=;\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=9jCKQIALLTuAtBqVRjl4RwDE/sEk8NPKSP4IuXnWkaeWuuxEYY4Y1+6u4UO73w85W\n\t t4yul5R5snnfY0c8M5j940ZrUm3o34KwXxuuXqTwZLcS4QgKXMCUPitz8aZFCLr6pp\n\t 7oL74QCfTMp1nGwEbSZCP5rXCNzNbSOy2Z1iVFy64Vjxe6Z0/4Qmzsqeq+2DvYeIJ3\n\t pzVRXHFNSPT6oSls/KLtZjnI34sJq7OPZxm4nAUnl4XSXuBNc6sO+R1FXyu3y9M1oa\n\t rKVo6b96rU9hzB4IoQLPh1NGhfazfzinWFoASZcOkIPQ/HCbNeIvRpzsBB1OlKWxRl\n\t YTYr+ZmbKA5+Q==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=50.112.246.219;\n helo=pdx-out-015.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 smtp4.osuosl.org 5DA4940B76",
        "X-CSE-ConnectionGUID": "Yuatk1bvSKOSx5SsuqALRg==",
        "X-CSE-MsgGUID": "+JWy8BhZQ7+lBNDztTlZiw==",
        "X-IronPort-AV": "E=Sophos;i=\"6.21,256,1763424000\"; d=\"scan'208\";a=\"11489358\"",
        "X-Farcaster-Flow-ID": "14b8c192-8f08-4013-8f10-c3ddba579f9f",
        "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:10 +0900",
        "Message-ID": "<20260127085410.79645-8-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": "EX19D039UWB003.ant.amazon.com (10.13.138.93) 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=1769504301; x=1801040301;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=uX/5mrMkeTkN9LjvZeBrGkA31EqPLswoMX6OI/4YseM=;\n b=DY+XRpsKxb9MMyMUOHckkSJ/GaGoVP1pJAS8OnFrsrtRI3c3MAZhJxhs\n 6O6dsFR3rhD0ysYdxvbtJBdS2HwhDVkqq2YwkLzjnWij4JnPsFnks7wSV\n vHuAgJzHxdj83HKw60cuf5h7AQ+99s2PBZP/YcXAyMo6EOFtSDKF5eyD3\n b2Ufe/zdF52nI2ryTXk2dzL29fR7uoOJs0oAqB7vaWgidJV9V52dD2ugp\n +e7x0oulX9GNfj9m17HGI0c0s8W3JTsrD0XHZBmFt7jXdipWkzgajRRye\n Dzg6Nl4JHZ+Yqd+P0d+E+d2cBA9nUnnRb7VKLDV9My2mmsacS5Qg891Dl\n Q==;",
        "X-Mailman-Original-Authentication-Results": [
            "smtp4.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=amazon.com",
            "smtp4.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=DY+XRpsK"
        ],
        "Subject": "[Intel-wired-lan] [PATCH iwl-next v5 3/3] igb: allow configuring\n RSS key via ethtool set_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": "Change igc_set_rxfh() to accept and save a userspace-provided\nRSS key. When a key is provided, store it in the adapter and write the\nE1000 registers accordingly.\n\nThis can be tested using `ethtool -X <dev> hkey <key>`.\n\nSigned-off-by: Takashi Kozu <takkozu@amazon.com>\n---\n drivers/net/ethernet/intel/igb/igb_ethtool.c | 48 +++++++++++---------\n 1 file changed, 26 insertions(+), 22 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c b/drivers/net/ethernet/intel/igb/igb_ethtool.c\nindex b387121f0ea7..b4eef14c09d5 100644\n--- a/drivers/net/ethernet/intel/igb/igb_ethtool.c\n+++ b/drivers/net/ethernet/intel/igb/igb_ethtool.c\n@@ -3357,35 +3357,39 @@ static int igb_set_rxfh(struct net_device *netdev,\n \tu32 num_queues;\n \n \t/* We do not allow change in unsupported parameters */\n-\tif (rxfh->key ||\n-\t    (rxfh->hfunc != ETH_RSS_HASH_NO_CHANGE &&\n-\t     rxfh->hfunc != ETH_RSS_HASH_TOP))\n+\tif (rxfh->hfunc != ETH_RSS_HASH_NO_CHANGE &&\n+\t    rxfh->hfunc != ETH_RSS_HASH_TOP)\n \t\treturn -EOPNOTSUPP;\n-\tif (!rxfh->indir)\n-\t\treturn 0;\n \n-\tnum_queues = adapter->rss_queues;\n+\tif (rxfh->indir) {\n+\t\tnum_queues = adapter->rss_queues;\n \n-\tswitch (hw->mac.type) {\n-\tcase e1000_82576:\n-\t\t/* 82576 supports 2 RSS queues for SR-IOV */\n-\t\tif (adapter->vfs_allocated_count)\n-\t\t\tnum_queues = 2;\n-\t\tbreak;\n-\tdefault:\n-\t\tbreak;\n-\t}\n+\t\tswitch (hw->mac.type) {\n+\t\tcase e1000_82576:\n+\t\t\t/* 82576 supports 2 RSS queues for SR-IOV */\n+\t\t\tif (adapter->vfs_allocated_count)\n+\t\t\t\tnum_queues = 2;\n+\t\t\tbreak;\n+\t\tdefault:\n+\t\t\tbreak;\n+\t\t}\n \n-\t/* Verify user input. */\n-\tfor (i = 0; i < IGB_RETA_SIZE; i++)\n-\t\tif (rxfh->indir[i] >= num_queues)\n-\t\t\treturn -EINVAL;\n+\t\t/* Verify user input. */\n+\t\tfor (i = 0; i < IGB_RETA_SIZE; i++)\n+\t\t\tif (rxfh->indir[i] >= num_queues)\n+\t\t\t\treturn -EINVAL;\n \n \n-\tfor (i = 0; i < IGB_RETA_SIZE; i++)\n-\t\tadapter->rss_indir_tbl[i] = rxfh->indir[i];\n+\t\tfor (i = 0; i < IGB_RETA_SIZE; i++)\n+\t\t\tadapter->rss_indir_tbl[i] = rxfh->indir[i];\n+\n+\t\tigb_write_rss_indir_tbl(adapter);\n+\t}\n \n-\tigb_write_rss_indir_tbl(adapter);\n+\tif (rxfh->key) {\n+\t\tmemcpy(adapter->rss_key, rxfh->key, sizeof(adapter->rss_key));\n+\t\tigb_write_rss_key(adapter);\n+\t}\n \n \treturn 0;\n }\n",
    "prefixes": [
        "iwl-next",
        "v5",
        "3/3"
    ]
}