Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1169468rwd; Tue, 13 Jun 2023 05:58:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6rewCthDVZgRHm9qJ7eoC3uw8k6kFPoOUm8is8J3Bo5f50lzuSaASb0/pYow2DD5fLEZnJ X-Received: by 2002:a17:902:e74a:b0:1b3:c4c1:ec4e with SMTP id p10-20020a170902e74a00b001b3c4c1ec4emr8039581plf.30.1686661104550; Tue, 13 Jun 2023 05:58:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686661104; cv=none; d=google.com; s=arc-20160816; b=C08+lVeKjq2pSIGld+q+xTWjAcg6zmKyUTpn218KKXtPDvMvHAhQyv5Oi5SD3Onthr 0BSNNkq/CEqLFTlIT4rP3exYJpF5CkQPd7eS129GtvZYPCv0NsIOaQ+DwYvyyhkPtqkT RJdwOMMbQKIpBJ/0FPqfrVTuPu68HSzJy5GReTKsYPBt+eDvkvVU1xXEiGeGSvAaZaVq 3K5RLWX+MPvXKCYum/LIRyn3efQNcY1xiqYhvY8TgznuT3iCWDRPYKUO/musC39g5v9W j0Qc3E1BbOOPczoWXawd9wBeFMjVL0GP10u4CrK0pWvdFPBsUP4zdZFc6UUD9X+2us7f rmIw== 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=vTqWa8XbCmR2zDuGO3iPFro0UW/eHnpHOD5LcKM+nn8=; b=HQgi8GlbyGeC/F5WHU5fHh/4vGRNYgT4NY6MABLbEaNTDko3SQZ6XJRok0q+nfjhGy s8g+oFqJGNL1pCX/zYWB2tqjr3QkSt7Y2oXpo6it85QChOp3OyLbm506d6mSFr9xyO8H StzKsv1YdlvyaTL0fv8lrkYt5rot82CphzH+pK5fMofUTxUvU1PvuVT3x9YwGEgvdT5W iFCzbm2wIR80GxwmqenUd5U5Vv6JAqch09C5qTT5MjP+NEOcsDV6g0NajKoY0vLksn3N M0BisJXHgWbQ8VqUUzOS3a7UUuYykiSJIAKOvarB+gqbRwy/RLVQu8exgPl38HI5c7AA b2Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AXcI+lrW; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f2-20020a170902ce8200b0019d038765f6si8781616plg.449.2023.06.13.05.58.11; Tue, 13 Jun 2023 05:58:24 -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=@kernel.org header.s=k20201202 header.b=AXcI+lrW; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242433AbjFMMjm (ORCPT + 99 others); Tue, 13 Jun 2023 08:39:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242441AbjFMMjk (ORCPT ); Tue, 13 Jun 2023 08:39:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08BA510EC; Tue, 13 Jun 2023 05:39:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8F6E3635B7; Tue, 13 Jun 2023 12:39:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74D89C4339C; Tue, 13 Jun 2023 12:39:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686659977; bh=azRXIxzoQcvDlB1Hx4tfpo3s2cNDdzMmtu0iY95TNVA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AXcI+lrW2qI7Oe7JHhYf3CE3rpEaeB8STV+KzqQKZOMnmVrpj/ynOjx2KTyuk3YSX TXf70bUlQwboATWGf5P4BGrBLg9QnKCCyjR91VYCleMvIKSDptA9J1j5e8nQaZjBrY zbmPrmY81v82AWExy+XvquF1f1Sm8clZC5vr3qcZaYZ80f6KaByUMKti4XuzO+j+vD E3QF9n2B5a2tC6m/5LYw1qVKLWW2daU4EK/zOCxAOQ+4XPiQvZc5YIN59Fhz1d2Njn nbQrRc3uF2CVTdt7qqtl9cGvWHWmVAMvkqvOXNjDiQ7+ukixc1+YqFt3JL7+omHZb1 WVrrGjlKjruPA== Date: Tue, 13 Jun 2023 15:39:32 +0300 From: Leon Romanovsky To: Stephen Rothwell Cc: David Miller , Doug Ledford , Jason Gunthorpe , Networking , Daniel Jurgens , Linux Kernel Mailing List , Linux Next Mailing List , Mark Bloch , Saeed Mahameed Subject: Re: linux-next: manual merge of the net-next tree with the rdma-fixes tree Message-ID: <20230613123932.GA12152@unreal> References: <20230613114359.59cadc05@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230613114359.59cadc05@canb.auug.org.au> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Tue, Jun 13, 2023 at 11:43:59AM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > include/linux/mlx5/driver.h > > between commit: > > 617f5db1a626 ("RDMA/mlx5: Fix affinity assignment") > > from the rdma-fixes tree and commit: > > dc13180824b7 ("net/mlx5: Enable devlink port for embedded cpu VF vports") > > from the net-next tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc include/linux/mlx5/driver.h > index e0156b54d0b3,18a608a1f567..000000000000 > --- a/include/linux/mlx5/driver.h > +++ b/include/linux/mlx5/driver.h > @@@ -1228,18 -1246,11 +1236,23 @@@ static inline u16 mlx5_core_max_vfs(con > return dev->priv.sriov.max_vfs; > } > > +static inline int mlx5_lag_is_lacp_owner(struct mlx5_core_dev *dev) > +{ > + /* LACP owner conditions: > + * 1) Function is physical. > + * 2) LAG is supported by FW. > + * 3) LAG is managed by driver (currently the only option). > + */ > + return MLX5_CAP_GEN(dev, vport_group_manager) && > + (MLX5_CAP_GEN(dev, num_lag_ports) > 1) && > + MLX5_CAP_GEN(dev, lag_master); > +} > + > + static inline u16 mlx5_core_max_ec_vfs(const struct mlx5_core_dev *dev) > + { > + return dev->priv.sriov.max_ec_vfs; > + } > + Thanks for the resolution. Looks good. > static inline int mlx5_get_gid_table_len(u16 param) > { > if (param > 4) {