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 mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4CD64E63F29 for ; Tue, 17 Feb 2026 07:10:46 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 954C7402A2; Tue, 17 Feb 2026 08:10:45 +0100 (CET) Received: from office2.cesnet.cz (office2.cesnet.cz [78.128.248.237]) by mails.dpdk.org (Postfix) with ESMTP id E0C094029D for ; Tue, 17 Feb 2026 08:10:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=office2-2020; t=1771312243; bh=kzhJJjHCuqwtlTn0KrW13Y1Qh7YwOdFZKXn6slVUuKs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=FOkJeogQHVG+pUsOtK5d0ZBm4bczlgoJP976pCc5ysCw/jib4u4UdaOSsRG8qt56P StgkVxOfsZj1bGuwDTkp4hxxNbP1PFDh+2AiIl1fXpzTQrpgD4ZFwPaZwXYXjIndUZ pc55HS0XEsznPgdKblrtHaDwyBvdnc+U8vHPaZWORYr7vSHYwjJ6P8j7V9NnK9S5AC J36h7MR4Iyxz+FPNd9vKwzbOmmS8FWtlwv4i4QqaRGZk4x8qinZ1eyq/iP1Psdkt4b ZotAzaDu6o1GhhoUB91TkhUpXTj4S5YNwFGtU3XO7aF/cVZqHw8kURBu0X/BB++k+g a0BVU1+vjIwRw== Received: from emil.cesnet.cz (gtx107.cesnet.cz [IPv6:2001:718:812:27::107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by office2.cesnet.cz (Postfix) with ESMTPSA id B140D118008B; Tue, 17 Feb 2026 08:10:43 +0100 (CET) From: spinler@cesnet.cz To: dev@dpdk.org Cc: Martin Spinler Subject: [PATCH v10 0/8] net/nfb: rework to real multiport Date: Tue, 17 Feb 2026 08:10:32 +0100 Message-ID: <20260217071040.2855133-1-spinler@cesnet.cz> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260115151656.393106-1-spinler@cesnet.cz> References: <20260115151656.393106-1-spinler@cesnet.cz> 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 From: Martin Spinler This series implements real multiport for better user experience. The existing driver creates one ethdev/port for one PCI device. As the CESNET-NDK based cards aren't capable to represent each Ethernet port by own PCI device, new driver implementation processes real port configuration from firmware/card and switches from rte_eth_dev_pci_generic_probe to multiple rte_eth_dev_create calls. --- Depends-on: patch-37245 ("doc/nfb: update release notes for nfb driver") v10: * fixed propagated return value in nfb_eth_dev_create_for_ifc_by_port() Martin Spinler (8): net/nfb: prepare for indirect queue mapping scheme net/nfb: create one ethdev per ethernet port net/nfb: add vdev as alternative device probe method net/nfb: add device argument "port" to limit used ports net/nfb: init only MACs associated with device net/nfb: add compatible cards to driver PCI ID table net/nfb: report firmware version doc/nfb: cleanup and update guide doc/guides/nics/features/nfb.ini | 4 + doc/guides/nics/nfb.rst | 187 +++++----- doc/guides/rel_notes/release_26_03.rst | 6 + drivers/net/nfb/meson.build | 1 + drivers/net/nfb/nfb.h | 55 ++- drivers/net/nfb/nfb_ethdev.c | 493 +++++++++++++++++++------ drivers/net/nfb/nfb_rx.c | 33 +- drivers/net/nfb/nfb_rx.h | 9 +- drivers/net/nfb/nfb_tx.c | 30 +- drivers/net/nfb/nfb_tx.h | 7 +- drivers/net/nfb/nfb_vdev.c | 107 ++++++ 11 files changed, 676 insertions(+), 256 deletions(-) create mode 100644 drivers/net/nfb/nfb_vdev.c -- 2.53.0