From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A523D44145; Mon, 3 Jun 2024 12:42:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9481B40647; Mon, 3 Jun 2024 12:42:37 +0200 (CEST) Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) by mails.dpdk.org (Postfix) with ESMTP id 6BC4B402CF for ; Mon, 3 Jun 2024 12:42:36 +0200 (CEST) Received: by mail-qv1-f43.google.com with SMTP id 6a1803df08f44-6ae0dca5929so19322046d6.0 for ; Mon, 03 Jun 2024 03:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717411356; x=1718016156; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=nbGU4mn1n6dqKHks9lvHYH92lIoHzhQfQCyI6GHsTuo=; b=H5Yb1WJzceBbSYixnJedrbyQtysMR1/aTdukhnML4W8CQ7//BI0i6/UHRo5fioOcVD ogLYu8fyFQwCBE3/BKIILLbViHPINElIjv+InJRL0aQlLISGgCJRPpcReMxym6G6kiMX TbOIQRWY3n2eEQF5/tfIR3n4q+KQr3SUNU/VUCOfT3lBZGnW9fKg0Qb+DbUun8aCuM0v MRgzLVFl1IM436k3CMkLgDGxdtphOmnk4ga+uMcbkidxC+7YrPw6xla9MoqU9AnGpO6H jgnvPVVzuQMJeu3f1tBnoco/HCdo1hf7t6pdOveGu4XY+DNCRYKzYCcDOvLnHKqj7V8P 8zTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717411356; x=1718016156; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nbGU4mn1n6dqKHks9lvHYH92lIoHzhQfQCyI6GHsTuo=; b=wiv0PmgEQFhFalOofmpF11khPTgRYC8Mc0nYbLpxn4KlPzhHM3MlD+qsb7MS8+Xwlr odkPmqGBLcw0IVdjxW7r8tCN/6S9RiWHxwEsvLXcEyja1clZoauQ+TuVzLef0yaKxZrk xxBNnMmbb8l0RnZdq/rOu9sQ3R+McCVjrddPpUFBjLXL1B8/3GHqCUAFLvwDkjBWc/Su c+Kh4X7dNm9onpkz7DnRAVxKSsGXswdh4KzX1mmCyDi1ZSKgLhH+z02yYCZvYH2YQSNC cKVDnBH9C0HwHd1PUj2LJ/FBomp7LiZS36j4DD5IcVukikkQsOq0fCjfk5bT+26C28ZX ypEw== X-Gm-Message-State: AOJu0YyiKjETACw9FdhV0Tky7uMevRHklV7rNJeHOE1pD+th01SEmUi7 RoL+HpaJtYGXjrd4oMRZ03k0+n8YvmIde9hmlpHMaXP2fieHafzuSs2UgLZk9N6y9V+YUB6uNEe ZrBUIjmBUXycXJtYZVkRQhPLm+VE= X-Google-Smtp-Source: AGHT+IEDSCAKMKI4PQjtCpoGYiWHRHR8yLw2Oh8PmDExF7bCZP8qtmt4mWflZi34ynY09rSDEpQvLus5KANn82jzII8= X-Received: by 2002:a05:6214:4a90:b0:6a9:5d5:431 with SMTP id 6a1803df08f44-6aecd5a319fmr127499496d6.24.1717411355438; Mon, 03 Jun 2024 03:42:35 -0700 (PDT) MIME-Version: 1.0 References: <20240527161921.183866-1-igootorov@gmail.com> In-Reply-To: <20240527161921.183866-1-igootorov@gmail.com> From: Igor Gutorov Date: Mon, 3 Jun 2024 13:41:59 +0300 Message-ID: Subject: Re: [PATCH] net/i40e: increase descriptor queue length to 8160 To: yuying.zhang@intel.com Cc: dev@dpdk.org, Igor Gutorov Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, May 27, 2024 at 7:20=E2=80=AFPM Igor Gutorov = wrote: > > 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 > --- > drivers/net/i40e/i40e_rxtx.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/i40e/i40e_rxtx.h b/drivers/net/i40e/i40e_rxtx.h > index 2f2f890855..33fc9770d9 100644 > --- a/drivers/net/i40e/i40e_rxtx.h > +++ b/drivers/net/i40e/i40e_rxtx.h > @@ -25,7 +25,7 @@ > #define I40E_RX_MAX_DATA_BUF_SIZE (16 * 1024 - 128) > > #define I40E_MIN_RING_DESC 64 > -#define I40E_MAX_RING_DESC 4096 > +#define I40E_MAX_RING_DESC 8160 > > #define I40E_FDIR_NUM_TX_DESC (I40E_FDIR_PRG_PKT_CNT << 1) > #define I40E_FDIR_NUM_RX_DESC (I40E_FDIR_PRG_PKT_CNT << 1) > -- > 2.45.1 > CC'ing to a different email (got an address rejected error, the MAINTAINERS file might need an update). Also, I've noticed that an X722 NIC is also supported by the i40e driver, but it seems the datasheet isn't on Intel's website for that NIC. Does anybody know if X722 has 4096 or 8160 usable descriptors? If someone could test this patch against X722, that would be great.