Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2058005iof; Tue, 7 Jun 2022 18:20:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaq6qL3fS4epBsXjj7vyIu7dfN9OAuY/ecco/5lsX+4UpVPBjel+8npm/nJh198tj6B4V7 X-Received: by 2002:a63:f645:0:b0:3fc:9ac3:e6ab with SMTP id u5-20020a63f645000000b003fc9ac3e6abmr27884972pgj.309.1654651241133; Tue, 07 Jun 2022 18:20:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654651241; cv=none; d=google.com; s=arc-20160816; b=vDR1QNO27tDIrxojB4sl1LFeqYPjqdNCDfKn+qI6N3xACPBj/biK8W4mxhz0tEItea 0LUNOlhImwdtJHDTbMEBpJK4gvBSIxpP94MIsQa36nlcEVGnEnEAlCknD9Hsg2CkVcVB XsBPrQSpfMWvHx0jvxzNc/O8GYUGZHKb4hnX6IZ+/PfG2vLMpe5YWoSwI6CpxtKSvuiv spzl24FD0Lwy5aUSLevkzsKqWibGw+phW+ddk0LB3HQWO8DQzpNRinsILcvBH2a9dNWd Au/uhGQCyPEee+b2h3zINE7agcnH3kHnftzSa4CpHu1grej7vg7bDs/dkxqrO6YfBkQF 1LrQ== 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=rk0Sr3bTRv9F2KdcymPUUFSI2kd86XaQQuvWb80E9y0=; b=G4F3hDU8u5YsRaz1eS/bOIDGuniG9bNuVN+frOsb85USkiShXPzKdqIws2bJXKhMxp p1cUDDFav07fqcX55YSOhkbeONepvXBheehZNqS6YnOQ7XK0v8cLWIfIf8mjeuIVlf8I FaX7khyBsMSnsI4SHBUt2UeWmpgmIAvshotgdpjdo40KQbR2FqmY64P0cIV1fRn6YV+c k0NircJ12QOY9tm2O2G6xJwqLuoGBuLy4iz8A1RV1pQoeDtSr0e5NBlRlTV4bNcNZUFM XMztlNnt/Icx6M4yJYFRy+LgsXAvrItpciHmZGxeaAKrWOg4D9QMYgr0Nr9EDpzORNWd 7UVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PEPVLtpo; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h8-20020a056a001a4800b0051b9548ce0bsi11047351pfv.20.2022.06.07.18.20.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 18:20:41 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PEPVLtpo; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id ABCB225C1F4; Tue, 7 Jun 2022 18:12:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242966AbiFGLc6 (ORCPT + 99 others); Tue, 7 Jun 2022 07:32:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242932AbiFGLcx (ORCPT ); Tue, 7 Jun 2022 07:32:53 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92C8212D0E; Tue, 7 Jun 2022 04:32:52 -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 ams.source.kernel.org (Postfix) with ESMTPS id C4374B81F67; Tue, 7 Jun 2022 11:32:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21908C34119; Tue, 7 Jun 2022 11:32:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654601569; bh=G1xOJRnrI7vWtg0lqwYe4nydLW/5JEjU7wyBFucTG98=; h=From:To:Cc:Subject:Date:From; b=PEPVLtpoBVfqNYb2PIg3Rbb4l/muH7WKkloSjxqBn9eFHqq1ttDjvcNdfEyzAqwWH CmfBPrhfhyJ/Sf52TuldOIqnrzcLZcjwpVHG/uX4DnPOa66yP3UDtT0preLETElFIO yetDlVdK1+xb6byn+m+Fqcw4SzwPaYhOGHLgkcrGlol/XcpCphFuSphoac5dqZalc/ ANLvy/WMjv+O8icr/q46XuCWKuR4OtIICvcTE3YlbcPlhkfN/EevYwH2zb9b5WBrQB fRqRLYvtJbYjNfftXdx2cjVlXLUA0Puek3TRuRoGJArU0TmQGyywnRNhPGUqcfDU9b 4RKF0Q6XVoKbg== From: Leon Romanovsky To: Jason Gunthorpe Cc: Leon Romanovsky , linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, Mark Zhang , Patrisious Haddad Subject: [PATCH rdma-next v2 0/2] Add gratuitous ARP support to RDMA-CM Date: Tue, 7 Jun 2022 14:32:42 +0300 Message-Id: X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Changelog: v2: * Patch 1: used memcp and ipv6_addr_cmp * Patch 2: removed cma_netevent_work v1: https://lore.kernel.org/linux-rdma/cover.1652935014.git.leonro@nvidia.com/ * Removed special workqueue * Rewrote compare_netdev_and_ip() v0: https://lore.kernel.org/all/cover.1649075034.git.leonro@nvidia.com ---------------------------------------------------------------------------- In this series, Patrisious adds gratuitous ARP support to RDMA-CM, in order to speed up migration failover from one node to another. Thanks Patrisious Haddad (2): RDMA/core: Add an rb_tree that stores cm_ids sorted by ifindex and remote IP RDMA/core: Add a netevent notifier to cma drivers/infiniband/core/cma.c | 230 +++++++++++++++++++++++++++-- drivers/infiniband/core/cma_priv.h | 1 + include/rdma/rdma_cm.h | 1 + 3 files changed, 220 insertions(+), 12 deletions(-) -- 2.36.1