]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Mon, 17 Jun 2019 18:41:36 +0000 (11:41 -0700)
committerOliver Kurth <okurth@vmware.com>
Mon, 17 Jun 2019 18:41:36 +0000 (11:41 -0700)
open-vm-tools/lib/include/backdoor_def.h

index 3fb6c467a1cbbd0097d9a362977d75ee21328cb6..e46d7d8a5779b0992294e88d190c24e5c06c4dbc 100644 (file)
@@ -71,6 +71,14 @@ extern "C" {
 #define BDOOR_IS_READ(_flags)  (((_flags) & BDOOR_FLAGS_WRITE) == 0)
 #define BDOOR_IS_WRITE(_flags) !BDOOR_IS_READ(_flags)
 
+/*
+ * Max number of BPNs that can be passed in a single call from monitor->VMX with
+ * a HB backdoor request.  This should be kept in parity with
+ * IOSPACE_MAX_REP_BPNS to keep performance between the two HB backdoor
+ * interfaces comparable.
+ */
+#define BDOOR_HB_MAX_BPNS  513
+
 #define   BDOOR_CMD_GETMHZ                    1
 /*
  * BDOOR_CMD_APMFUNCTION is used by: