]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to common header file not applicable to open-vm-tools.
authorKruti <kpendharkar@vmware.com>
Mon, 15 Jul 2024 09:56:38 +0000 (02:56 -0700)
committerKruti <kpendharkar@vmware.com>
Mon, 15 Jul 2024 09:56:38 +0000 (02:56 -0700)
open-vm-tools/modules/shared/vmxnet/vmxnet_def.h

index e94faf98fd5990688a26fe8c69cc57233587f84b..3a3b6d6d3aaf7abc62b2a54401089887994db063 100644 (file)
@@ -1,5 +1,6 @@
 /*********************************************************
- * Copyright (C) 1999-2014 VMware, Inc. All rights reserved.
+ * Copyright (c) 1999-2024 Broadcom. All Rights Reserved.
+ * The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License as published by the
@@ -167,6 +168,21 @@ typedef uint32 Vmxnet_DDMagic;
                                  /*       packet byte value */
 #define VMXNET_PM_OPCODE_END   0 /* args: <none> */
 
+/*
+ * The strict latency configuration
+ */
+#define VMXNET3_SL_MIN_QUEUES                  1
+#define VMXNET3_SL_MAX_QUEUES                  32
+#define VMXNET3_SL_MIN_RING_DESC_SIZE          128
+#define VMXNET3_SL_MAX_RING_DESC_SIZE          2048
+#define VMXNET3_SL_RING_SIZE_INCREMENT_UNIT    64
+#define VMXNET3_SL_DEFAULT_LATENCY_MEASUREMENT  1
+#define VMXNET3_SL_DEFAULT_TX_QUEUES           1
+#define VMXNET3_SL_DEFAULT_RX_QUEUES           1
+#define VMXNET3_SL_DEFAULT_TX_RING_DESC_SIZE   256
+#define VMXNET3_SL_DEFAULT_RX_RING_DESC_SIZE   256
+#define VMXNET3_SL_DEFAULT_DISABLE_OFFLOADS    "TSO_LRO"
+
 typedef union Vmxnet_WakePktCmd {
    uint32 pktData : 32;
    struct {