From patchwork Wed Feb 6 09:32:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Heib X-Patchwork-Id: 10798909 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8A6A413B4 for ; Wed, 6 Feb 2019 09:32:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76CAD2ABD8 for ; Wed, 6 Feb 2019 09:32:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 682DD2ABDE; Wed, 6 Feb 2019 09:32:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5558B2ABD8 for ; Wed, 6 Feb 2019 09:32:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727003AbfBFJcX (ORCPT ); Wed, 6 Feb 2019 04:32:23 -0500 Received: from mail-wm1-f50.google.com ([209.85.128.50]:51765 "EHLO mail-wm1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726657AbfBFJcX (ORCPT ); Wed, 6 Feb 2019 04:32:23 -0500 Received: by mail-wm1-f50.google.com with SMTP id b11so1695469wmj.1 for ; Wed, 06 Feb 2019 01:32:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/Wm0nV9OSMERWw0YQvO9G5YHLwnZ/tFW62N9qk5M9CQ=; b=P3vyRThGEGhrB7GlrcpHMBDMzcE6EXkXDfNN39J5ncWSS08sp9Ya+w+7hxpaHSv3Yo gTWyar3yzp7jn5Y86wX3HpF7HvEeEJb/b0DYNKM1AxsE5fvQctFiMiRD70Uwh4lWP8Xa b0YZJovAOfxiFaSd9N2KMV7iiNq/KSFPwZmgO7LbnEj8Bo9xGVjKv3cBozsahZGvGRIw 2IXr3O5+pzQLZQU7LVYisU2ipk1aGngnWwmoJ+AnBYbFsffmeAUArxicaGD6Fe6azQxh cWaFw5S6mrQc+DjiA6Cn9HSy7+rv+797Dgg9xsv3nuxeN96yeQzgDzIo/fyKAGH0BNt3 8PgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/Wm0nV9OSMERWw0YQvO9G5YHLwnZ/tFW62N9qk5M9CQ=; b=PjgFjr06TDmqs+CIaIubpnU3C626KS9OCfW3Qta+ndlU5fxBNv7F93XVh5BoldraFY pE7PKwhhVpzWcMnnBjutImdqFEQybZ1mGRDcQBf8Bkz4UekmkQUcKy2rjQT5Gwv6uNd8 QbSv1UuEfdHYcXfoFawO855bjFw8i9LgmOAHRhTmc21hkaKhW1u6SaYJCa/egjWsGHPH +oP/xjMeP018eopddOBGssJifsUS/6s9RwLF3pQWmaREXUGvuiawLhw7iZn4ugmRhjUL t38iEPJocOrfh05zA8L9SWK+ffD7i4VofyMAxXHOAfjGvLONLmJu3z3/UqXPwpzTF8Ng Hn0Q== X-Gm-Message-State: AHQUAuZ/Qc+8ra8sOl8KA/Pqn6SgqD/jI+n3qHh17CBytLEUqSeUQkcG 7KXH3n4SyaoFl78IBvLkMOMufFhB X-Google-Smtp-Source: AHgI3IakaWt0cVPSAPfx6Pib+2uA/7AEkizGw9SVS5W1pFzgh6XGbvM6ns55T/JflsPI3xgqAyLXmQ== X-Received: by 2002:a1c:c10f:: with SMTP id r15mr2317894wmf.27.1549445540905; Wed, 06 Feb 2019 01:32:20 -0800 (PST) Received: from kheib-workstation.redhat.com ([192.116.94.216]) by smtp.gmail.com with ESMTPSA id z5sm1783556wmi.15.2019.02.06.01.32.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Feb 2019 01:32:20 -0800 (PST) From: Kamal Heib To: linux-rdma@vger.kernel.org Cc: Yuval Shaia , Marcel Apfelbaum , Kamal Heib Subject: [PATCH rdma-core 0/3] librxe: Resolve dmac when creating AH Date: Wed, 6 Feb 2019 11:32:02 +0200 Message-Id: <20190206093205.7667-1-kamalheib1@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This series adds the support for resolving the destination MAC address when creating the AH. The dmac will be used by the driver to mark loopback packets if the dmac and the smac are equal. PR was sent: https://github.com/linux-rdma/rdma-core/pull/471 Kamal Heib (3): Update kernel headers verbs: Allow passing NULL vid for ibv_resolve_eth_l2_from_gid() rxe: Resolve destination MAC address when creating AH kernel-headers/rdma/ib_user_verbs.h | 2 ++ kernel-headers/rdma/rdma_user_rxe.h | 3 +-- libibverbs/verbs.c | 11 +++++++---- providers/mlx5/verbs.c | 4 +--- providers/rxe/rxe.c | 4 ++++ providers/vmw_pvrdma/verbs.c | 3 +-- 6 files changed, 16 insertions(+), 11 deletions(-)