From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f74.google.com (mail-dl1-f74.google.com [74.125.82.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5EF1D495E5 for ; Thu, 11 Jun 2026 00:24:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781137500; cv=none; b=D5y0C74f47aPaiK8bfSVc2nYtZn8ih4qo2SrNuYY0Pc5IWlqWI6pEYsDD4MNncVgiM7j9njCAnR54jaoKrehFCa8zOKP08H2r12CHmmsIV9X3IGoPcV70UgmOaL3U3MbVU7OZifz2Yke6prfOyMJWkE62Icdn6mx+yb48Y5xx10= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781137500; c=relaxed/simple; bh=xBE549hUxlfDUzO3UdRl+STPrbuxhOZnaaDsCdSdW3g=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=FDMZEPJc+k0D3D9XKnIOwGLHpJN5Bs7tTAkOrSxd8pvHQmnpQzjanRNvLCZQS4/8cpqBduL59CCsIyco1vP3G0ZAq93iquayyIujT97VjJDL8j1gA0RArJA6Q+JcpIr3zV++dtwUkGu0TJrX9biwVLBZcXv0XgsL9O38+QDVK2w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--digonzal.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=v22s4GuM; arc=none smtp.client-ip=74.125.82.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--digonzal.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="v22s4GuM" Received: by mail-dl1-f74.google.com with SMTP id a92af1059eb24-13840d96f21so1406783c88.1 for ; Wed, 10 Jun 2026 17:24:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1781137497; x=1781742297; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=D/mNN+ZL+7iwwZTVcSxzEBAbL/ejYUDxYrg2Yjp4l8w=; b=v22s4GuMHx7ewQN+DmpdrCx322JkF1v3bVQNAIUaGOoMoq969lYgq0XCWefMlagRtz rKMOPOeKuaTckb88RvCaRJcPYxgtwQ3QNlBK3NcGpHln1nc3dVyLpN7yluMyoq9SAXyL STZWvQ7p4Zjaq11kl1we2YgGe/6Z85WCl7se62o2pkGtr9GigxOcXl22Rqh4EiPFIlDC mVyV4hro3wUT6ZJ95gSpf/SWDKms2xT/XTvHC6C0vze1sxbDlWAzKLuwPZ67gGNIjDEl 3YqFc/f+enotmB27hkLtxOO2CxGj/puW0vITYAXLc//efmxL9qiRv3KeNCGkCUinvUuk SI/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781137497; x=1781742297; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=D/mNN+ZL+7iwwZTVcSxzEBAbL/ejYUDxYrg2Yjp4l8w=; b=dRBAgZiWLOpgYjFC72ab4uyo6zIbjGQf3Htz/NvIX4Wq+pSYKG8iB46zRLb8PgDt0J Ae340IgJA/pUWQ6mSRoRM35JnG+Ltovd56+2G+xfLo9Brg4UU2Vm1LDQd9UbyBh13xUi oyw0g4sh+GrKEwB9IaU6KuKeA9Z6DJQsx1ve/0F+OP0nVW8ZOXFwPjnv6LCG+oIuM0co 8ImIAxDfGQOz0gl4dVCih7dPJ05SfAhV8QhBo6796mCxenD+ioVD8B2F8LOShl7hSJjf rxb6dqf+5+mQlTt0DdiJ+xscLqIwBOojyWixa8bWDglKlom1KpvHV6VQHANlDQzC/nsg vSLQ== X-Forwarded-Encrypted: i=1; AFNElJ+zCCahDREDfqvwlEqZlHluN8Iq/gKSqrNG+3OHeDQGC6YBCDdTX+Q3UVnxbtxSfDulsxtXryFcx66+J6s=@vger.kernel.org X-Gm-Message-State: AOJu0YxDsy1D50O3Mh0p6sPrpt15hYXb7s0Z2KKu5ZN+6llcl/rzr/CK nOe42Lcgaux9bncuFBOo1KXfx9oUh1Y3GhJik+BSeJwmYdff1zNld76kpCsI7UbXNf/QMn5wouC VMsC8rBG6737ZNg== X-Received: from dlbvv8.prod.google.com ([2002:a05:7022:5f08:b0:138:9f7:2b4a]) (user=digonzal job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:50c:b0:137:ef8d:a58 with SMTP id a92af1059eb24-13842119f60mr288616c88.3.1781137497042; Wed, 10 Jun 2026 17:24:57 -0700 (PDT) Date: Thu, 11 Jun 2026 00:24:37 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.54.0.1099.g489fc7bff1-goog Message-ID: <20260611002437.1671401-1-digonzal@google.com> Subject: [PATCH iwl-net] idpf: decrease statistics refresh interval From: Danny Gonzalez To: Tony Nguyen , Przemek Kitszel , "David S. Miller" , Jakub Kicinski , Eric Dumazet , intel-wired-lan@lists.osuosl.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, David Decotigny , Anjali Singhai , Sridhar Samudrala , Brian Vazquez , Li Li , emil.s.tantilov@intel.com, stable@vger.kernel.org, Danny Gonzalez Content-Type: text/plain; charset="UTF-8" The default 10s statistics refresh interval is too slow for real-time monitoring and causes network selftests (e.g., uso.py) to fail when verifying traffic immediately after transmission. A 10s delay also causes aliasing in telemetry tools polling at shorter intervals (e.g., 5s), leading to inaccurate rate calculations on high-throughput NICs. Decrease the refresh interval to 250ms to ensure fresh stats and fix test failures. Tested: drivers/net/hw:uso.py now passes Fixes: a251eee62133 ("idpf: add SRIOV support and other ndo_ops") Signed-off-by: Danny Gonzalez --- drivers/net/ethernet/intel/idpf/idpf_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/idpf/idpf_lib.c b/drivers/net/ethernet/intel/idpf/idpf_lib.c index cf966fe6c759..e2890d219431 100644 --- a/drivers/net/ethernet/intel/idpf/idpf_lib.c +++ b/drivers/net/ethernet/intel/idpf/idpf_lib.c @@ -1364,7 +1364,7 @@ void idpf_statistics_task(struct work_struct *work) } queue_delayed_work(adapter->stats_wq, &adapter->stats_task, - msecs_to_jiffies(10000)); + msecs_to_jiffies(250)); } /** -- 2.54.0.1099.g489fc7bff1-goog