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=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 03832C3F2D2 for ; Mon, 2 Mar 2020 09:21:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C97C4246BF for ; Mon, 2 Mar 2020 09:21:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=cloud.ionos.com header.i=@cloud.ionos.com header.b="bjgepMjf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727316AbgCBJVo (ORCPT ); Mon, 2 Mar 2020 04:21:44 -0500 Received: from mail-io1-f67.google.com ([209.85.166.67]:46108 "EHLO mail-io1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726390AbgCBJVo (ORCPT ); Mon, 2 Mar 2020 04:21:44 -0500 Received: by mail-io1-f67.google.com with SMTP id x21so6167968iox.13 for ; Mon, 02 Mar 2020 01:21:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.ionos.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OEFkAcOGrFGZ9vC9gz7pgwP4iGIBCbBAbgqfhx1gxTw=; b=bjgepMjfTFKXiH1y1++pYmtaMgK1a0pm8g+Ft3bErJmRX5ndF/6c1HPBfqB7wtFxjY DHMWCTs/SdahAbFmr+r4WGKUqRK2cyniIbH2M63ygpdtoCxbQ2BsrkT/n6SSs7C6yidl glVje2Z6MqVA4pYo7ozPfH6s6Wab5g8Sk8iTFMQ+06NdrJ4ODeG/JpTN2/PbNEhl04zB 2ufG1v660T3sJwb1KFARccsdBu6L5s6QKGya6JjWjFOCDCGejKBQCBacT+CW6xZRYhrM uNyNc09KXk+RfMP5vC9Y9ohoYS4QcNmOe0ihBiYvjXAiRFiDPORbEB772+kDOpE2wrMw LVZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OEFkAcOGrFGZ9vC9gz7pgwP4iGIBCbBAbgqfhx1gxTw=; b=o5N5acJjAqwT2QQJIDaTwhTL9JWsuQr9giHZy6lcYScHCW4yEGvjZz6Kx9zpJYCRWO cD5Bd4Hd8jlYPP4O+Pi40oNOjRVKzwIinOxjWdPFYFzDx01Mg/izYkCN4FqTVE0neGtT e3ToSQsNGdiQ04ykGNWfar2VDppWJPrvj6qb0N0lho1cU7RyaeR/N9EFr8HjqagQQcXc Qgd37Ep/h89NlCs1lAmnaZxyJb/g7cpgfw3rMV9OlCEDUhxVXbQbCVlFm/NyaUpVPeGp JtQAHKZP5b1SBMCsAq26ozHAeDAgPNpOkNn3kZc9QXepQaFyRjHRCqd5Bi2A1VacLtDf KoKw== X-Gm-Message-State: APjAAAXOaJusmOdHhYmwHL90eLdtE31SBfgg+N6B3K5Ha0WHjfWdjatl 5cYbparVIYDv7bRpKMJNdwSatIj51s1mSxCftLVwJA== X-Google-Smtp-Source: APXvYqw3sGCat8h4DoLmpdadvgGUNsDTGZi83wNh/OG/n1D9udk1A3xJIq3u1cRwZ/fnRXsnHyS9RofYxs6lCYqbjeM= X-Received: by 2002:a02:3b24:: with SMTP id c36mr13317752jaa.23.1583140904123; Mon, 02 Mar 2020 01:21:44 -0800 (PST) MIME-Version: 1.0 References: <20200221104721.350-1-jinpuwang@gmail.com> <20200221104721.350-4-jinpuwang@gmail.com> <60d1b3e1-2da6-90ae-1e0b-1c313ffbd9b0@acm.org> In-Reply-To: <60d1b3e1-2da6-90ae-1e0b-1c313ffbd9b0@acm.org> From: Jinpu Wang Date: Mon, 2 Mar 2020 10:21:33 +0100 Message-ID: Subject: Re: [PATCH v9 03/25] RDMA/rtrs: private headers with rtrs protocol structs and helpers To: Bart Van Assche Cc: Jack Wang , linux-block@vger.kernel.org, linux-rdma@vger.kernel.org, Jens Axboe , Christoph Hellwig , Sagi Grimberg , Leon Romanovsky , Doug Ledford , Jason Gunthorpe , Danil Kipnis , Roman Penyaev , Pankaj Gupta Content-Type: text/plain; charset="UTF-8" Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Sun, Mar 1, 2020 at 1:37 AM Bart Van Assche wrote: > > On 2020-02-21 02:46, Jack Wang wrote: > > +enum rtrs_imm_type { > > + RTRS_IO_REQ_IMM = 0, /* client to server */ > > + RTRS_IO_RSP_IMM = 1, /* server to client */ > > + RTRS_IO_RSP_W_INV_IMM = 2, /* server to client */ > > + > > + RTRS_HB_MSG_IMM = 8, /* HB: HeartBeat */ > > + RTRS_HB_ACK_IMM = 9, > > + > > + RTRS_LAST_IMM, > > +}; > > This is the first time in this header file that the abbreviation "hb" is > used. Please add a comment that explains what this abbreviation stands for. > > Thanks, > > Bart. Will do, thank you