]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Network/MnpDxe/MnpImpl.h
BaseTools:Change the path of the file that Binary Cache
[mirror_edk2.git] / MdeModulePkg / Universal / Network / MnpDxe / MnpImpl.h
index c66be6487b82900179bb98f0d1ede00e09230ee2..7d542403465993eb7b15d3ff307ea75ef6ef4e35 100644 (file)
@@ -1,15 +1,8 @@
 /** @file\r
   Declaration of structures and functions of MnpDxe driver.\r
 \r
-Copyright (c) 2005 - 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\r
-of the BSD License which accompanies this distribution.  The full\r
-text of the license may be found at<BR>\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -27,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define MNP_INIT_NET_BUFFER_NUM       512\r
 #define MNP_NET_BUFFER_INCREASEMENT   64\r
 #define MNP_MAX_NET_BUFFER_NUM        65536\r
-#define MNP_TX_BUFFER_INCREASEMENT    64\r
+#define MNP_TX_BUFFER_INCREASEMENT    32    // Same as the recycling Q length for xmit_done in UNDI command.\r
 #define MNP_MAX_TX_BUFFER_NUM         65536\r
 \r
 #define MNP_MAX_RCVD_PACKET_QUE_SIZE  256\r
@@ -366,7 +359,7 @@ MnpBuildTxPacket (
   );\r
 \r
 /**\r
-  Synchronously send out the packet. \r
+  Synchronously send out the packet.\r
 \r
   This functon places the packet buffer to SNP driver's tansmit queue. The packet\r
   can be considered successfully sent out once SNP acccetp the packet, while the\r
@@ -468,7 +461,7 @@ MnpFreeNbuf (
 \r
 /**\r
   Allocate a free TX buffer from MnpDeviceData->FreeTxBufList. If there is none\r
-  in the queue, first try to recycle some from SNP, then try to allocate some and add \r
+  in the queue, first try to recycle some from SNP, then try to allocate some and add\r
   them into the queue, then fetch the NET_BUF from the updated FreeTxBufList.\r
 \r
   @param[in, out]  MnpDeviceData        Pointer to the MNP_DEVICE_DATA.\r