[edk2] Ipv6 support in DxePxeBaseCode driver

2013-11-18 Thread Ari Zigler
Hi all, I have a UNDI driver that doesn't support Ipv6. I explicitly set Undi protocol structure's "Ipv6Supported" field to FALSE. The UEFI spec (2.4) dictates that PxeBC shall set its "Ipv6Available" field according to its underlying SNP Ipv6 capability (p. 996): "Ipv6AvailableTRUE if the Simpl

Re: [edk2] Ipv6 support in DxePxeBaseCode driver

2013-11-18 Thread Ari Zigler
drivers). Ari From: Fu, Siyuan [mailto:siyuan...@intel.com] Sent: Tuesday, November 19, 2013 7:57 AM To: Ari Zigler Cc: edk2-devel@lists.sourceforge.net Subject: RE: Ipv6 support in DxePxeBaseCode driver Hi, Ari First we need to know whether you are using Ethernet or another network medium.

Re: [edk2] PdbFileName

2013-12-18 Thread Ari Zigler
I know this is kind of an old thread, but I thought I might raise the subject again: I've found a way to get the desired binary (with the pdbfile erased from the PE/COFF header) with the current GenFw implementation by dividing the operation into 2 phases: 1. Erase the pdb header with -z

[edk2] [EDK2][PATCH] AdapterInformation.h fix patch

2014-02-24 Thread Ari Zigler
Hi All, Please review the attached patch which fixes compilation error with Protocol/AdapterInformation.h Thanks, Ari -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, Qo

Re: [edk2] [EDK2][PATCH] AdapterInformation.h fix patch

2014-02-24 Thread Ari Zigler
I guess it's simply not my day, is it? From: Olivier Martin [mailto:olivier.mar...@arm.com] Sent: Monday, February 24, 2014 5:53 PM To: edk2-devel@lists.sourceforge.net Cc: Ari Zigler Subject: FW: [EDK2][PATCH] AdapterInformation.h fix patch You forgot the mailing-list now ;-) From: Ari Z

[edk2] MdeModulePkg/Universal/Network/SnpDxp/Station_address.c

