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 3037D45AD8; Mon, 7 Oct 2024 20:09:41 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13539402DD; Mon, 7 Oct 2024 20:09:41 +0200 (CEST) Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mails.dpdk.org (Postfix) with ESMTP id 10BC54021E for ; Mon, 7 Oct 2024 20:09:40 +0200 (CEST) Received: by mail-pg1-f177.google.com with SMTP id 41be03b00d2f7-7db637d1e4eso3437493a12.2 for ; Mon, 07 Oct 2024 11:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1728324579; x=1728929379; 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=u4YVeec7JWtUJGYGlHl+oagAPdxl6C3k3jEYibKi+sc=; b=Q3ITyHe8d6UHydiBY6TvqDDWt7Yycjj2CXGB34svxHxedgSwtIX3ZR9g0Jk7ZVX2HQ hDIRLtUOg9its2+KZrZlKcgYBpOBKfr12fDFha77oZ/e73pDetmJAjYyUIbddkmEf/GA EyX/Pa92w6+lovpLLI5O6VSnx0/wthA3MtxDpz3sXbg/h4UkLEPxBx7aZEUDNPFx3u9O 9NMKwdMSBh6BBGp5TD86TKcrr/+R3411/xKwL6/i+7zQasx1JcizZ+JJF4luW4dEb57q 9QBWWyZY23vUkqnPIqprsvXcngww7CvOqiGCbvkqCy0MFkq7sKKLqmnhXqX5mnZNHXA+ 1Rnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728324579; x=1728929379; 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=u4YVeec7JWtUJGYGlHl+oagAPdxl6C3k3jEYibKi+sc=; b=Ln59JpomAOr4xEvpgaTo8PF/S4TuT9s59wk6bsWdcZoJYOBV7urQeccT80B03lFh/+ PJmlnkdn2TVmmdZ1mTauMVPGre3+WfiwKi4MDzoTFaQC7Sx+ttF0vyYaSE1mLx0sL95d ZiCyg4Bx/HhF1BfttKQW+N1RP+Mkpth9NZWM7aiJCBQZoaqGU91WNpg7W/5s0cCcky2s 00o3gdflz7U829KRC0D7M9Gtat7vXk7Z2DHC3u//RO4qsXDiUTLPIPzLwVgVtCf1bdf4 yQRf+tsnkJyMh/uPkBscZYkqkqpTeTq4ASnCNipRT7/zq7EugtKGq4OZ+5CbcuhNrvm8 3MWQ== X-Forwarded-Encrypted: i=1; AJvYcCVVV15FKnbmFYZ4KFPEeNmCXSJILdyYBSKrpXViQniFDDHNUHezAu4ERRnY5TbQc94irko=@dpdk.org X-Gm-Message-State: AOJu0YwEIQ3a+v98nArgt5CsUTr6/7a6hdvwiOv4yQX6uQk1K9BbykY2 TCL1zFZClpsB4+kdJK4kzQK4YHb8e1N4B9EifP0Zx/HMtz3jHBw328NOTOp6DiE= X-Google-Smtp-Source: AGHT+IGK/LO+RBSNZ6TuEnRPj9vJOpS9f2MWtbwUT4K3t8yL49Cdeh64mnteSHLjE9tyfWQbr4LN1Q== X-Received: by 2002:a05:6a21:3489:b0:1d5:2b7f:d2f8 with SMTP id adf61e73a8af0-1d6dfa33c02mr19225243637.13.1728324579160; Mon, 07 Oct 2024 11:09:39 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71df0d4780fsm4668259b3a.124.2024.10.07.11.09.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 11:09:39 -0700 (PDT) Date: Mon, 7 Oct 2024 11:09:37 -0700 From: Stephen Hemminger To: Jiawei Wang Cc: , , , , Subject: Re: [PATCH] net/mlx5: support no host PF configuration Message-ID: <20241007110937.14ca3480@hermes.local> In-Reply-To: <20231011064153.46486-1-jiaweiw@nvidia.com> References: <20231011064153.46486-1-jiaweiw@nvidia.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 Wed, 11 Oct 2023 09:41:53 +0300 Jiawei Wang wrote: > From: Xueming Li > > In BlueField, a new firmware configuration option NUM_OF_PF=0 disables > PF on the x86 host side, no HPF on the ARM side, and the only RDMA port > on the ARM side is the bonding device(PF0). A device probe with devargs > of representor=pf[0-1]vf[...] will probe PF0 and PF1 one by one, and > it's possible that PF1 device scan results in no switch ports. > > This patch supports the new configuration by allowing a PF scan with > empty switch ports. > > Signed-off-by: Xueming Li > Signed-off-by: Jiawei Wang Not sure why it never got merged but looks fine. Acked-by: Stephen Hemminger