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 5738D45910; Thu, 5 Sep 2024 18:20:32 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3CC8E42794; Thu, 5 Sep 2024 18:20:32 +0200 (CEST) Received: from mail-oo1-f53.google.com (mail-oo1-f53.google.com [209.85.161.53]) by mails.dpdk.org (Postfix) with ESMTP id 7860B4025C for ; Thu, 5 Sep 2024 18:20:30 +0200 (CEST) Received: by mail-oo1-f53.google.com with SMTP id 006d021491bc7-5e19b1656ddso493530eaf.0 for ; Thu, 05 Sep 2024 09:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1725553229; x=1726158029; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QBoylHNntaEOFQjnDNghw6+QFelVsdfocD/lZTiBijU=; b=keRkRC1xoSKfDbBQsuIBtCyXBBfHAwYFQ99M5oYKE6I4axhmDk/CNvLsXb7zwr3ua4 rMYV8HXayy/TBVR8GIr2Wb+J8gl35exdGYyrVauHcr0ImYY0pPgGsb38LziThhs3o4Au 1lKlMGL650HHP/Jf6Mv0zjBzuPUd+5j6Wd2e3l1hxTWvTZwrbFS79UpafdKsg285Picn T6HPgvRcu8mpq6NnOU7IjLnudM85ZjR1qhRThG1e3y1Zn7d5KGiJp9+aHatozXDS4zOU 2Zd8+PXBDC3ngCU/03lg9M5bB5xfQBko+fUHwmDT0L6fzxFRtKwWKoCj8cJVEp5h3T3C pkOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725553229; x=1726158029; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QBoylHNntaEOFQjnDNghw6+QFelVsdfocD/lZTiBijU=; b=waMFuR1RJd9P/bbvDVLQ/Bj8z0YJichalkBT5dOIb7sWBLZKE2DeBOD/Xh9iPmVHy/ 3QH3yWeAEe5y64HDroyiEEqol+agg7JpdiCsxQ3z8glKGru4DaBAzcu6lgse0r3WFN1S Rv3Cy+B/7sdAOOabdlx9jjRBa+wNpOHIVEUR1OGaB3zQG6e0iwctQcBWuo6S7T5HNmHr q/7rHz+QQB9Kih6+DQ0kFQXl3myLszyMSbM5bo3twoWEDmTJa7fPgPCwYRfvhbMTU19H fRll0jVaOwXr/spCHPYOnWslfOjF/cQTkEe1K3iXLTbcfxDcRjdy85HJpxMV9Xj5UnzA KFsQ== X-Gm-Message-State: AOJu0YzIrP5+M0E00K5nl3QV37QqqwsOni8e9PKJR+RZMw3Z4650IN16 hH2DDu5nIuI/rVqSp1wnd3gsX6E1rjsL++s5QBVyoHTSqJU7yEXJ2NSM+DnuAFKa2+n85bzxqDn cQG0= X-Google-Smtp-Source: AGHT+IGoOjpLHCowOJJ4jXyMyRdJh+hVIonS4oY6CREluTIaYe3EmMaNOHvFlzIK39lgX8/5cIYwxw== X-Received: by 2002:a05:6358:898:b0:1b8:f18:3e53 with SMTP id e5c5f4694b2df-1b8117bcb29mr1258057755d.9.1725553229067; Thu, 05 Sep 2024 09:20:29 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7d4fbd8d52esm3560188a12.32.2024.09.05.09.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 09:20:28 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Tyler Retzlaff Subject: [PATCH] eal: increase max file descriptor for secondary process device Date: Thu, 5 Sep 2024 09:20:18 -0700 Message-ID: <20240905162018.74301-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The TAP and XDP driver both are limited to only 8 queues when because of the small limit imposed by EAL. Increase the limit now since this release allows changing ABI. Signed-off-by: Stephen Hemminger --- doc/guides/rel_notes/release_24_11.rst | 5 +++++ lib/eal/include/rte_eal.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_24_11.rst b/doc/guides/rel_notes/release_24_11.rst index 0ff70d9057..5af70e04c5 100644 --- a/doc/guides/rel_notes/release_24_11.rst +++ b/doc/guides/rel_notes/release_24_11.rst @@ -100,6 +100,11 @@ ABI Changes Also, make sure to start the actual text at the margin. ======================================================= +* The maximum number of file descriptors that can be passed to a secondary process + has been increased from 8 to 253 (which is the maximum possible with Unix domain + socket). This allows for more queues when using software devices such as TAP + and XDP. + Known Issues ------------ diff --git a/lib/eal/include/rte_eal.h b/lib/eal/include/rte_eal.h index c2256f832e..c826e143f1 100644 --- a/lib/eal/include/rte_eal.h +++ b/lib/eal/include/rte_eal.h @@ -155,7 +155,7 @@ int rte_eal_primary_proc_alive(const char *config_file_path); */ bool rte_mp_disable(void); -#define RTE_MP_MAX_FD_NUM 8 /* The max amount of fds */ +#define RTE_MP_MAX_FD_NUM 253 /* The max amount of fds (see SCM_MAX_FD) */ #define RTE_MP_MAX_NAME_LEN 64 /* The max length of action name */ #define RTE_MP_MAX_PARAM_LEN 256 /* The max length of param */ struct rte_mp_msg { -- 2.45.2