Message ID | 20180630061040.6018-41-pbonzini@redhat.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PYHycRgi"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41HkXs1r1nz9ry1 for <incoming@patchwork.ozlabs.org>; Sat, 30 Jun 2018 16:45:17 +1000 (AEST) Received: from localhost ([::1]:45840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fZ9dC-0008GZ-Vj for incoming@patchwork.ozlabs.org; Sat, 30 Jun 2018 02:45:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1fZ96T-0004Zb-Qp for qemu-devel@nongnu.org; Sat, 30 Jun 2018 02:11:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1fZ96S-0002wr-SW for qemu-devel@nongnu.org; Sat, 30 Jun 2018 02:11:25 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:36499) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1fZ96S-0002tv-MU for qemu-devel@nongnu.org; Sat, 30 Jun 2018 02:11:24 -0400 Received: by mail-wm0-x234.google.com with SMTP id u18-v6so3959729wmc.1 for <qemu-devel@nongnu.org>; Fri, 29 Jun 2018 23:11:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=koXattGyQx5abOfn6zea7ONiB52UkBBBZGLwXrLQN0Q=; b=PYHycRgig715ZQ85xFiWUj2mTNheehUkqQ90MPnOEIF2M9iF91FucccDLsf3jrNfez irpzURvC5R2w90xfMMIeEXlWC2PJlSaljkEK27sm7e/N56JRb7DUX9NZIuRr98Z6vw9T zLOFDIvNTXM+nejRRcD8JBPK7RiZ45anCN7d5uilVZit5JiPZ8O2I7DD5Ce981WbOnJu /nCEYkKnNNb73RhjUL79cplX/fpus/R3wyM9zS1zpkmWwLMlsZal8JQ1ncyc4c8cHg6r +xUF751oXNW6EulQS2XZ4ZfwabLwSVqmw5hYjW6n+jl6NXdZxaWH0vSEgk5taDT6fUCa l/dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=koXattGyQx5abOfn6zea7ONiB52UkBBBZGLwXrLQN0Q=; b=OsUf9/trvewmWn+RlwK2nQDOWpB0Ae71ybQVK4O1lO+ymnbbRhZ4geLLzfuRBH4Khf 10cxXBCQYyVptrLzpoWT2pRATiGDYiY/cC30Tptf0ZFJPJXnX3JsQbtBE1sUSCqy/sez Mf51t94GCHElJf6N1YycWikolfXJTsrgU8EKSzsBniH2+jlet7GNNai2DechgnHnFIAA 0Fkh4bvtMi/Uz0GFJg+eGxP2x2H2LVCwTXheYuHmr5Ohw/526WvMuL/+xPcsYuJYD9Ze Q42w/yMaivY8skvz5Fvzx06WQVzRcRxk8YY0CFyDpuGA8YuzNFZLbNYGhvrW7/EXAw4i EafA== X-Gm-Message-State: APt69E2PsmQemvq7pql+Sye0JpuzDY012n0qW3UC9HUXGfPnyW4zvMfp xwS5gZdinFrEu5KbjZHOHc9/EDhQ X-Google-Smtp-Source: AAOMgpcNtBsMS2u/fvs4i2rSRYvrXOj5Ni2oLiQkb/3DRSWDauM3HQYMww+D5ErEJ9tWsRF6L3aTXg== X-Received: by 2002:a1c:6341:: with SMTP id x62-v6mr3627735wmb.35.1530339083573; Fri, 29 Jun 2018 23:11:23 -0700 (PDT) Received: from donizetti.lan ([82.84.124.111]) by smtp.gmail.com with ESMTPSA id 24-v6sm563454wrz.94.2018.06.29.23.11.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Jun 2018 23:11:23 -0700 (PDT) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Date: Sat, 30 Jun 2018 08:10:33 +0200 Message-Id: <20180630061040.6018-41-pbonzini@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180630061040.6018-1-pbonzini@redhat.com> References: <20180630061040.6018-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::234 Subject: [Qemu-devel] [PULL 40/47] hw/rdma: Use the IEC binary prefix definitions X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
[PULL,01/47] i386/kvm: add support for Hyper-V TLB flush
|
expand
|
diff --git a/hw/rdma/vmw/pvrdma.h b/hw/rdma/vmw/pvrdma.h index 0b46dc5..81e0e0e 100644 --- a/hw/rdma/vmw/pvrdma.h +++ b/hw/rdma/vmw/pvrdma.h @@ -16,6 +16,7 @@ #ifndef PVRDMA_PVRDMA_H #define PVRDMA_PVRDMA_H +#include "qemu/units.h" #include "hw/pci/pci.h" #include "hw/pci/msix.h" @@ -30,7 +31,7 @@ #define RDMA_MSIX_BAR_IDX 0 #define RDMA_REG_BAR_IDX 1 #define RDMA_UAR_BAR_IDX 2 -#define RDMA_BAR0_MSIX_SIZE (16 * 1024) +#define RDMA_BAR0_MSIX_SIZE (16 * KiB) #define RDMA_BAR1_REGS_SIZE 64 #define RDMA_BAR2_UAR_SIZE (0x1000 * MAX_UCS) /* each uc gets page */