From patchwork Tue Jan 29 10:08:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Heib X-Patchwork-Id: 10785919 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 0189A13B5 for ; Tue, 29 Jan 2019 10:09:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E87252ABF2 for ; Tue, 29 Jan 2019 10:09:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC41D2AC34; Tue, 29 Jan 2019 10:09:12 +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 7E53B2ABF2 for ; Tue, 29 Jan 2019 10:09:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728231AbfA2KJM (ORCPT ); Tue, 29 Jan 2019 05:09:12 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:39485 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725793AbfA2KJL (ORCPT ); Tue, 29 Jan 2019 05:09:11 -0500 Received: by mail-wr1-f65.google.com with SMTP id t27so21324716wra.6 for ; Tue, 29 Jan 2019 02:09:11 -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=euwKo1zZ+EXgsnr3Hj9DYy9ioPjYCqjOq2YmUkGvNTg=; b=ZKjf7TzyimjOkWT8nMbFEeAqoJBa24EnGSlxg/k4BN0cspJiWYwdSZ6Z6MEQbDPF/3 ZvwcPqI9rAb9mMV6W9wBLfqSwBj9nP1uVF+Gi49pBOcD5TNH1QGETgZfEnLcjfRLjHhB 3jLfpEn/oWCTjKpHM7C2i3tqIlYBw5aKmbJaWsBjGdr/8ji8UBIOnHy3w8FFhWragy+b 5YEriH66gXtcoGqGVWhoR0YWEotPC4D5uIXkZF/IUV+25TuvKQQDmQrhm3zVhJxNVXuR EJv7pfDV4FXgxhexYEcEsH/lnp9gox2EsGezxM1OOoZj98jB7YizFMqv4U9F4Mo6jFTU 1vRQ== 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=euwKo1zZ+EXgsnr3Hj9DYy9ioPjYCqjOq2YmUkGvNTg=; b=MBQ+FosSGr6ONAWbGfcj566iy0Qf08CWVK7dzMny1NQN3EoBfHXk9mAqSev3rsA6Uw sb1e+cx6Ipa8YFAWtUnRArbkTAacCwCy6kIGqAtT3WLBJxyTPdrBpFje652WcVaFlji4 ypdEg98G605T2/tulTOxK0+3eMXh1QIzZayg0b3zZCFfmdmACoIlZnScA9pgS9G1OMbC uBVuzaP3n8xSwkZBDgAVclcq4FJ0NQqoQhWP+LhtWW615mDA4UIC9oeFxBq87+HyhqmR RhgHkv9iF27h+aMMm6iYFGE/vD598/WxFXq2DvWM+nsbRUOoswm8qPTUtfx/UwNDpYx2 oOSg== X-Gm-Message-State: AJcUukdiOxz8YYlsRZ/g+3Kx/Lxpuc9jUmXz05BO8LU1wbPGm1A7MtGb tzycmdrJvaGRDxTBiO2BHvZosuI3 X-Google-Smtp-Source: ALg8bN5CvtVeUEsL1U2HN0UfnfXjk+DAXExPYMz5jvosuZZvfsgqMAwiT5Es+sr9M7BNFnxZ7xNLbQ== X-Received: by 2002:adf:9c01:: with SMTP id f1mr26231252wrc.286.1548756547970; Tue, 29 Jan 2019 02:09:07 -0800 (PST) Received: from kheib-workstation.redhat.com ([192.116.94.216]) by smtp.gmail.com with ESMTPSA id q12sm103902903wrx.31.2019.01.29.02.09.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Jan 2019 02:09:07 -0800 (PST) From: Kamal Heib To: Doug Ledford , Jason Gunthorpe Cc: linux-rdma@vger.kernel.org, Yuval Shaia , Marcel Apfelbaum , Kamal Heib Subject: [PATCH rdma-next 0/2] RDMA/rxe: Fix loopback marking Date: Tue, 29 Jan 2019 12:08:48 +0200 Message-Id: <20190129100850.18840-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 patch set includes two patches, the first one move the function rxe_init_av() to a more global place and use it, the second patch Improve marking loopback packets. Kamal Heib (2): RDMA/rxe: Move rxe_init_av() to rxe_av.c RDMA/rxe: Improve loopback marking drivers/infiniband/sw/rxe/rxe_av.c | 7 +++++++ drivers/infiniband/sw/rxe/rxe_loc.h | 1 + drivers/infiniband/sw/rxe/rxe_net.c | 9 +++------ drivers/infiniband/sw/rxe/rxe_qp.c | 7 ++----- drivers/infiniband/sw/rxe/rxe_verbs.c | 11 ++--------- include/uapi/rdma/rdma_user_rxe.h | 3 +-- 6 files changed, 16 insertions(+), 22 deletions(-)