]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/SnpNt32Dxe/SnpNt32.h
MdeModulePkg: Fix assert in iSCSI.
[mirror_edk2.git] / Nt32Pkg / SnpNt32Dxe / SnpNt32.h
index 8b84ef9d952fbf0d50fa19a5365993d4414ea1ff..cb95c5711c228d3f8c61642d33baf729025fd329 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 \r
-Copyright (c) 2006 - 2007, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2016, 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
 http://opensource.org/licenses/bsd-license.php\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
@@ -154,6 +160,20 @@ struct _SNPNT32_GLOBAL_DATA {
 \r
   EFI_LOCK                          Lock;\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
+  // The maximum number of recycled buffer pointers in RecycledTxBuf.\r
+  //\r
+  UINT32                             MaxRecycledTxBuf;\r
+\r
   //\r
   //  Private functions\r
   //\r