From patchwork Tue Mar 26 05:52: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: 10870427 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 2655C139A for ; Tue, 26 Mar 2019 05:54:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1131C29007 for ; Tue, 26 Mar 2019 05:54:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0144628FD9; Tue, 26 Mar 2019 05:54:49 +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=-2.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 91FF228FD9 for ; Tue, 26 Mar 2019 05:54:49 +0000 (UTC) Received: from localhost ([127.0.0.1]:53191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8f2t-0007qO-To for patchwork-qemu-devel@patchwork.kernel.org; Tue, 26 Mar 2019 01:54:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8f1N-0006Pa-5G for qemu-devel@nongnu.org; Tue, 26 Mar 2019 01:53:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h8f1M-0001hI-5O for qemu-devel@nongnu.org; Tue, 26 Mar 2019 01:53:13 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:35616) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h8f1L-0001gM-Sr for qemu-devel@nongnu.org; Tue, 26 Mar 2019 01:53:12 -0400 Received: by mail-wr1-x441.google.com with SMTP id w1so12820200wrp.2 for ; Mon, 25 Mar 2019 22:53:11 -0700 (PDT) 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=ojGdwSSgzlMeIhomhNWell0ePeLaOj+tKUBX/rDPXZ4=; b=n8dw+iBfwceKKfKpzpgjztdM0oQ8Ez6OBza53EIjdE1co05OK5WomL/2LSPerz0ebH ApRJAZ9wNnPGsgkDa4UvK7S/6pHK8wSr7U+SwT0KeEeRtOg+fmQj1tjhWnXgmEQlm4H4 wF9hix18vf8H+RhB2QJlnp6ayRxZ9YHOVaWepw8tpU9IhipETrtb1fVuvizmt7TUQ6ch M77tYb2CoCf/Bp0YRQB6cZrR3qHaLwFoTOZFxv1PLRRpIjsiaEE7MEt3Njsnx/sHDRpv 6o0he33EupBgf9OckjN12k/rp38qIuvgaLCl2vcEmoVvkVq8o/ir+gMemEo8BWz09DKs JTQg== 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=ojGdwSSgzlMeIhomhNWell0ePeLaOj+tKUBX/rDPXZ4=; b=BpIiC1aOrZg2r3ekbSaSJt7ajlo5XfXPvD9sw4uVQf7ZXpASOJZE+Uy75OaZeXg+HV 70QF/z4zzSFkAsR6x2IFY7S5B69iX48Y9vUiLiHUxNuMSzXlcGXasqS/JU3ZjWzNh174 BvkfV0Wd+zhBlgZWvWJl47C9OodcbRPxOAZoyrkfDakDcejdH3w7FSih6a6UOmRk5kkh +h2pILgci25yicK6bLAD6gIb9jbl2Wh5erTSI9JbyLobhuZYLu6cfnH12Q8+Bh4t5+la J8QHUnQmnRbLyJC+oAioyxOzWdJ0YnlwnY28JAZIJy2q5KnbSnAZ6uKiE4pvi13WVX5O TiCg== X-Gm-Message-State: APjAAAWVhhdzyw4ANlWILyCfrK9gSvouvQRYSFKWWMOAmLXF3GUwHus4 r3AnHMb7sIUY65clSD3Lp4iqBuqF X-Google-Smtp-Source: APXvYqy0fZmpTAmGrVhf4ZbB657HOtN0RGVxQrpLKy9m+WZWiuNspC0iILxGHoREV1mjWTe4N8VJ0g== X-Received: by 2002:adf:e449:: with SMTP id t9mr17488915wrm.204.1553579590090; Mon, 25 Mar 2019 22:53:10 -0700 (PDT) Received: from kheib-workstation.redhat.com (bzq-79-183-5-130.red.bezeqint.net. [79.183.5.130]) by smtp.gmail.com with ESMTPSA id y1sm42753508wrd.34.2019.03.25.22.53.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Mar 2019 22:53:09 -0700 (PDT) From: Kamal Heib To: qemu-devel@nongnu.org Date: Tue, 26 Mar 2019 07:52:48 +0200 Message-Id: <20190326055252.15138-1-kamalheib1@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 Subject: [Qemu-devel] [PATCH 0/4] pvrdma: Add support for SRQ X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kamal Heib , Yuval Shaia Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP This series implements the SRQ (Shared Receive Queue) for the pvrdma device, It also includes all the needed functions and definitions for support SRQ in the backend and resource management layers. Kamal Heib (4): hw/rdma: Add SRQ support to backend layer hw/rdma: Add support for managing SRQ resource hw/rdma: Modify create/destroy QP to support SRQ hw/pvrdma: Add support for SRQ hw/rdma/rdma_backend.c | 124 ++++++++++++++++++++- hw/rdma/rdma_backend.h | 18 +++- hw/rdma/rdma_backend_defs.h | 5 + hw/rdma/rdma_rm.c | 106 +++++++++++++++++- hw/rdma/rdma_rm.h | 13 ++- hw/rdma/rdma_rm_defs.h | 9 ++ hw/rdma/vmw/pvrdma_cmd.c | 208 ++++++++++++++++++++++++++++++++---- hw/rdma/vmw/pvrdma_main.c | 16 +++ hw/rdma/vmw/pvrdma_qp_ops.c | 46 +++++++- hw/rdma/vmw/pvrdma_qp_ops.h | 1 + 10 files changed, 512 insertions(+), 34 deletions(-)