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 5BF0945D9B; Sun, 24 Nov 2024 19:13:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C5BF402AC; Sun, 24 Nov 2024 19:12:59 +0100 (CET) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id 1BF8840150 for ; Sun, 24 Nov 2024 19:12:57 +0100 (CET) Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-21260cfc918so25722395ad.0 for ; Sun, 24 Nov 2024 10:12:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1732471976; x=1733076776; 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=H40aGwCAaOhBCkX4415CMnH5tm2kfVpTBIAW9xm1NiY=; b=K6udidwz/CKAgyY4FWv8DJSoRFK/JKLlm4ILuzy5DoSCVPJ6ihUcOLkOEPBJMh2kEo brq3tHVc+0ZpnxH6LhjzGs8vhp4LqYCCX+5JFjvS43yuliIWMGQG3nTV3FJmwVDcyAlz +2kPdDULX1XkO+egLJGmG+IFdvagNG7dC9T8toiGUlw26dXlSg1G/akvMyeRxSHl9OyQ JXFWACYsGo2YuBoMdkUHv0qUJzrWQG9CAuqWY8e6qQVu4cde4yyD2m4fa7aOc4vmw2b8 ga8ZnDaznRhO0I4KhHx5cRTI2Hiyu18S6R8ggEGIko1GiYXjD5r2RShWqbss0rxv/ErG teoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732471976; x=1733076776; 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=H40aGwCAaOhBCkX4415CMnH5tm2kfVpTBIAW9xm1NiY=; b=SJ+PkYTriC7VrQzApFrjCtcMk8RF49wtiHyAJ15XOTb88RoRseQ98aBdhgNHER4paP qV9ziGMp8IjKV4/fH1IFxki6Qnzd1Mmcd89hbuGJbdNPMOBo2D1Gkny3AdtmDcHyltnP zPl1OFlxx3qIh3qTFv3zWZCmzJCjeVywEqqlAp6K/vO0S5z7nsVCkP8p59DE+pKjPOqg dU2U55qjW/7wSrtQTibEh/HnfuHzVfAXfRF5iBbfjpiyrNJAHMLpj7CXwfu85GNf3VdN KaDKZ2pGfzQuefOoJtaPutKgSiZoxpOjDrF8xsxpB5YTV6TrMAsl5f4JmNvU8qJW+EeY tnCg== X-Forwarded-Encrypted: i=1; AJvYcCUHcyL24k6IozfwuA6xvlfjJYjwbcmcf2BZpH+5P10hMFh+1BDR8X5RaQ0NzxfAYM2NTEY=@dpdk.org X-Gm-Message-State: AOJu0Ywl1JAQbGf8WYlDxaXh52W3sESRPFENRWKz14gLV7HJqeL8Cpsu gY7afHW9bvd7vA349VMzLydHG4igQ5P6vHcjrXZ6DcQRYd++U2vOBS34uc8lCns= X-Gm-Gg: ASbGncswknigxPDi6tJwE6bDk+uadVBrhvnSATqfS97dNX9Kwd9iJSrtxpJg0Rc9RwP lf5G+3SYDuFUIDiqBQdd9GDFEiPt9e52/NjSXXnXL566cnDtRbtV8/O8Q+PJACUcvUpxyCbB00W Rq5k0RAOgL6wT5mparwwS8tr6a0OlkFX66Q8mHvH6Jxf1xN9Tzevc3SfazWNtQoe+pf1yWQMHOL 6jzAEZbWTcuBRytSoiUZXkLnoXK13ZpCoCaMSGuf7sR7jmc0sUL7CItvpiUr9WxcDiEVitjm2t+ pBjRI4BcXm32LTGk7n+OYT82PGE= X-Google-Smtp-Source: AGHT+IGI5Ej4cD7Jn98ij4XXRbK5dVz6M57N3dJHSAfg49ciRyyVjraswuamICeT3ldCbriZODmS0Q== X-Received: by 2002:a17:902:ea09:b0:20c:f648:e39b with SMTP id d9443c01a7336-2129f72ffe0mr139453925ad.11.1732471976223; Sun, 24 Nov 2024 10:12:56 -0800 (PST) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2129dba1890sm49207975ad.78.2024.11.24.10.12.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2024 10:12:56 -0800 (PST) Date: Sun, 24 Nov 2024 10:04:44 -0800 From: Stephen Hemminger To: Min Zhou Cc: ferruh.yigit@amd.com, aman.deep.singh@intel.com, dev@dpdk.org Subject: Re: [v2 1/1] app/testpmd: use RSS conf from software when configuring DCB Message-ID: <20241124100444.3d6d111f@hermes.local> In-Reply-To: <20241120093746.12387-1-zhoumin@loongson.cn> References: <20230412095239.1709477-1-zhoumin@loongson.cn> <20241120093746.12387-1-zhoumin@loongson.cn> 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 Wed, 20 Nov 2024 17:37:46 +0800 Min Zhou wrote: > In the testpmd command, we have to stop the port firstly before configuring > the DCB. However, some PMDs may execute a hardware reset during the port > stop, such as ixgbe. Some kind of reset operations of PMD could clear the > configurations of RSS in the hardware register. This would cause the loss > of RSS configurations that were set during the testpmd initialization. As > a result, I find that I cannot enable RSS and DCB at the same time in the > testpmd command when using Intel 82599 NIC. > > The patch uses rss conf from software instead of reading from the hardware > register when configuring DCB. > > Signed-off-by: Min Zhou Applied to next-net