Message ID | 20180611011501.10235-40-f4bug@amsat.org |
---|---|
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=none (p=none dis=none) header.from=amsat.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="vdxHpkJj"; 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 413wj910Shz9rxs for <incoming@patchwork.ozlabs.org>; Mon, 11 Jun 2018 11:41:33 +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 1fSBpq-0000Sx-O1 for incoming@patchwork.ozlabs.org; Sun, 10 Jun 2018 21:41:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1fSBSm-0006Kt-D5 for qemu-devel@nongnu.org; Sun, 10 Jun 2018 21:17:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1fSBSl-0003lK-Hq for qemu-devel@nongnu.org; Sun, 10 Jun 2018 21:17:40 -0400 Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]:42499) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1fSBSl-0003l4-D1; Sun, 10 Jun 2018 21:17:39 -0400 Received: by mail-qt0-x22f.google.com with SMTP id y31-v6so18839613qty.9; Sun, 10 Jun 2018 18:17:39 -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=YvskLKcW3MrZvOPmeq+nHoW6QUPr1YWSMOQ8q7iM6To=; b=vdxHpkJjhxPMhbX8bAI/o5cCfbWC6ltcQWocO+j1UUhVmzFOs+/wvjWvZUEDVdMFAp adCcZh/nJuXslyPIc8QmI6szIL8OtlxhTtbvzrCFUZsaIxZnPJ1rkoItDb8S5OHXyLwW rHHan1zbO3FbgivnoMZY6rSO0+Uo27tAsbH0t0LtOX+BiFALRs4cxh2ke8yYn4A57Xpe KGl+L01JewAvtvTNFqgqgVp6JkURHFdj/wYFOj7g48jGKvqoFmtmz8HhkHT5dh0/c5Dp TnVvJOUEVYFG6vkpWf60BvguElxf50PtdiM5O6qbHPAn68dmh4H05IPLX1hchtYoXuvs zrhQ== 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=YvskLKcW3MrZvOPmeq+nHoW6QUPr1YWSMOQ8q7iM6To=; b=iUTD69Y/UaWcltYVFUaKiDbneSJ/2C1jFk9x0N3drX1dV7qE2K8GttoTS66ByPepj9 KS7QDaZ4seh6tJjpTqhtOe+zHpmsjsyNPVCUMQV5Z2dM2tlPOJY7LQLMemZtPo/igFN2 iMY0ZazlUorMRryg9B7LfyWlIGeYupCF941+amfznt+AO8fEw1pD8Nw0khZzFFdVTWHQ KVdrMBDkIgQ0T97SyTDyTfo1eErXMsH57BKl/YQiEJw8Jafl5HJTyubLF93pHv5qg0jv JygHnoUw6rrhKo82YQoQBrHvgFQl+DCi6XmFIAabagiA7x49SNDtYwLFMIQn0wSg1HsG X2TQ== X-Gm-Message-State: APt69E3mVdF0LkzJXaQ3lr4o54KtHshzbpcSlHg9AJl4rc40wzxI3OQL OG/IxjsTcfK5WL8rhQx4IFE= X-Google-Smtp-Source: ADUXVKIh/mJ9SqnhuqrF1avrOSGpKDLLZUVqyT9AQyX/CqPH14QwRSW8E3vnomGqzP6knOhhEbmAfg== X-Received: by 2002:ac8:1bee:: with SMTP id m43-v6mr14746276qtk.339.1528679859012; Sun, 10 Jun 2018 18:17:39 -0700 (PDT) Received: from x1.local ([138.117.48.222]) by smtp.gmail.com with ESMTPSA id o5-v6sm28237223qtm.60.2018.06.10.18.17.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Jun 2018 18:17:38 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org> To: Thomas Huth <thuth@redhat.com>, Stefan Weil <sw@weilnetz.de> Date: Sun, 10 Jun 2018 22:15:00 -0300 Message-Id: <20180611011501.10235-40-f4bug@amsat.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180611011501.10235-1-f4bug@amsat.org> References: <20180611011501.10235-1-f4bug@amsat.org> 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: 2607:f8b0:400d:c0d::22f Subject: [Qemu-devel] [PATCH v4 39/40] 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: qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>, Yuval Shaia <yuval.shaia@oracle.com>, qemu-devel@nongnu.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 |
Use the IEC binary prefix definitions
|
expand
|
diff --git a/hw/rdma/vmw/pvrdma.h b/hw/rdma/vmw/pvrdma.h index 0b46dc5a9b..81e0e0e99c 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 */