Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2220189/?format=api
{ "id": 2220189, "url": "http://patchwork.ozlabs.org/api/patches/2220189/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260406145641.1020623-1-jtornosm@redhat.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": "<20260406145641.1020623-1-jtornosm@redhat.com>", "list_archive_url": null, "date": "2026-04-06T14:56:41", "name": "[net] ice: fix VF queue configuration with low MTU values", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "74187f4605f30a0dc4e380910d688761ac68bead", "submitter": { "id": 93070, "url": "http://patchwork.ozlabs.org/api/people/93070/?format=api", "name": "Jose Ignacio Tornos Martinez", "email": "jtornosm@redhat.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20260406145641.1020623-1-jtornosm@redhat.com/mbox/", "series": [ { "id": 498872, "url": "http://patchwork.ozlabs.org/api/series/498872/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=498872", "date": "2026-04-06T14:56:41", "name": "[net] ice: fix VF queue configuration with low MTU values", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498872/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2220189/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2220189/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=HH/MwLc4;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=osuosl.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=intel-wired-lan-bounces@osuosl.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\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 4fqCbd3bCqz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 07 Apr 2026 01:16:45 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id C53C24094A;\n\tMon, 6 Apr 2026 15:16:39 +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 q3TSM-Caxqxx; Mon, 6 Apr 2026 15:16:39 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 343E24092A;\n\tMon, 6 Apr 2026 15:16:39 +0000 (UTC)", "from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n by lists1.osuosl.org (Postfix) with ESMTP id 65FDA2EF\n for <intel-wired-lan@lists.osuosl.org>; Mon, 6 Apr 2026 14:57:07 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp2.osuosl.org (Postfix) with ESMTP id 4B7D040087\n for <intel-wired-lan@lists.osuosl.org>; Mon, 6 Apr 2026 14:57:07 +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 XXmoDHhkv-jp for <intel-wired-lan@lists.osuosl.org>;\n Mon, 6 Apr 2026 14:57:06 +0000 (UTC)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by smtp2.osuosl.org (Postfix) with ESMTPS id 3AAD240084\n for <intel-wired-lan@lists.osuosl.org>; Mon, 6 Apr 2026 14:57:05 +0000 (UTC)", "from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-136-Ud8GiP5gOFOsWtcJA2JLkw-1; Mon,\n 06 Apr 2026 10:56:57 -0400", "from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id C169A1800283; Mon, 6 Apr 2026 14:56:54 +0000 (UTC)", "from fedora.redhat.com (unknown [10.44.48.51])\n by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id C419019540C4; Mon, 6 Apr 2026 14:56:48 +0000 (UTC)" ], "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 smtp4.osuosl.org 343E24092A", "OpenDKIM Filter v2.11.0 smtp2.osuosl.org 3AAD240084" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org;\n\ts=default; t=1775488599;\n\tbh=0UsJTdLotzHUfNK/rfhKfTZZocm2SY/j7tRKh0ACf/A=;\n\th=From:To:Cc:Date:Subject:List-Id:List-Unsubscribe:List-Archive:\n\t List-Post:List-Help:List-Subscribe:From;\n\tb=HH/MwLc4gTEvOdoLN8r3/aw1vJVdJ0G/bGfkPbv8YCaRzjLU+JUBDj8MJ9IBebXEe\n\t QWdlMotdvdONJZYonYocVdyCxeUL8djFTkK/kxPVWXk5lZA60BM8tl512ykvZG4uzo\n\t WtH/uKtdcoE5FjLGST55CsLK8ofbnHsGuPQy5ePOo4z2jBz/Rm/Ljrq5EP2rmRP/od\n\t bnTp9vh2uJMUGunCaIeh0ZgJ1lAkHJI9PkmXC3yJlOQM0yicEEbN4KQ4i+DPDxeBaH\n\t cpGta4+EpoKG9/8Jcw1o7tMOtDTWhawlvTeCC+ZjR8XEV/99NhrmdLfiE6jBtqV6u4\n\t DYki8xoP0p87g==", "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=170.10.133.124;\n helo=us-smtp-delivery-124.mimecast.com; envelope-from=jtornosm@redhat.com;\n receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp2.osuosl.org 3AAD240084", "X-MC-Unique": "Ud8GiP5gOFOsWtcJA2JLkw-1", "X-Mimecast-MFC-AGG-ID": "Ud8GiP5gOFOsWtcJA2JLkw_1775487415", "From": "Jose Ignacio Tornos Martinez <jtornosm@redhat.com>", "To": "intel-wired-lan@lists.osuosl.org", "Cc": "netdev@vger.kernel.org, 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>, Jacob Keller <jacob.e.keller@intel.com>,\n Aleksandr Loktionov <aleksandr.loktionov@intel.com>,\n Michal Swiatkowski <michal.swiatkowski@linux.intel.com>,\n Dave Ertman <david.m.ertman@intel.com>,\n Michal Kubiak <michal.kubiak@intel.com>,\n Jose Ignacio Tornos Martinez <jtornosm@redhat.com>, stable@vger.kernel.org", "Date": "Mon, 6 Apr 2026 16:56:41 +0200", "Message-ID": "<20260406145641.1020623-1-jtornosm@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.17", "X-Mimecast-MFC-PROC-ID": "Jpx22kVv-WkDefamkL8qve4HeB_YUQFqjk6gHGibVaw_1775487415", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "content-type": "text/plain; charset=\"US-ASCII\"; x-default=true", "X-Mailman-Approved-At": "Mon, 06 Apr 2026 15:16:35 +0000", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com;\n s=mimecast20190719; t=1775487423;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=0UsJTdLotzHUfNK/rfhKfTZZocm2SY/j7tRKh0ACf/A=;\n b=i9ShW3GXk4QVX9keUNoIQR7/rWGw1/LsXucYNF0s5rcBT7tdCmeNIjgJ7+Z/PsSILpeh0g\n i7B7oE3kvxHL93Dacciz1VQBtkrxNZAm5CKv2o5iXpIsi6cExiLqjfcrQj4oFYhd7LP4wL\n MTrKl8OwibS/WVZyP6bbGgggR0bhzT4=", "X-Mailman-Original-Authentication-Results": [ "smtp2.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com", "smtp2.osuosl.org;\n dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.a=rsa-sha256 header.s=mimecast20190719 header.b=i9ShW3GX" ], "Subject": "[Intel-wired-lan] [PATCH net] ice: fix VF queue configuration with\n low MTU values", "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": "The ice driver's VF queue configuration validation rejects\ndatabuffer_size values below 1024 bytes, which prevents VFs from\nusing MTU values below 871 bytes.\n\nThe iavf driver calculates databuffer_size based on the MTU using:\n databuffer_size = ALIGN(MTU + LIBETH_RX_LL_LEN, 128)\n\nwhere LIBETH_RX_LL_LEN = 26 (ETH_HLEN + 2*VLAN_HLEN + ETH_FCS_LEN).\n\nFor MTU values below 871:\n MTU 870: 870 + 26 = 896, aligned to 128 = 896 (< 1024, rejected)\n MTU 871: 871 + 26 = 897, aligned to 128 = 1024 (>= 1024, accepted)\n\nThe 1024-byte minimum seems unnecessarily restrictive, because the hardware\nsupports databuffer_size as low as 128 bytes (the alignment boundary),\nwhich should allow MTU values down to the standard minimum of 68 bytes.\n\nI haven't found the reason why the limit was configured in the commit\n9c7dd7566d18 (\"ice: add validation in OP_CONFIG_VSI_QUEUES VF message\"), so\nwith no more information and since it is working, change the minimum\ndatabuffer_size validation from 1024 to 128 bytes to allow standard low\nMTU values while still preventing invalid configurations.\n\nFixes: 9c7dd7566d18 (\"ice: add validation in OP_CONFIG_VSI_QUEUES VF message\")\ncc: stable@vger.kernel.org\nSigned-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>\n---\n drivers/net/ethernet/intel/ice/virt/queues.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/ethernet/intel/ice/virt/queues.c b/drivers/net/ethernet/intel/ice/virt/queues.c\nindex f73d5a3e83d4..31be2f76181c 100644\n--- a/drivers/net/ethernet/intel/ice/virt/queues.c\n+++ b/drivers/net/ethernet/intel/ice/virt/queues.c\n@@ -840,7 +840,7 @@ int ice_vc_cfg_qs_msg(struct ice_vf *vf, u8 *msg)\n \n \t\t\tif (qpi->rxq.databuffer_size != 0 &&\n \t\t\t (qpi->rxq.databuffer_size > ((16 * 1024) - 128) ||\n-\t\t\t qpi->rxq.databuffer_size < 1024))\n+\t\t\t qpi->rxq.databuffer_size < 128))\n \t\t\t\tgoto error_param;\n \n \t\t\tring->rx_buf_len = qpi->rxq.databuffer_size;\n", "prefixes": [ "net" ] }