Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1762595rdb; Thu, 17 Aug 2023 00:59:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGo+7L38ip17JMZFLWH2zyt0mP6cAAxG3LG6i9PgkNDGmircgOvz6EgsC7Got6N319lELsP X-Received: by 2002:aca:1c08:0:b0:3a7:44da:d5e4 with SMTP id c8-20020aca1c08000000b003a744dad5e4mr4289972oic.51.1692259153762; Thu, 17 Aug 2023 00:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692259153; cv=none; d=google.com; s=arc-20160816; b=z+ejAYbmpAJVnM6/aA8ZCOBJpmeBi4G9GzoWNJkOXhKSyflQCIWE2IWXEaeXNV3ReN CtfsvKwxs63XZgsK2Sx1KphpcmiBiCldhA3OPDrRXw1ZCzRgxRiao+NBUY2rS4DwN3dc Y27iFmzMAxBIQAZ3z/1bmQpE3psRF6mgLNQ0YeNCuekTPC+tRTtjY8OnBM+Q668Vfo2F IybyVxgSZf3jZyX8KwQu/h1YLWHb+uiaUDvTr4lmDGzAWOoy8jOspSfHys3sXwHyOwHS sGtzEyKlYHq2DIk/kGnXqrgFspU1KX4be3S4pICmzVvQ7cHAr0dO2SVX9D2cnsHVt8dU 3MRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=nzxW7QBCp9bUODU7KQgnScR14dqWDJX6mUIiSoRUZXI=; fh=g2ar/nsm/ikpJbpjr5IBavdBw4dpN2FXgCRZtOMYzR8=; b=ws4K4Q8EjWJBiZPViSXLlKD6mL5zhmaYlzxnGrLJqOppSDIu5V5CZjmJKFzr7XOQLt +Iwpih3MRmWDnP5XYag0k9tsCxRNd+tEzuE84mnxWEZA2WnYsgoNJisHQTlG+uujK1BH 3tl6FkvcjcvUC48D32ZZMLcuytqSSsYcO7HgvQI/fDfBczD/NQ/dJ+P5vo8CTphqypCH 7S7m8CCxs2udiQ6UeyGa9rInXOWUJE06F1gnxChvVh8PdlYdLjYxxQMlDJVfW/GltX8z Aa/lKmY8ZSBPSRwPhBScDQ/vt5/hZIeAUOasjR2n/KSgyWplicUPsy7+HeeFFmr1g1t/ cFuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Qk2/Mu80"; 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 x185-20020a6386c2000000b00565f5f197a0si2790992pgd.144.2023.08.17.00.59.01; Thu, 17 Aug 2023 00:59:13 -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="Qk2/Mu80"; 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 S242201AbjHPGwp (ORCPT + 99 others); Wed, 16 Aug 2023 02:52:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242206AbjHPGwd (ORCPT ); Wed, 16 Aug 2023 02:52:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBED219A1; Tue, 15 Aug 2023 23:52:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 80FB364D91; Wed, 16 Aug 2023 06:52:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CE55C433C8; Wed, 16 Aug 2023 06:52:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692168751; bh=9x6XYCIJfZswqP71VF9xof0678DuoczWTBVfmmHFNoE=; h=From:To:Cc:Subject:Date:From; b=Qk2/Mu80XH2lI/JVifFwYdyM/VWRmEtd3lxhgLl3D4U4WZZd//hMvjsf27IRvMF11 5CnW8cqLPskd5tnXDQcbSEe9VZRQhQsK8zTeuyiggL+syP8A7DUZGtSiebjdCtYPrJ Pc0jJcDBbsD/NsIt4zs2/b+Ij7VZsNpTUwAywbSvHdLdIAdrcL0KD+Jm9OPh31FQ0D NpMiGJTOrSzM/aaWbqQOeDbKJoBkaK8N7wKrwunNH+b0efvnGQzuJ456UUCluwLQrx NNWLrA3YXqoK3YOFkZ1BN/czm0drz43Ke0ub81Zkz8Vx98WkUSNwvvwg9+rtdEUYmS 4n8OJPb9mt3yA== From: Leon Romanovsky To: Jason Gunthorpe Cc: Leon Romanovsky , Eric Dumazet , Jakub Kicinski , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Mark Bloch , Mark Zhang , netdev@vger.kernel.org, Paolo Abeni , Saeed Mahameed Subject: [PATCH rdma-next 0/2] mlx5 RDMA LAG fixes Date: Wed, 16 Aug 2023 09:52:22 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 From: Leon Romanovsky Hi, These two not urgent fixes to mlx5 RDMA LAG logic. Thanks Mark Bloch (2): RDMA/mlx5: Get upper device only if device is lagged RDMA/mlx5: Send correct port events drivers/infiniband/hw/mlx5/main.c | 57 ++++++++++++++----- .../net/ethernet/mellanox/mlx5/core/lag/lag.c | 29 ++++++++++ include/linux/mlx5/driver.h | 2 + 3 files changed, 75 insertions(+), 13 deletions(-) -- 2.41.0