From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EC6B6AB6 for ; Sun, 7 Jul 2024 09:00:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720342849; cv=none; b=UPbUVwUzsZqtlDQpmrPNhNgM5BYp0vxg256TGJfQTj6S+FilJ5rRvUMUDJY7hUgvw33oCvJ2QkeTWxWkVSA/8P+QhZeFMSmwZ3dtMu3uIiOlduuIixkX5q2L7yCYsPBiveye9SbC+/LoMhp5fqwANrDsObSiPeqf9QOjXglMNXY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720342849; c=relaxed/simple; bh=x/UtuI8RafqOU07/93I/l+/fJ7a36DS8xhbxC35BGpk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iYh+CrOUB3G6XLSp9JsazEsZGewt3itIOBfnZvU9xqZArDJCcLplw0qjaqAk1IDg9crLohkkp2RF8A5ffrjzF7ZuGbCsfpguSdpX8WEVqC+u3+wZElZ0P/KG+Bcy4hZIiNoO8TSCVNwzcgFGPySvYsOV2u8l5fBpvTYA6MuSZ2o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jaUZZKUL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jaUZZKUL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60B53C3277B; Sun, 7 Jul 2024 09:00:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720342849; bh=x/UtuI8RafqOU07/93I/l+/fJ7a36DS8xhbxC35BGpk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jaUZZKULczuRzyfyyS1mjnwpU5fe0QesVYstXjPpuCXKb/bXjUJuK/l6jtmwbqpDr KmiwR9vs3l244BVpZRk9cwpTrascWKx/mQb+/ISHU7Yfg07Z1gCjnbRqYlzDkukjrF ygPszKlaSNy6X9pPk4++X1dta2BU6vIG0jZenVQn4Kg25V9KONOXkbx0A1fyt+9Ool yv/56F/IYJUm2dH6cOWq3sGa/nPdtolN+WbT9GuwRyktTaFTDq9Z5YKB2QjNsJwhSs Yfpef5mqW4S7zjdMNKWMtwqu0LjY/kq3Ou5qXVo9Lvi30r6v6E1SbNCLUbwjP2KzTL octRsSmU/udfA== Date: Sun, 7 Jul 2024 12:00:44 +0300 From: Leon Romanovsky To: Omer Shpigelman Cc: "ogabbay@kernel.org" , Zvika Yehudai , "linux-rdma@vger.kernel.org" , David Meriin Subject: Re: [PATCH 12/15] RDMA/hbl: direct verbs support Message-ID: <20240707090044.GF6695@unreal> References: <20240613082208.1439968-1-oshpigelman@habana.ai> <20240613082208.1439968-13-oshpigelman@habana.ai> <20240707075742.GA6695@unreal> Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sun, Jul 07, 2024 at 08:42:59AM +0000, Omer Shpigelman wrote: > On 7/7/24 10:57, Leon Romanovsky wrote: > > On Thu, Jul 04, 2024 at 10:31:18AM +0000, Omer Shpigelman wrote: > >> On 6/13/24 11:22, Omer Shpigelman wrote: > >>> Add direct verbs (DV) uAPI. > >>> The added operations are: > >>> query_port: query vendor specific port attributes. > >>> set_port_ex: set port extended settings. > >>> usr_fifo: set user FIFO object for triggering HW doorbells. > >>> encap: set port encapsulation (UDP/IPv4). > >>> > >>> Signed-off-by: Omer Shpigelman > >>> Co-developed-by: Abhilash K V > >>> Signed-off-by: Abhilash K V > >>> Co-developed-by: Andrey Agranovich > >>> Signed-off-by: Andrey Agranovich > >>> Co-developed-by: Bharat Jauhari > >>> Signed-off-by: Bharat Jauhari > >>> Co-developed-by: David Meriin > >>> Signed-off-by: David Meriin > >>> Co-developed-by: Sagiv Ozeri > >>> Signed-off-by: Sagiv Ozeri > >>> Co-developed-by: Zvika Yehudai > >>> Signed-off-by: Zvika Yehudai > >>> --- > >> > >> <..> > >> > >> Hi Leon, > >> > >> I'd like to ask if it will be possible to add a DV for dumping a QP. The > >> standard way to dump a QP is with rdma resource tool but it might not be > >> available for us on all environments. Hence it will be best for us to add > >> a direct uAPI for exposing this info, similarly to our query port DV. > >> Will that be acceptable? or maybe is there any other way we can achieve > >> this ability? > > > > I don't know, new rdma-core library with new API will be available, > > but stdnalone tool which can be statically linked won't. How is it possible? > > > > If iproute2 package was manually removed from some reason. If it is user's decision to remove it, it is user's responsibility to deal with consequences. Thanks > > > Thanks > > > >> > >> Thanks >