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=-5.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_MUTT autolearn=ham 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 43E9FC43381 for ; Wed, 6 Mar 2019 19:53:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 127FB20684 for ; Wed, 6 Mar 2019 19:53:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="lEc4TA2/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730940AbfCFTxg (ORCPT ); Wed, 6 Mar 2019 14:53:36 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:34158 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730931AbfCFTxf (ORCPT ); Wed, 6 Mar 2019 14:53:35 -0500 Received: by mail-qt1-f196.google.com with SMTP id w4so14329172qtc.1 for ; Wed, 06 Mar 2019 11:53:35 -0800 (PST) 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=razZFMYZOAvBmW3PjkU+SOhY07WwtOWmc1JcAnx4zOA=; b=lEc4TA2/CbfVmjMS8r1pgGJINpJL/Pyh90gY3TXmNOM4+gBkpLrV2B5qDAtsJEnbrS zHVn1vAP7V8nkhNpIY0XA/pkB5zcjTm/4cJbU3gfR4+MRUBsnvm45uiTtjjJlXfDYSrG swdVIArLQYdlmse0YDuCa+JD72T+4ARBTWA0W1KnlUiL60DyzxnITEJPZLjpufPHvFn5 A1G05CTXJyzg6plb/Ae/X1rrX4bCtfb8zZN5m97f70GIJa1EeWWUYulFFFrXFHLqTE0L D7+fyrQdsuh3UOa2I1R83aWAMursXUDtrJrec2FTHpucnHDfORHmUAU3VZ3QKn/hYnQ2 TbZQ== 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=razZFMYZOAvBmW3PjkU+SOhY07WwtOWmc1JcAnx4zOA=; b=Nn6V93DkQgYz0jOdzlN1P2hHHdzc211RilDuIZ5bESbGv9SsnCX5ODO2YIXcoJ9KG8 bNrIYWAMnu2QjKS4YYv+QmemrWhjmAE/cbfb2Sd9rYFALX1W46qxv+jH3RS1Yy24FoJh I+2DD+oG+H8+VGaSAMptlk37EL62lTWzw7VB5Aok/C3ANiIi8yBU/c4ldlg428ANxW05 x/xB9WJdh/QbKQpcQ/8UHd9BRyayk5uBwOhuSl8DAWGcPvGImifUE9WfMAR+ZRdptag/ ZcHhDqBYsx/9PaPwWC893ug4tdwFdGXDbco0hKiysfbHlpHi0POG+gNAgv1KJCM9ntGp jXqQ== X-Gm-Message-State: APjAAAUGspXBmYvBVVo7vEuNS3QUQ80YA2x7NucXJPQKmyxxcNSQaPE2 W8P3JIbQlIB2+iHNtIbEgvVhIg== X-Google-Smtp-Source: APXvYqyLf4G+dbFKSC73+wTPf31WsV2zAvAJflX5emCXmcBM3IRemdJu+92VB6CbgN23633tWlsG3w== X-Received: by 2002:ac8:3437:: with SMTP id u52mr7212113qtb.185.1551902015186; Wed, 06 Mar 2019 11:53:35 -0800 (PST) Received: from ziepe.ca ([24.137.65.181]) by smtp.gmail.com with ESMTPSA id g24sm1779648qtc.61.2019.03.06.11.53.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Mar 2019 11:53:34 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1h1cbd-0006KW-AA; Wed, 06 Mar 2019 15:53:33 -0400 Date: Wed, 6 Mar 2019 15:53:33 -0400 From: Jason Gunthorpe To: Leon Romanovsky Cc: Doug Ledford , Moni Shoua , RDMA mailing list , Saeed Mahameed , linux-netdev , Leon Romanovsky Subject: Re: [PATCH mlx5-next] net/mlx5: ODP support for XRC transport is not enabled by default in FW Message-ID: <20190306195333.GA24296@ziepe.ca> References: <20190225065439.821-1-leon@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190225065439.821-1-leon@kernel.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, Feb 25, 2019 at 08:54:39AM +0200, Leon Romanovsky wrote: > From: Moni Shoua > > ODP support for XRC transport is not enabled by default in FW, > so we need separate ODP checks to enable/disable it. > > While that, rewrite the set of ODP SRQ support capabilities in way > that tests each field separately for clearness, which is not needed > for current FW, but better to have it separated. > > Signed-off-by: Moni Shoua > Signed-off-by: Leon Romanovsky > --- > .../net/ethernet/mellanox/mlx5/core/main.c | 38 +++++++++++-------- > 1 file changed, 22 insertions(+), 16 deletions(-) > > -- > 2.19.1 Applied to for-next, thanks Jason