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 9C1874713E; Tue, 30 Dec 2025 19:21:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 20C0940267; Tue, 30 Dec 2025 19:21:12 +0100 (CET) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mails.dpdk.org (Postfix) with ESMTP id 1205C4025A for ; Tue, 30 Dec 2025 19:21:10 +0100 (CET) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4779aa4f928so102076875e9.1 for ; Tue, 30 Dec 2025 10:21:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1767118870; x=1767723670; 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=LLTcjUsBkjk5BPrd4EGxjyW2FEgozdy9xC8rdGJQphU=; b=NAtstYikSVwBXQJCsjkV6bD/2+3nJGDGyP3rirbu7G23bGILa81so83DLIxqepAYBF nLZOh9lsQ6nmDbO70haftqg1zIJWpWP300ByvVvgANa7ba90CgvNW0Domka+ZfZ2jbnd N4aS5xpNCGz42ufeU8xvtgf5WldTqtRxzQ1k27bq0nTxgfBkPgPzV6CF4UIcgbSNLZY7 MY5tc2u7s/BN0VtSSDh0NupjAJ9mHcSHnu3fXguAHSa2BvstAR0BFf6Zj6wfSNYdgzpe f4VZ6q0PzQPWV0j0n60A9lvJG/fE2UTURUv4wpeSu/n5PcR85jsjTcYGKaCu8Xf386hH /PYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767118870; x=1767723670; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from: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xBfqEYLF0W6S3 X-Google-Smtp-Source: AGHT+IEApASyvcGZrPVDbfarvORXHEHuD2C65Ojxhp2R24ToHrrVOoujduXNB21qD+OLcDhoEwLjcw== X-Received: by 2002:a05:600c:3b8f:b0:475:e09c:960e with SMTP id 5b1f17b1804b1-47d19593d0dmr521372815e9.32.1767118870473; Tue, 30 Dec 2025 10:21:10 -0800 (PST) Received: from phoenix.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47be272e46fsm641741585e9.4.2025.12.30.10.21.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Dec 2025 10:21:10 -0800 (PST) Date: Tue, 30 Dec 2025 10:21:05 -0800 From: Stephen Hemminger To: "Jasper Tran O'Leary" Cc: dev@dpdk.org, Joshua Washington Subject: Re: [PATCH] net/gve: add reset path Message-ID: <20251230102105.6f5a031c@phoenix.local> In-Reply-To: <20251230022958.3842695-1-jtranoleary@google.com> References: <20251230022958.3842695-1-jtranoleary@google.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 Tue, 30 Dec 2025 02:29:58 +0000 "Jasper Tran O'Leary" wrote: > Currently, the driver does not include any reset functionality and hence > cannot be reset by the application. This patch introduces a driver > callback for the `rte_eth_dev_reset` function which will reset the > device. > > Also, as a precaution, null out device pointers to rx and tx queue > arrays when we release the queues during a reset. > > Signed-off-by: Jasper Tran O'Leary > Reviewed-by: Joshua Washington > --- Queued to next-net