Commit Graph

14 Commits

Author SHA1 Message Date
Jiaxin Wu d547b32dcc Nt32Pkg/SnpNt32Dxe: Fix hang issue when multiple network interfaces existed
Currently all the network interfaces share the one recycled transmit buffer
array, which is used to store the recycled buffer address. However, those
recycled buffers are allocated by the different MNP interface if the multiple
network interfaces existed. Then, SNP GetStatus may return one recycled transmit
buffer address to the another MNP interface, which may result in the MNP driver
hang after 'reconnect -r' operation.

Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
2017-05-09 14:32:16 +08:00
Zhang Lubo a2cc5fea44 Nt32Pkg: Fix SnpNt32 GetStatus bug
According to UEFI spec, the Snp.GetStatus should
return the recycled transmit buffer address, while
the NT32 SNP always return value 1 for the Txbuffer.

Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
2016-05-05 08:52:06 +08:00
Jiamin Ma f66a43b26e We enabled X64 native version NT32, and made it works on Windows 7 X64 OS.
Signed-off-by: Jiamin Ma <mjmthy@gmail.com>
Reviewed by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed by: Liming Gao <liming.gao@intel.com>
Reviewed by: Jiewen Yao <jiewen.yao@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14766 6f19259b-4bc3-4df7-8a09-765794883524
2013-10-12 06:31:55 +00:00
hhuan13 aaf779a7ec Fixed a bug: when underlayer receives much more data, return EFI_BUFFER_TOO_SMALL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11132 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 04:42:40 +00:00
xdu2 7ee525b2c1 Report correct MediaPresentSupported value from Nt32 SNP mode data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10620 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-02 03:27:51 +00:00
hhtian 8f2a5f8012 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10436 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28 12:24:39 +00:00
mdkinney a00ec39b52 Fix ICC compatibility issues
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8616 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-20 17:05:16 +00:00
vanjeff 4324075fce fixed one bug when copy MAC address.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8156 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-23 07:19:23 +00:00
qhuang8 6c76a5daa6 Fix typo in driver entry point name
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7667 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 06:00:01 +00:00
jgong5 531237a5ef Scrubbed SnpNt32 c header and source.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6436 6f19259b-4bc3-4df7-8a09-765794883524
2008-11-10 05:11:29 +00:00
vanjeff e90e87777c Use Mde library and definition instead of some native definitions in NetLib.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4695 6f19259b-4bc3-4df7-8a09-765794883524
2008-02-15 01:59:02 +00:00
qhuang8 057d744eee Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3987 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-29 11:17:24 +00:00
qhuang8 806b6f31d9 Clear up network stack to use R9 MdeLib:
1.Use driver model APIs in UefiLib
2.Register Unload Image in INF/MSA to be included in autogen code.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3970 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-28 09:12:52 +00:00
vanjeff 593a8308cc 1. Import SnpNt32Dxe. That is a thunk driver could produce SNP protocol on NT32 platform. It needs cowork with Network I/O driver.
2. Add network stack in Nt32Pkg.dsc.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3774 6f19259b-4bc3-4df7-8a09-765794883524
2007-09-04 08:42:53 +00:00