]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/SnpNt32Dxe/SnpNt32.h
OvmfPkg/QemuVideoDxe: list "VbeShim.h" in the INF file
[mirror_edk2.git] / Nt32Pkg / SnpNt32Dxe / SnpNt32.h
index 07f61291f7afeb4f67038cd6b028f3df92b6be29..56251342e693bac879d68f9b77b60bb70f75e3ee 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -58,6 +58,12 @@ typedef struct _NT_NET_INTERFACE_INFO {
 #define MAX_INTERFACE_INFO_NUMBER 16\r
 #define MAX_FILE_NAME_LENGTH      280\r
 \r
+#define SNP_MAX_TX_BUFFER_NUM         65536\r
+#define SNP_TX_BUFFER_INCREASEMENT    32\r
+\r
+\r
+\r
+\r
 //\r
 //  Functions in Net Library\r
 //\r
@@ -175,6 +181,21 @@ struct _SNPNT32_INSTANCE_DATA {
   //\r
   LIST_ENTRY                  Entry;\r
 \r
+  //\r
+  // Array of the recycled transmit buffer address.\r
+  //\r
+  UINT64                      *RecycledTxBuf;\r
+\r
+  //\r
+  // Current number of recycled buffer pointers in RecycledTxBuf.\r
+  //\r
+  UINT32                      RecycledTxBufCount;\r
+\r
+  //\r
+  // The maximum number of recycled buffer pointers in RecycledTxBuf.\r
+  //\r
+  UINT32                      MaxRecycledTxBuf;\r
+\r
   SNPNT32_GLOBAL_DATA         *GlobalData;\r
 \r
   EFI_HANDLE                  DeviceHandle;\r