]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Mon, 19 Apr 2021 18:08:10 +0000 (11:08 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Mon, 19 Apr 2021 18:08:10 +0000 (11:08 -0700)
open-vm-tools/modules/shared/vmxnet/vmxnet3_defs.h

index df5c60b8d1976f1aec5b0f5b9fdb86baa84b4dea..a51baf862b40d0bc3b9d62f84ca9277f080936e0 100644 (file)
@@ -140,6 +140,7 @@ typedef enum {
    VMXNET3_CMD_SET_RSS_FIELDS,
    VMXNET3_CMD_SET_PKTSTEERING, /* 0xCAFE0011 */
    VMXNET3_CMD_SET_ESP_QUEUE_SELECTION_CONF,
+   VMXNET3_CMD_SET_RING_BUFFER_SIZE,
 
    VMXNET3_CMD_FIRST_GET = 0xF00D0000,
    VMXNET3_CMD_GET_QUEUE_STATUS = VMXNET3_CMD_FIRST_GET,
@@ -1036,6 +1037,15 @@ typedef struct Vmxnet3_ESPQueueSelectionConf {
 } Vmxnet3_ESPQueueSelectionConf;
 #pragma pack(pop)
 
+#pragma pack(push, 1)
+typedef struct Vmxnet3_RingBufferSize {
+   __le16             ring1BufSizeType0;
+   __le16             ring1BufSizeType1;
+   __le16             ring2BufSizeType1;
+   __le16             pad;
+} Vmxnet3_RingBufferSize;
+#pragma pack(pop)
+
 /*
  * If a command data does not exceed 16 bytes, it can use
  * the shared memory directly. Otherwise use variable length
@@ -1048,6 +1058,7 @@ typedef union Vmxnet3_CmdInfo {
    Vmxnet3_RSSField            setRSSFields;
    Vmxnet3_EncapDstPort        encapDstPort;
    Vmxnet3_ESPQueueSelectionConf espQSConf;
+   Vmxnet3_RingBufferSize      ringBufSize;
    __le64                      data[2];
 } Vmxnet3_CmdInfo;
 #pragma pack(pop)