Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2672768imn; Tue, 2 Aug 2022 11:35:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR4ojOQv3jJeKyA8ZWNLekHwmhwhIXBlhFr8kdbUPEcOX6PrT5tkzQJ7VkrNjdT90x7spSkD X-Received: by 2002:a17:907:97d5:b0:730:9eac:d965 with SMTP id js21-20020a17090797d500b007309eacd965mr3738500ejc.353.1659465321395; Tue, 02 Aug 2022 11:35:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659465321; cv=none; d=google.com; s=arc-20160816; b=JnbVZDO7P7prMU3zxFqvkZ3nELE2SRykvmn//lTWlASlRv4ttTew91I9EEwkQvn8u+ TTxmY76Ey+oO4kBNQ303FMn/yAKM4QkPF38VKljFMun5d98I3xGEnNw5isWasKcMuqso Sb37WaR9B/BWQqnGvNZ0cMM645YjFkByLImeiJZM/yt81XRBWIrDCRX2KeWu1rDc6YQT Qo1Z9dTDNiOgMv5UCrSO1gi298qxqbdRCibVrEMbyFi82MaMtQehl7o7cDnn3d6zhQaS 7lmSUeklm2af63u4KofcvrqTE29J0TNFJTt9xGpRKMmrxe17XawX9D3TJYbEQSnNCyO0 pYsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=t/KnfuDsURg9bubxzAvoQj1egBM9mbKPc7JxqT9dzco=; b=gGakNRH4y6lOvPpAjc10dkSfEBsiWHmnSczkpSSvOzXUrukojgTvVptywdbSO+5Sdf Dk770axsgN46e7NGmKftbyAKJdY/M/X4bPeWAx9Eh8PqXRYIXWtphsHtjSf6ceb6/zL4 dyLgPtgcLwGclP3Mwr/gsp+OZFX+VfEwBrXZth8OT0CpvGl8EJeXAAPS4yLYPjYXbw1v OBvx3vrim8KOlGJS6ZWvOhq6lDOvhA/IHqRjvDnhLaMXyjw4G6D6pb+C1XRqbFEqXUC6 KJcwIJAiOjf0H2530RBw1cn7xvQzFdmWVFn6a7rxKNHO3AwFR43hkmxH2Ue5P3ONYAaT k01w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=Ds4m4A4f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw17-20020a170906479100b007309da3d6e1si1268775ejc.434.2022.08.02.11.34.56; Tue, 02 Aug 2022 11:35:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=Ds4m4A4f; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237371AbiHBSIc (ORCPT + 99 others); Tue, 2 Aug 2022 14:08:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236476AbiHBSIY (ORCPT ); Tue, 2 Aug 2022 14:08:24 -0400 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89F0712AAB for ; Tue, 2 Aug 2022 11:08:18 -0700 (PDT) Received: by mail-qt1-x82f.google.com with SMTP id l14so10918598qtv.4 for ; Tue, 02 Aug 2022 11:08:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=t/KnfuDsURg9bubxzAvoQj1egBM9mbKPc7JxqT9dzco=; b=Ds4m4A4fVZdTvo7C0gRYbAaLtRlWpt7c6XNlee/vm3R7aHbEQLpsCYxPUuNeXI0yYQ tgMe3JbtVdcjq7/MK4EaR5SNdfuVVP65dvSYHb945oEcuP3uvZ/GiNA4Q3T91ayPpcj3 Lhw2OT2cTfDWLpiB1XBsmROV3HuPIEv51PG1t0TQyeTQklPW7SyHAodoWQc2vLW7+kyp BHQ3X4FkJ9i9eUPPqGq23DtbMcxJ4dEXzx+RK4SymaBw2Es+sbM8ETE+heb0wn0ZPZRG 3fd47vQxifFW4EVXSRUn2T3eFnf4hJX74TAyjJpfmlCFDBXwRTkrTJXcBSXuT5+euNsB UXZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=t/KnfuDsURg9bubxzAvoQj1egBM9mbKPc7JxqT9dzco=; b=Yopv1thAgMWITXlux4EbneWLAYRj1G4pylepofxfaN+bJvwswRZT/Etdl+s33UtMw1 0+jj6v/L2HqybZAjbGoEJZaMykgtx8In0TJqv7P5xn6eU8IX1YICAMISG9IhafDTXciP FtY8Da1KOOsnYYAsnxQpl8DSkBy2ethYNkvc8RfhDk2HzVodBDhrvix1ArbgAe9Cq4mH q0FsoB3O0iyKaiQAloLIhKZy6bXIsMTqsWYlwbAuylG6rzbBflMgPxzFeAewbPsV8Yxa aqbYfc9M92TopOTT6WnoewxKlsp9qDHq/ZD3E+jwsGMqUVK6pMsflhBYrI9Jco9yp0Ch plVQ== X-Gm-Message-State: AJIora9TeZTW5qi6Rzz9sVq0oO5VjXBe5YfeUqix0sTtP0bJIPh2P4Ce oOdfVkhZjaFOqdrF7BG0TigEoA== X-Received: by 2002:a05:622a:1741:b0:31f:1fa8:2e01 with SMTP id l1-20020a05622a174100b0031f1fa82e01mr20519892qtk.81.1659463697637; Tue, 02 Aug 2022 11:08:17 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-162-113-129.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.162.113.129]) by smtp.gmail.com with ESMTPSA id q18-20020a37f712000000b006b5df4d2c81sm10500851qkj.94.2022.08.02.11.08.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Aug 2022 11:08:16 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1oIwJT-000S5E-Vu; Tue, 02 Aug 2022 15:08:15 -0300 Date: Tue, 2 Aug 2022 15:08:15 -0300 From: Jason Gunthorpe To: Long Li Cc: Dexuan Cui , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Leon Romanovsky , "edumazet@google.com" , "shiraz.saleem@intel.com" , Ajay Sharma , "linux-hyperv@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-rdma@vger.kernel.org" Subject: Re: [Patch v4 03/12] net: mana: Handle vport sharing between devices Message-ID: References: <20220720234209.GP5049@ziepe.ca> <20220721143858.GV5049@ziepe.ca> <20220721183219.GA6833@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 29, 2022 at 09:20:05PM +0000, Long Li wrote: > > > the Mellanox NICs implement the RAW_QP. IMHO, it's better to have the > > > user explicitly decide whether to use Ethernet or RDMA RAW_QP on a > > > specific port. > > > > It should all be carefully documented someplace. > > The use case for RAW_QP is from user-mode. Is it acceptable that we > document the detailed usage in rdma-core? Yes, but add a suitable comment someplace in the kernel too Jason