From patchwork Sun Aug 5 15:35:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuval Shaia X-Patchwork-Id: 10556161 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 A289C14E2 for ; Sun, 5 Aug 2018 15:37:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8611B296B5 for ; Sun, 5 Aug 2018 15:37:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 799FE296D2; Sun, 5 Aug 2018 15:37:29 +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,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1B993296B5 for ; Sun, 5 Aug 2018 15:37:28 +0000 (UTC) Received: from localhost ([::1]:58982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmL5z-0008AN-Sl for patchwork-qemu-devel@patchwork.kernel.org; Sun, 05 Aug 2018 11:37:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmL4b-00071g-5n for qemu-devel@nongnu.org; Sun, 05 Aug 2018 11:36:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmL4W-0006Mw-8p for qemu-devel@nongnu.org; Sun, 05 Aug 2018 11:36:01 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:40258) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fmL4V-0006Ml-VH for qemu-devel@nongnu.org; Sun, 05 Aug 2018 11:35:56 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w75FZrl4150199; Sun, 5 Aug 2018 15:35:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id; s=corp-2018-07-02; bh=kIH6UqzddClB3y3cI8rCs8LehMrKG66H5UmcajAJpjM=; b=KqQaWJ3vFjyN/NSWeM7bY1nq7N+y/r3D1S7WxHpHJ0udg4toP6ezYtAxM7mA1Cu4t5I3 fOvEPHalZb/2uaNz8JzJR48ZbXKPRit+CbTqtuxrqium7QTkw2A6Oe2jj2HlAT/rmQfx b136xxZ18ApSllqWp9yLgX9kAH5V1MUbD4bu1rbeTE4AmfwPw4+lFiW90l3QJC7zfQ2Y GyyoB/vJMp1EJrIslBKNb6kJ/n18BsuHkgIsc5pCmCl8v6u+o90LXAuwz0+MtVx41b2z sWI25ihYdWsVx5Ozl78CL+2Ihg5FNYI7jClIQ7XMLRbYl3L0eHQSNd81vwxzlh5PiCb4 fQ== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp2130.oracle.com with ESMTP id 2kn1nctfsw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 05 Aug 2018 15:35:53 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w75FZqeX003159 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 5 Aug 2018 15:35:52 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w75FZpmH029345; Sun, 5 Aug 2018 15:35:52 GMT Received: from localhost.localdomain (/77.138.186.148) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 05 Aug 2018 08:35:51 -0700 From: Yuval Shaia To: qemu-devel@nongnu.org, yuval.shaia@oracle.com, marcel.apfelbaum@gmail.com Date: Sun, 5 Aug 2018 18:35:05 +0300 Message-Id: <20180805153518.2983-1-yuval.shaia@oracle.com> X-Mailer: git-send-email 2.17.1 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8975 signatures=668707 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808050173 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 141.146.126.79 Subject: [Qemu-devel] [PATCH v2 00/13] Misc fixes for pvrdma device 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: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi, Please review some changes i've made for pvrdma device. v1 -> v2: * Fix various stuff pointed by Marcel * Add Marcel's r-b Yuval Shaia (13): hw/rdma: Make distinction between device init and start modes hw/pvrdma: Bugfix - provide the correct attr_mask to query_qp hw/rdma: Modify debug macros hw/pvrdma: Clean CQE before use hw/pvrdma: Make default pkey 0xFFFF hw/rdma: Delete useless structure RdmaRmUserMR hw/rdma: Do not allocate memory for non-dma MR hw/rdma: Reorder resource cleanup hw/pvrdma: Cosmetic change - indent right hw/rdma: Cosmetic change - move to generic function hw/rdma: Print backend QP number in hex format hw/rdma: Bugfix - Support non-aligned buffers hw/rdma: Add reference to pci_dev in backend_dev hw/rdma/rdma_backend.c | 105 +++++++++++++++++++++------ hw/rdma/rdma_backend.h | 4 +- hw/rdma/rdma_backend_defs.h | 3 +- hw/rdma/rdma_rm.c | 69 ++++++++---------- hw/rdma/rdma_rm_defs.h | 10 +-- hw/rdma/rdma_utils.c | 4 ++ hw/rdma/rdma_utils.h | 16 +++-- hw/rdma/vmw/pvrdma.h | 3 + hw/rdma/vmw/pvrdma_cmd.c | 8 ++- hw/rdma/vmw/pvrdma_main.c | 137 +++++++++++++++++++++--------------- hw/rdma/vmw/pvrdma_qp_ops.c | 5 +- 11 files changed, 228 insertions(+), 136 deletions(-)