From nobody Thu Sep 19 05:33:56 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X8PMT2h9Nz5X72X; Thu, 19 Sep 2024 05:33:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X8PMT08XSz4p3H; Thu, 19 Sep 2024 05:33:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726724037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jQU+54zaHMECZGAvQcBIJywC3jDfeM1h5oBsfyUMBAo=; b=gE6P9hYFGEB11PeNqfND8Ne2/dL0J9BvqRRajGci9iBy6bhCvB765UJLXKF4oBzoTlzcr7 U/fAddUTi+kp8fPkeJXAb0WdPxDQDgqIYjMu82fqqCglrwj3+46ovOhbRzzQgE8+le2bkR z5W5ts8qVU+7WHqwalwYiS51Uh7K8ZT0Y6JGpi3bcwY9OOyTT1GGqUjwLoR2TF8/3WluqJ EX6hO8pkErCd4w56Y0ZAyweTeJRNqzpbmvJw3kYJogujBDZLz2ORbIpUqPispEuQc5EXDL gmWYrn7W+t3ZivSiewYnaQJmOIxucN6mPp0U0Hdv7DFAUbHk87tuWXCz0ccsvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726724037; a=rsa-sha256; cv=none; b=rqlJZ692F3MKZnWxlzZiAUcdwJynULxtKkb9QxvPdwuJL1pftnqK9TLhJBY9C5g/GK0TS1 o3WjxQKhA4SRPu/b3UMhwElMZXB7xDnMwQba6Iz/A2R2LCUz62o3unBh0NjEetApBHGIrC M3nsHOiW4inbWCPU4gaa+65R77FZiFTMfl55RsZfSG8utYrLAInMwCiRbF1lNLoUGUyI+X SwLjV6r2BSLf1xbDEqxURd5MTqF4E+DvEV2ddaMrhRIceZ0hoWS9plnbndL2HKeUhqtxZ2 oKbrYIS+qyEs9BaTi48dN5iuXiN78xz/T1QnpMFiRukdhXKoT4RrVglH4rZwKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726724037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jQU+54zaHMECZGAvQcBIJywC3jDfeM1h5oBsfyUMBAo=; b=ahPfAJROhtqXTwUS6EtOtNRoEXjH+Im+eB0M8waZPzy04V9e77HM4XFlMLS8uA+UDIwVGK 6y55qj78PH0o6SY0pzPdhbPPAHnQtBUdGeKLTNjwNRFFUALo0YplZMxZT9q+T89fwEUhtU LYp/+7H7POsx/k6ZzcmJad29dqyKOYCq62zcOLKzuksBr6iVuzgh0BaBNwSK69e5rFDIYH sHTz39F4xLjs08kAkeHyXZI6wZfrvN8QDhIFMungAIbHj66hhlV4bm8W97I+rM/qRj0kC5 35TgbT46KanGHRbnRAmqc0D0rvVfCQXuurzIC7pdMSIbwB0AurF71XQ7yU4M1g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X8PMS6tZlztCv; Thu, 19 Sep 2024 05:33:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48J5Xus7033656; Thu, 19 Sep 2024 05:33:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48J5XuUW033653; Thu, 19 Sep 2024 05:33:56 GMT (envelope-from git) Date: Thu, 19 Sep 2024 05:33:56 GMT Message-Id: <202409190533.48J5XuUW033653@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 14561f1eda85 - main - ixl: Increase tx/rx ring size to 8160 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 14561f1eda85fabfba2d764ca11e064ed871224e Auto-Submitted: auto-generated The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=14561f1eda85fabfba2d764ca11e064ed871224e commit 14561f1eda85fabfba2d764ca11e064ed871224e Author: Kevin Bowling AuthorDate: 2024-09-19 05:30:24 +0000 Commit: Kevin Bowling CommitDate: 2024-09-19 05:30:24 +0000 ixl: Increase tx/rx ring size to 8160 I've verified the tx queue (table 8-22) in addition. DPDK commit message net/i40e: increase max descriptor queue length According to the Intel X710/XXV710/XL710 Datasheet, the maximum receive queue descriptor length is 0x1FE0 (8160 in base 10). This is specified as QLEN in table 8-12, page 1083. I've tested this change with an XXV710 NIC and it has positive effect on performance under high load scenarios. Where previously I'd get ~2000 packets/sec miss rate, now I get only ~40 packets/sec miss rate. Signed-off-by: Igor Gutorov Acked-by: Morten Brørup Acked-by: Bruce Richardson Obtained from: DPDK (ce9470f) MFC after: 1 week --- sys/dev/ixl/ixl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ixl/ixl.h b/sys/dev/ixl/ixl.h index f45354d29300..042e4e3e6e1a 100644 --- a/sys/dev/ixl/ixl.h +++ b/sys/dev/ixl/ixl.h @@ -122,7 +122,7 @@ * The driver currently always uses 32 byte Rx descriptors. */ #define IXL_DEFAULT_RING 1024 -#define IXL_MAX_RING 4096 +#define IXL_MAX_RING 8160 #define IXL_MIN_RING 64 #define IXL_RING_INCREMENT 32