/** @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
#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
);\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
\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