From patchwork Tue Mar 26 12:54:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamal Heib X-Patchwork-Id: 10870961 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 F38931575 for ; Tue, 26 Mar 2019 12:56:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E111628E9A for ; Tue, 26 Mar 2019 12:56:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D56F028ED8; Tue, 26 Mar 2019 12:56:19 +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 222F328E9A for ; Tue, 26 Mar 2019 12:56:19 +0000 (UTC) Received: from localhost ([127.0.0.1]:59403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8lco-00061R-Eg for patchwork-qemu-devel@patchwork.kernel.org; Tue, 26 Mar 2019 08:56:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h8lbX-00050T-Ak for qemu-devel@nongnu.org; Tue, 26 Mar 2019 08:55:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h8lbV-0001kG-B9 for qemu-devel@nongnu.org; Tue, 26 Mar 2019 08:54:59 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:45332) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h8lbU-0001jl-Ta for qemu-devel@nongnu.org; Tue, 26 Mar 2019 08:54:57 -0400 Received: by mail-wr1-x441.google.com with SMTP id s15so14189450wra.12 for ; Tue, 26 Mar 2019 05:54:56 -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=YWA/p6/hw0pn3I10MPAAlbKvEEMi3mdtfTwg9gpWq6M=; b=dNXwpMurH3AVx6I5KmVMUkevaCer+M+6vo4WUH9lCl4sV/8ISaxqly4Sb5UlyR2NIF BRMMwzbDVRLcHIJWD5bjpSnu0tLFlrL0d847l1lEGD6a0w30CpxfprGQnw7KhHtYKsGg sIwcwhVJLYoLvBbOSoZBi80l3YuTi5JvwvrVQR+58T3UHoXD3myPNwkh3w++GNc+NYf1 pMP0eQN4A+yM9TD7B8Mco6hzETgCSsUrXE0Oi/eR2LXdjmjEny0LJ5KdnKRu01PrwYqW F+yBpi9pTRXf4dFEbu/wlRMJlinpkRA6jQSgxHy/Tibvq3+CFBLnIoSdJZdQSk051pAg b/XQ== 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=YWA/p6/hw0pn3I10MPAAlbKvEEMi3mdtfTwg9gpWq6M=; b=e+F+Qy2nLPtaoFPTn+tRdVnxORF3gDiBdipGKiOZvMzaUz3ttHO9L35hWTJ1wmvgUP gjR8XSdgdANLaJjoUPcgfvSQ/u1YWL8fxdKO9KmgarIFetYOERBiSUf3ENdp96hjnvkp DytJnwpVrPqAVq8lmMvidmPMdkFRCRfB37556sm/ytGXGXMKSGVVvHKyqL0A2+FoYtQ/ 7duUIKRSZbrLB9rtwTDk2XPin8yAJiqHciPXldiw1fybvhShdgfr9qyf0mXZkRKxMutq mtsaUYTdsfESfLoWxieHMGs6ppounhNaSIkMNmv8rHDSdIuBd3+grkthhN4SZTHTb1yW x1+Q== X-Gm-Message-State: APjAAAUTGR6hid4rRTxo65Dd68cAC3/EIP2hS0AYftrOWnwRMWhrvLUH r18mBwv3PiaYGm25RYviYZYaEQv6 X-Google-Smtp-Source: APXvYqzx4DVRzsfHREpnshUKRXhBjtCeEWbIff8HFKrg8y/DU1qFt1pmxyYwDuCcC5WjbvD2nRrWUA== X-Received: by 2002:a5d:4081:: with SMTP id o1mr19970327wrp.241.1553604895146; Tue, 26 Mar 2019 05:54:55 -0700 (PDT) Received: from kheib-workstation.redhat.com ([192.116.94.220]) by smtp.gmail.com with ESMTPSA id z74sm5115311wmc.2.2019.03.26.05.54.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Mar 2019 05:54:54 -0700 (PDT) From: Kamal Heib To: qemu-devel@nongnu.org Date: Tue, 26 Mar 2019 14:54:29 +0200 Message-Id: <20190326125433.475-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 v2 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. Changes from v1->v2: - Handle checkpatch.pl warnings. 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 | 125 +++++++++++++++++++++- 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, 513 insertions(+), 34 deletions(-)