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 1B54146054; Fri, 17 Jan 2025 17:51:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB54240294; Fri, 17 Jan 2025 17:51:06 +0100 (CET) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id 133A24028F for ; Fri, 17 Jan 2025 17:51:06 +0100 (CET) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-21619108a6bso42281485ad.3 for ; Fri, 17 Jan 2025 08:51:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1737132665; x=1737737465; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=K5HZStZ0vjr8JEH9QVSAS9QuaOb4EbB2aMPpsvat/og=; b=2VKTx8jdsXnkZGdP/Kz3BZE6VfTyIIibfIBbvXJRDUz9Rx2pdC3SKym4Zuxo24QqHT gPRsaBxjaKTtyzV9cUvKXBqGi3NX8s/AZifdUNq+XAGBY05iVIluIU1HygundJBSVQHm YcF4LZCkz7EYozBcZCurxWbdVlmFKdM9NfcfQf32yNaWdji00Aa+nCJTeGw5+M4irhM3 dyfGvsZbr036fHJ/5vKWVCFfRB7eWNQilejeUNM7199+3CaWMv+QAwwdB/yCGttkaSHa VJ1pV8g5QC34jKb/vYrOCC2m3EafSPwofPbCxo74toAyZF9rpJnxwXjFi73dtK+8bDnX Dh3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737132665; x=1737737465; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K5HZStZ0vjr8JEH9QVSAS9QuaOb4EbB2aMPpsvat/og=; b=WX04K1dh+1ksEmNDh6iijM5mO0fqRJvTEEoDw7sm8AGA2fuRahIO9XqMOb9xmTP8jG ab5ssmXl+tRHSihYqmjOExciVt5HaCwbYmHGv3UOEcdZ9xbiWOn4iTrM2JQudO1HZySe B7Lgn8SYcNPkx2qb5Xmc/LWzHfXImSwCt68HX3DLgz4ZL2JYjCjRcz/NYjwzUl1KjlwU InKlOngb3Te02TsfuaJaB4+6LESFmT2YiyLnmWwZ1dwzPD54kiO29pB16GAAsdAYPTlW Q5QHsuV09HTaUhq9M9jc8UOzdGsehEtJwyYoUjTZQzjHW6PfJcHW9reitwmexiRfLM5F NdTw== X-Gm-Message-State: AOJu0YwFPo9AGf7VWe5KEcXwZqE7kMbnGhipLss5OUpQ+CqMSBqfg3xl J4YUgiSojf80aszFReG1CwNDiAiE6Qqi0Wl38tWH9W6dalbTeSiW9Y9Y7UUizMc= X-Gm-Gg: ASbGncsU/V0Of/LGRymlqsGe2JH5aw7Qh6gzGZATxtRXOtQhobpp15niMewKt3HmR6r lGbs+jJNEhCsjwbc6r9vJYPCTunV7BDCn4/uD/NYEqaGjRoOgBmhKs/QvlQre1WjBn+JPX8KfJc pDhHhcKT50EI5W3T3YgCHjP02G+Dx4p0rzu94FkMss3P/CMAOw2gPD1ktNLC0kYzjUC/ZPIPFkv w9uwskm33ECVBh2BsbXQSzdb16HJ0DwYoI0O6P11cV8e9Fn0Wxx+jVOg6ajNU5Xl/edvlYXklrC x4geM6M2v35ytpeDgsfgq/Vv8V3fT5q8Rw== X-Google-Smtp-Source: AGHT+IE8Vve14JdEQgReQ5tN6FBYuZ4uc5BRqTjDH8IenYhiAZjjqK6JyBZuZMv855TJG1AWwrZ/RA== X-Received: by 2002:a17:902:e5ce:b0:216:6590:d472 with SMTP id d9443c01a7336-21c3551ae48mr56569005ad.21.1737132664998; Fri, 17 Jan 2025 08:51:04 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21c2d3acf50sm18207545ad.143.2025.01.17.08.51.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 08:51:04 -0800 (PST) Date: Fri, 17 Jan 2025 08:51:02 -0800 From: Stephen Hemminger To: Zaiyu Wang Cc: dev@dpdk.org, Jiawen Wu , Anatoly Burakov Subject: Re: [PATCH v2 01/15] net/ngbe: add ethdev probe and remove for VF device Message-ID: <20250117085102.0a48e8cc@hermes.local> In-Reply-To: <20250117104115.16528-2-zaiyuwang@trustnetic.com> References: <20250109040227.1016-1-zaiyuwang@trustnetic.com> <20250117104115.16528-1-zaiyuwang@trustnetic.com> <20250117104115.16528-2-zaiyuwang@trustnetic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Fri, 17 Jan 2025 18:41:00 +0800 Zaiyu Wang wrote: > Introduce virtual function driver in ngbe PMD, add simple init and > uninit function to probe and remove the device. > > Signed-off-by: Zaiyu Wang > --- > doc/guides/nics/features/ngbe_vf.ini | 11 ++ > drivers/net/ngbe/base/meson.build | 1 + > drivers/net/ngbe/base/ngbe.h | 1 + > drivers/net/ngbe/base/ngbe_hw.c | 4 + > drivers/net/ngbe/base/ngbe_vf.c | 26 +++++ > drivers/net/ngbe/base/ngbe_vf.h | 13 +++ > drivers/net/ngbe/meson.build | 1 + > drivers/net/ngbe/ngbe_ethdev_vf.c | 163 +++++++++++++++++++++++++++ > 8 files changed, 220 insertions(+) > create mode 100644 doc/guides/nics/features/ngbe_vf.ini > create mode 100644 drivers/net/ngbe/base/ngbe_vf.c > create mode 100644 drivers/net/ngbe/base/ngbe_vf.h > create mode 100644 drivers/net/ngbe/ngbe_ethdev_vf.c > > diff --git a/doc/guides/nics/features/ngbe_vf.ini b/doc/guides/nics/features/ngbe_vf.ini > new file mode 100644 > index 0000000000..71e7b8be81 > --- /dev/null > +++ b/doc/guides/nics/features/ngbe_vf.ini > @@ -0,0 +1,11 @@ > +; > +; Supported features of the 'ngbe_vf' network poll mode driver. > +; > +; Refer to default.ini for the full list of available PMD features. > +; > +[Features] > +Multiprocess aware = Y > +Linux = Y > +ARMv8 = Y > +x86-32 = Y > +x86-64 = Y > \ No newline at end of file NAK Fix you editor settings.