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 F0FC2A0032; Wed, 29 Sep 2021 23:58:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 73D70410F0; Wed, 29 Sep 2021 23:58:29 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id D2332410EF for ; Wed, 29 Sep 2021 23:58:27 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D4F6D5C00F2; Wed, 29 Sep 2021 17:58:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 29 Sep 2021 17:58:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= 6c6vIyywFxPHgzeEXLDOJZj9gbs41mtdmzuSPdGeQ1M=; b=lbOnLidb5l55sXyu uEaMdbWJuFZ5cGmViSnd+98qDQbGiQFEE7mDi/2U7XSbjZmvVr6+DGIN8vWbmM7J 4DL8AV1DQapcsksqmWu943P+MzVLF38wINy5hvabKAQJ20vI15PaC445Z0cI4oqU 1AgOIADDRVlfryu59sAox5IX7Vebfqu5l7PjEBLflxPD9+DJHxwSnU+x3Y0pAjSP ayCS+ZMN5iWAcX/KFyBlvfium1emO7/VZA0sXZNVrlCtNjcPkuX4u8ulUl4MTl+O Zv6y7FbGsw6tw95L0rC4wGq6S3IPlxsfwYZOsjx5eHTlETpTR0cptJ1k0/p17riG gEac9A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=6c6vIyywFxPHgzeEXLDOJZj9gbs41mtdmzuSPdGeQ 1M=; b=DEruwdDMdkcbVDENXQ4bDKCGEtZsEHvW3+ACg77B3/aFtxCIICdaucoCT nzpPC6a/bDKL+1tagELH5DwP0hZlr7TTyaX3ZKBpTXK6h0wQrv4rlrh4GZU7DJez W0pyxmFvly80tnvf2bYJxVPl6nQTHpxtGB+7ZJInAG4qWPr+Y3iN7OgsSVhFeYd0 RKj994S005f5RiLPu8jKcXLgB5upCaMY/5DnZAu6vYfFNAgU4AnkMCqd0Ak55Sg9 o7AJorJ2pmDGeSl8ETb8fJ9jE89BGR1ZK15u9Ux2Q/5T6Q4P7YzLoKQDRVvqxq16 jA+qwo+NSBs+uZCUDcaTlxrcJ+D3w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudekfedgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 Sep 2021 17:58:23 -0400 (EDT) From: Thomas Monjalon To: matan@nvidia.com, viacheslavo@nvidia.com, Rongwei Liu Cc: orika@nvidia.com, dev@dpdk.org, rasland@nvidia.com Date: Wed, 29 Sep 2021 23:58:22 +0200 Message-ID: <2308701.4c83qqXp4g@thomas> In-Reply-To: <20210928085054.1619915-3-rongweil@nvidia.com> References: <20210928085054.1619915-1-rongweil@nvidia.com> <20210928085054.1619915-3-rongweil@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 2/2] net/mlx5: support socket direct mode bonding 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 Sender: "dev" 28/09/2021 10:50, Rongwei Liu: > In socket direct mode, it's possible to bind any two (maybe four > in future) PCIe devices with IDs like xxxx:xx:xx.x and > yyyy:yy:yy.y. Bonding member interfaces are unnecessary to have > the same PCIe domain/bus/device ID anymore, > > Kernel driver uses "system_image_guid" to identify if devices can > be bound together or not. Sysfs "phys_switch_id" is used to get > "system_image_guid" of each network interface. > > OFED 5.4+ is required to support "phys_switch_id". > Centos 8.1 needs to enable switch_dev mode first. > > Signed-off-by: Rongwei Liu > Acked-by: Viacheslav Ovsiienko > --- > drivers/net/mlx5/linux/mlx5_os.c | 43 +++++++++++++++++++++++++------- > 1 file changed, 34 insertions(+), 9 deletions(-) Does it deserve a line in the release notes?