2014-03-09 Thread Ari Zigler
Hi, I found this weird comment (and consequent behavior) in the SnpDxe PxeSetStnAddr() implementation: EFI_STATUS PxeSetStnAddr ( SNP_DRIVER *Snp, EFI_MAC_ADDRESS *NewMacAddr ) { ... ... Snp->Cdb.OpFlags = PXE_OPFLAGS_STATION_ADDRESS_READ; // // even though the OPFLAGS are

Re: [edk2] MdeModulePkg/Universal/Network/SnpDxp/Station_address.c

2014-03-10 Thread Ari Zigler
ether below code bring any issue to you? Thanks, Ruth From: Ari Zigler [mailto:a...@mellanox.com] Sent: Sunday, March 09, 2014 6:07 PM To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net> Cc: Haggai Eran Subject: [edk2] MdeModulePkg/Universal/Network/SnpDxp/Station_ad

Re: [edk2] EFIAPI Calling Convention

2014-03-14 Thread Ari Zigler
Hi Andrew, Thanks for the clarification. We're using GCC 4.6 and I saw in the tools_defs.txt that our EFIAPI definition is being mapped to GCC's function attribute __attribute__(ms_abi) which tells the compiler to enforce ms ABI to the function defined with it. I also tracked down a GCC flag (

[edk2] Expansion ROM and ConnectController

2014-04-28 Thread Ari Zigler
Hi, My goal is to get a PCI expansion ROM driver to handle the device it is resided on ONLY (s,t other PCI controllers that otherwise would have been managed by this driver will not be handled). In order to so I considered the following tweaks to my DriverBindingSupported method: 1. Set

[edk2] [CodeReview] Snp driver binding start return status

2012-12-12 Thread Ari Zigler
Hi Erik/Jiang, Can you please review this patch? Some background: While developing a UNDI driver, I found out that the SnpDxe driver's Start() method might return a success status even though the SNP was not successfully installed on the device handle. This occurs at a few places in the code whe

Re: [edk2] [CodeReview] Snp driver binding start return status

2012-12-17 Thread Ari Zigler
Hope this will suffice. -Ari -Original Message- From: Jordan Justen [mailto:jljus...@gmail.com] Sent: Thursday, December 13, 2012 11:22 PM To: Ari Zigler Cc: erik.c.bjo...@intel.com; jiang.a@intel.com; edk2-devel@lists.sourceforge.net Subject: Re: [edk2] [CodeReview] Snp driver

[edk2] Working with PerformancePkg and DP tool

2013-01-28 Thread Ari Zigler
Hi, I was trying to use profiling macros in a driver I'm working on lately and have encountered difficulties working with it: 1. Can DP tool be used on an independent vendor's platform? Meaning: can I run the DP tool on an environment that I didn't build? 2. If so, I've must probab

[edk2] UNDI and InterruptEnable

2013-02-24 Thread Ari Zigler
Hi, While developing a UNDI driver, I came across the Interrupt Enables command, which is described in the UNDI spec: "Disabling an external interrupt enable prevents an external (hardware) interrupt from being signaled by the network device, internally the interrupt events can still be polled

[edk2] UNDI's Fragmented Transmit & Transmit Block

2013-02-26 Thread Ari Zigler
Hi, As no driver in the EDK2 network stack uses Fragmented Transmit (PXE_OPFLAGS_TRANSMIT_FRAGMENTED), not even the SnpDxe one, and nevertheless, fragmented Ip packets manage to go on the wire (I checked it), what is the purpose of this opflag? Who might partition the packets into fragments? D

Re: [edk2] UNDI's Fragmented Transmit & Transmit Block

2013-02-27 Thread Ari Zigler
2.3.1 Appendix E, the >PXE_OPFLAGS_TRANSMIT_FRAGEMENTED/BLOCK/DON'T_BLOCK are only for S/W UNDI. I >think current EDK2 implementation only handle the H/W UNDI now. Thanks, Ruth From: Ari Zigler [mailto:a...@mellanox.com] Sent: Wednesday, February 27, 2013 12:45 AM To: edk2-devel@lists.

Re: [edk2] UNDI's Fragmented Transmit & Transmit Block

2013-02-27 Thread Ari Zigler
ists.sourceforge.net Subject: Re: [edk2] UNDI's Fragmented Transmit & Transmit Block Hi Ari I may misunderstand, you can ignore my statement of 'edk2 not support S/W UNDI'. Sorry. I am wondering, do you meet any specific issue in using current code? Thanks, Ruth From: Ari

[edk2] Python 2.7.2 sockets

2013-03-17 Thread Ari Zigler
Hi, I've found a similar question in the archive: http://sourceforge.net/mailarchive/message.php?msg_id=30387024 But yet, it seems like the answer there is of no help... I too have compiled the EDK2 Python 2.7.2 with the socket module and was able to import the socket module with no noticeable e

[edk2] Python 2.7.2 sockets

2013-03-17 Thread Ari Zigler
[UPDATE]: After pulling from repo and rebuilding, it seems to work out... Nevertheless, under VMware (ESXi 5), trying to use socket.sendto cause the VM to crash. Someone's insight? From: Ari Zigler [mailto:a...@mellanox.com] Sent: Sunday, March 17, 2013 10:36 AM To: edk2-

[edk2] Python 2.7.2 sockets

2013-03-17 Thread Ari Zigler
[UPDATE2]: Trying to use RawIp4Tx with Broadcom network adapter on both HP ProLiant Server and Dell R720 caused them both to crash. From: Ari Zigler [mailto:a...@mellanox.com] Sent: Sunday, March 17, 2013 4:02 PM To: edk2-devel@lists.sourceforge.net Subject: [edk2] Python 2.7.2 sockets

[edk2] [PATCH] Mtftpv6Dxe retransmission mechanism

2013-06-25 Thread Ari Zigler
Hi, Please review the attached patch for Mtftp6Dxe driver. The issue: 1. TFTP protocol is based upon UDP, which means no reliability guaranteed from network stack. 2. Upon each successful received data packet, the client sends an ACK and restarting a timeout timer. 3. Once

Re: [edk2] [PATCH] Mtftpv6Dxe retransmission mechanism

2013-06-30 Thread Ari Zigler
Any update?? From: Ari Zigler [mailto:a...@mellanox.com] Sent: Tuesday, June 25, 2013 6:36 PM To: edk2-devel@lists.sourceforge.net Subject: [edk2] [PATCH] Mtftpv6Dxe retransmission mechanism Hi, Please review the attached patch for Mtftp6Dxe driver. The issue: 1. TFTP protocol is based