From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FF00C433E0 for ; Wed, 27 May 2020 19:14:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7DFBB20899 for ; Wed, 27 May 2020 19:14:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="f2+bfCz5" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729163AbgE0TO1 (ORCPT ); Wed, 27 May 2020 15:14:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728025AbgE0TO1 (ORCPT ); Wed, 27 May 2020 15:14:27 -0400 Received: from mail-il1-x144.google.com (mail-il1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1E87C08C5C4 for ; Wed, 27 May 2020 12:14:26 -0700 (PDT) Received: by mail-il1-x144.google.com with SMTP id 17so25263413ilj.3 for ; Wed, 27 May 2020 12:14:26 -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:user-agent; bh=6gQSEGMWPgkGGVyHG9Pe+5fUPTmNwG1QJK7jkF0ZgaY=; b=f2+bfCz5l3s2mc0xZ3f2Pq3WNIRwZ8/K67kflMCF9lRfWG7wXe314goLmBz5B0Cd60 +5vJVT0dTUlySipyBR16irIcNP5wMDuUMy1RkgvXzms9Wb+oEtNLdKXLWMsusauMh+xZ NvgnYCDf3lgOevnvYhzKPhv4lszdeNDNo4nIbGDDXy2uvj+nCnHj/hIGINnlzaHpVnXz U2Mhbx0uzLlIHEMjPHZVWXi0epD+kk0mf41r3vnhMeWCo7aOEN2h0PZpzy6BNLO2CdJg 4CXuHrITF4Ep7CvoDtfk7R317k4qcgw8oCXy50U5YmzOtUeC08H68OHTNLpfOoE9BdNN BAzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=6gQSEGMWPgkGGVyHG9Pe+5fUPTmNwG1QJK7jkF0ZgaY=; b=PLH3JCte+ck7xg0f36oKIscb45N/jOuDkSF0Z2+5qWvfztdR4hwdfPtQYco6bVWXgh ZxZrSrfTr6LFhe7KUQRbhUwNvuZ9cy8PgKx3OM8b0RbhPYmpTRkWvRvP1mRKmwL8DUgx ISblc0B7TvXQcw9dbaEGyxen96+ayHdS7UMN9lbffgqwnSZ9wwS7fOiYQ4tfOQ8s73J7 U79rOMoshEmX4ZNMzTYyNSxe+dofW6tUhfCQsfiH5hPfoO5M+QA2u8jsyfrFG1aw59gW yMDuMBuKRfXU0kqpbHA8qDFDaMBSY0LDKZRKRblmoSjwO3ApVN6IWGXbK1Hrww0RQNqq YERw== X-Gm-Message-State: AOAM532RTGzfUH2fyfR1TZCnhvjK+huDCFX0Tl0mNfMEqOJHTYKFRaOo 6ejVX1I7uBiqR54xtWiAIPw8Fw== X-Google-Smtp-Source: ABdhPJygidZnbAa0eGY1UJRtoYPZNdP08x0hWzTxRx7yxq441Lory3g22et2VwaQetBDV6SZ86g0Yg== X-Received: by 2002:a92:d147:: with SMTP id t7mr4292743ilg.151.1590606865912; Wed, 27 May 2020 12:14:25 -0700 (PDT) Received: from ziepe.ca ([206.223.160.26]) by smtp.gmail.com with ESMTPSA id g21sm666621ioc.14.2020.05.27.12.14.25 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 May 2020 12:14:25 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1je1VQ-0005Pm-Hp; Wed, 27 May 2020 16:14:24 -0300 Date: Wed, 27 May 2020 16:14:24 -0300 From: Jason Gunthorpe To: Leon Romanovsky Cc: Doug Ledford , Leon Romanovsky , Bart Van Assche , Chaitanya Kulkarni , Christoph Hellwig , Danil Kipnis , "David S. Miller" , Jack Wang , Jakub Kicinski , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, rds-devel@oss.oracle.com, Sagi Grimberg , Santosh Shilimkar , target-devel@vger.kernel.org Subject: Re: [PATCH rdma-next v3 0/6] Add Enhanced Connection Established (ECE) Message-ID: <20200527191424.GA20778@ziepe.ca> References: <20200526103304.196371-1-leon@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200526103304.196371-1-leon@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 26, 2020 at 01:32:58PM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > Changelog: > v3: > * Rebased on top of ebd6e96b33a2 RDMA/ipoib: Remove can_sleep parameter from iboib_mcast_alloc > * Updated rdma_reject patch to include newly added RTR ulp > * Remove empty hunks added by rebase > * Changed signature of rdma_reject so kernel users will provide reason by themselves > * Squashed UAPI patch to other patches which add functionality > * Removed define of the IBTA reason from UAPI > v2: https://lore.kernel.org/linux-rdma/20200413141538.935574-1-leon@kernel.org/ > * Rebased on latest rdma-next and removed already accepted patches. > * Updated all rdma_reject in-kernel users to provide reject reason. > v1: Dropped field_avail patch in favor of mass conversion to use function > which already exists in the kernel code. > https://lore.kernel.org/lkml/20200310091438.248429-1-leon@kernel.org > v0: https://lore.kernel.org/lkml/20200305150105.207959-1-leon@kernel.org > > Enhanced Connection Established or ECE is new negotiation scheme > introduced in IBTA v1.4 to exchange extra information about nodes > capabilities and later negotiate them at the connection establishment > phase. > > The RDMA-CM messages (REQ, REP, SIDR_REQ and SIDR_REP) were extended > to carry two fields, one new and another gained new functionality: > * VendorID is a new field that indicates that common subset of vendor > option bits are supported as indicated by that VendorID. > * AttributeModifier already exists, but overloaded to indicate which > vendor options are supported by this VendorID. > > This is kernel part of such functionality which is responsible to get data > from librdmacm and properly create and handle RDMA-CM messages. > > Thanks > > Leon Romanovsky (6): > RDMA/cm: Add Enhanced Connection Establishment (ECE) bits > RDMA/ucma: Extend ucma_connect to receive ECE parameters > RDMA/ucma: Deliver ECE parameters through UCMA events > RDMA/cm: Send and receive ECE parameter over the wire > RDMA/cma: Connect ECE to rdma_accept > RDMA/cma: Provide ECE reject reason Applied to for-next, thanks Jason