Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp589616rwd; Mon, 12 Jun 2023 19:25:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4lPbnyi0Kc54LI87AjRGo7oQLj6uZ4LbxBf3/y6HxsxzyAKJuNKfLpCwXND3vRlDqvbDHu X-Received: by 2002:aa7:d304:0:b0:516:af22:bcc6 with SMTP id p4-20020aa7d304000000b00516af22bcc6mr5527670edq.21.1686623138128; Mon, 12 Jun 2023 19:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686623138; cv=none; d=google.com; s=arc-20160816; b=n+VX8R70H6EzgOJM62HvXWX29pbkrKR4UWNi/oweO0NnbPzXfeoPfC8VOnoXXO19Xn sjy3gGaltZEwW7ZBmR+B7ePK46iI8JPzNDd9sMAwf+QyGbbvLZf+LywtjOv+D6e6bvx0 r8lS2ZRP/FTVGSSd2P4IkC5JU+0rTZ352WahL+QkJOzlQNhZ2lKA1pJ1YTdj14tToNoq V3YnaJsUTZu4Q1E8JCXqN04U/mnwYHMLKHNCkPA8EnYw8vdVW5SOBMXUQ85owK4PBrNR Xu6FgGYBfbpCtGwN2gcTxsuK66GA7qdfcFuTzgTqM1DGL5NSgpyVeKFjIQIgOEb+mKkH T5Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=Vhn9NCKI4b+ZWwXU2mlVYVnz7rRJJ08hkIiKzkVYNNo=; b=oQcYm77BL210pc70SpUCsXiSp0PUbhv4YQVPfLgyxvdm3XQQ1bLou0YpITedMLxi1C n6BOtBJ3Zp7WNKwvGNSWIM9bMqgxfT30kTph1qz/MY58NtZegivcRZQDu4d9weEa88AQ I6LBkodzjbhPznTU2gsov/uOGVtKZmNBPdCFzdNmeg9K786LJTx2IRxdI+M6GPeknVvn eylkDWpbp6cGCsBTZnM26fjVVQoHsufomXpkXyieFDjdpoR0yXNRBhEjSrqz4O3WK4dl Kgp9Iidn5B40d0MexYfy+wZ8kIElH0hthhRiZg7X/J7P5Vy8a2c4m9WkV6wBwoSszGzy +0Sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=Gl2PVoSM; 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=canb.auug.org.au Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m19-20020aa7d353000000b0050bc508a980si6770743edr.670.2023.06.12.19.25.13; Mon, 12 Jun 2023 19:25:37 -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=@canb.auug.org.au header.s=201702 header.b=Gl2PVoSM; 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=canb.auug.org.au Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238649AbjFMBoS (ORCPT + 99 others); Mon, 12 Jun 2023 21:44:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238478AbjFMBoL (ORCPT ); Mon, 12 Jun 2023 21:44:11 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD55E91; Mon, 12 Jun 2023 18:44:08 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4QgBDL0pVrz4xFc; Tue, 13 Jun 2023 11:44:01 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1686620642; bh=Vhn9NCKI4b+ZWwXU2mlVYVnz7rRJJ08hkIiKzkVYNNo=; h=Date:From:To:Cc:Subject:From; b=Gl2PVoSMjROmQV85BXjwHm8FVfTw9DainPcCxPYiy604f5OA0xu+ovoq2fmrPponP uN4+Ru7Q64Mq1e98klr030HcrwHBch4w75LHIcz7mcLrRPylGxccjCvgptG+8cNX6X CS2kESfJEDeCl8NNP+u1qzfDOipm6WTF4gDz/bFK/HlZYyZk6oO42gsgGXd1e1NU0w /X6ZD7PE/GMIdfwXqNjZ0lQIh2wE6SAfNcyW38Eu1ykLxEkoj0HOsYKz86+0xv1YV6 1PNiwJxRw2X+zzmJybJ6pXjffzrExxOIwpHEbZQm604GWcKs+f3hSZzIkRrtud5dse s80OG90aEei4w== Date: Tue, 13 Jun 2023 11:43:59 +1000 From: Stephen Rothwell To: David Miller , Doug Ledford , Jason Gunthorpe Cc: Networking , Daniel Jurgens , Leon Romanovsky , Linux Kernel Mailing List , Linux Next Mailing List , Mark Bloch , Saeed Mahameed Subject: linux-next: manual merge of the net-next tree with the rdma-fixes tree Message-ID: <20230613114359.59cadc05@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/iZAUV9bTPFy6JH/xdvbPhsh"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 --Sig_/iZAUV9bTPFy6JH/xdvbPhsh Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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. --=20 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; } =20 +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; + } +=20 static inline int mlx5_get_gid_table_len(u16 param) { if (param > 4) { --Sig_/iZAUV9bTPFy6JH/xdvbPhsh Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmSHyd8ACgkQAVBC80lX 0GxOtQgAjStFgSWvROQ22uyIcuGwkDpjCaUL9ezz/pvLyXO/Y5aF1NjHnnaMg+Du wq4LI2ampmS+i+3YO5G9VgYbYFaq8lXO2Knxm+P8YV2aaaw0N3DkNF4PxMGMSV4n C+whZvVQX4KknEZ0wa4wYOgJWT/tXtZau5cmuTXvbIr1XyvfaPoKwH1a0DWD2UAO PeEITW5Now8KotnZSQJ3CYLihbYF7SUb7KwDawrZ+cyc/2CW//O9koUWAJ00mMTu ot5zrVLnupLN4MQp2vw1zHFehR4D8N0xopvAqeA8cWTxddyzMefcayym3tA3Vm4S AUIKFgQjBRyA3mKGjrYufmhgxt9EAg== =v+/8 -----END PGP SIGNATURE----- --Sig_/iZAUV9bTPFy6JH/xdvbPhsh--