From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E422DC79F9E for ; Mon, 5 Jan 2026 16:18:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id A36B04038D; Mon, 5 Jan 2026 16:18:30 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id YVK8Pe-3Bqfg; Mon, 5 Jan 2026 16:18:28 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org DB3F0402CB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1767629908; bh=otefy10bqMQ6Rkz8jl3RITolqSd8NKK7YcepSO+lkXo=; h=Date:In-Reply-To:References:To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=AvZ44qjPS9JxOh1DaMNLoXDEMTkMCICwnImeTdtQeJLH5Ie+M1aIjyvc8TdGdmVln vIgjtcwrcw/L4WPrDSlLnwlRm03+pU/bhjTuyZKo6Y5bY4ncguZMGN9eOq8mC6QiWc dlC5fdTwUipqZqYfbadzLG2lPI30w/BACVRmHbfXegBqHa3qxKgJNVaLIdNGzoAT4V ds5nc5Zz+nTO3aEXhazHdgBykdNTX0100T40Ph0f6/tzdApEI1dDNGSB4vrulSUwav FdsG5o8muW6V5eOhL5sDmkcs42U5EGO1mpHIcO9Ddogc4WZ9SQoEsW4gt0hgyxmvUq W4bpirDZ2+2Xw== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id DB3F0402CB; Mon, 5 Jan 2026 16:18:28 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists1.osuosl.org (Postfix) with ESMTP id 4A107277 for ; Tue, 30 Dec 2025 23:24:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 3ADF460BAC for ; Tue, 30 Dec 2025 23:24:27 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id E81TKS8cYioj for ; Tue, 30 Dec 2025 23:24:26 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::64a; helo=mail-pl1-x64a.google.com; envelope-from=3kv9uaqkkd4orsq27+uw7u22uzs.q20w17sz-aw5sr-zo1zw676.26826z.25u@flex--decot.bounces.google.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org 2C67960BAA DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 2C67960BAA Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2C67960BAA for ; Tue, 30 Dec 2025 23:24:25 +0000 (UTC) Received: by mail-pl1-x64a.google.com with SMTP id d9443c01a7336-2a0dabc192eso238676855ad.0 for ; Tue, 30 Dec 2025 15:24:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767137065; x=1767741865; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=otefy10bqMQ6Rkz8jl3RITolqSd8NKK7YcepSO+lkXo=; b=qlcwuTxmHmpJeR7c255IYXdCgkoN4oO+QxYSlG6XLxZbPBnSiY4OSsVS4LGBX2dqvP ac3KtKbMazk/wLGNMc5BZYLYBkKJV+BiZ7pw3APWKY7+CZKMq9dJg68fKfEHRjCAaQ4p HXh54QIN4SXs04p0nnsTYX56uud7zbzKHjZ8RcXZ2M680LvTI2bXqAXwBN8gwjwmNyzI Q2VPch3I0RaU6l19y8avnSQhPXxGXxRHamO6UplOOxYFC4QLqAxGw618lzltaL2/vLfq R0yhC5CVDzcN3u8+8CkwfnVUmNaowmoi18je8QIr7LUfxlFrz3VYnBz8r8y9bx3BSVxl T+dg== X-Gm-Message-State: AOJu0YwX9GHjxojpDES0rP/jeaDri+O22qKRQMGkoaCADOiXyV2ukuwU wflzhIfbGdE7wXyIskj3ri6H7zpgqRIBVZ6Kys0XPRIAkuKMXaoVoQSTyApla8xENfSbiGUTtto AiloaYxMiwn5yJiePXsGBdNKTTB2i80lHxGoKXxtWyHyxmcl1J5VSF0UjQ6y714kS7s+mZKKBT4 LefPeDnYkXTegK6xs2+eIQATAr8QVibqHEhIZqOJgihpNF X-Google-Smtp-Source: AGHT+IHqR/6lsYHNU7FNcWu3yhSTAtOgs3q5BmJ4yTy19weMjJ3YUksVel4kP5W/QptL5Y2q7QbRD4Sv8Q== X-Received: from plzu9.prod.google.com ([2002:a17:902:82c9:b0:2a0:8cbb:6431]) (user=decot job=prod-delivery.src-stubby-dispatcher) by 2002:a17:903:3c6e:b0:2a0:c1e4:e25 with SMTP id d9443c01a7336-2a2f293bdc3mr328462765ad.54.1767137065078; Tue, 30 Dec 2025 15:24:25 -0800 (PST) Date: Tue, 30 Dec 2025 15:23:46 -0800 In-Reply-To: <20251103212036.2788093-1-joshua.a.hay@intel.com> Mime-Version: 1.0 References: <20251103212036.2788093-1-joshua.a.hay@intel.com> X-Mailer: git-send-email 2.52.0.351.gbe84eed79e-goog Message-ID: <20251230232400.3515704-1-decot+git@google.com> To: intel-wired-lan@lists.osuosl.org Cc: netdev@vger.kernel.org, Joshua Hay , Alexander Lobakin , Madhu Chittim , David Decotigny Content-Type: text/plain; charset="UTF-8" X-Mailman-Approved-At: Mon, 05 Jan 2026 16:18:27 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1767137065; x=1767741865; darn=lists.osuosl.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=otefy10bqMQ6Rkz8jl3RITolqSd8NKK7YcepSO+lkXo=; b=k3x92C95OoPOBJKMsWaLw24gjDQ/Y/1VYdrBZbhra+NygaJTo5B4bPQmmv99AKXOSV T8wwG2NOW0fhIdnm7Qh+PYBc2u66XOLHE2QKpGUzFBpiKwHKhSfuORBgGKwcX1OVtlmt mQOPqmn8xOilK0Ko7lai7NfuE3smgtTh6n9JlKaikVXJivq7M9UeIdIrJyRzgEt4+R1A bDPrwveZdv4Zo7QC/r/X3q1Uv2TrTgItP/wdqS3sYm+BDNHk16xP59PBXKEwVjvEzUay 2ToshZXXZuPyD+gCD1ZNBSO8Vh47M6Se3TTEH+oeuiOcNs687FzLGuk9XsSGYsnhAUrA jrwQ== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=reject dis=none) header.from=google.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=k3x92C95 Subject: Re: [Intel-wired-lan] [PATCH iwl-net] idpf: cap maximum Rx buffer size X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: David Decotigny via Intel-wired-lan Reply-To: David Decotigny Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On 11/3/2025 1:20 PM, Joshua Hay wrote: > The HW only supports a maximum Rx buffer size of 16K-128. On systems > using large pages, the libeth logic can configure the buffer size to be > larger than this. The upper bound is PAGE_SIZE while the lower bound is > MTU rounded up to the nearest power of 2. For example, ARM systems with > a 64K page size and an mtu of 9000 will set the Rx buffer size to 16K, > which will cause the config Rx queues message to fail. > > Initialize the bufq/fill queue buf_len field to the maximum supported > size. This will trigger the libeth logic to cap the maximum Rx buffer > size by reducing the upper bound. > > Fixes: 74d1412ac8f37 ("idpf: use libeth Rx buffer management for payload buffer") > Signed-off-by: Joshua Hay > Acked-by: Alexander Lobakin > Reviewed-by: Madhu Chittim > --- Reviewed-by: David Decotigny