Re: [PATCH] bug fix for efi network

2012-05-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.04.2012 20:19, Bean wrote: 2012/4/30 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com: On 29.04.2012 10:22, Bean wrote: Hi, This patch fix a few bugs in efinet. It also change the tftp block size from 1024 to 8192, which would result in HUGE speed difference. In my previous

Re: [PATCH] bug fix for efi network

2012-05-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 29.04.2012 17:05, Bean wrote: + for (i = 0; i 3; i++) { + grub_uint64_t limit_time; + + efi_call_3 (net-get_status, net, int_status, 0); + + limit_time = grub_get_time_ms () + 5; + for (;;) + { + st = efi_call_7 (net-transmit, net, 0,

Re: [PATCH] bug fix for efi network

2012-05-03 Thread Bean
On Thu, May 3, 2012 at 11:38 PM, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com wrote: On 29.04.2012 17:05, Bean wrote: +  for (i = 0; i 3; i++)      { +      grub_uint64_t limit_time; + +      efi_call_3 (net-get_status, net, int_status, 0); + +      limit_time =

[PATCH] bug fix for efi network

2012-04-29 Thread Bean
Hi, This patch fix a few bugs in efinet. It also change the tftp block size from 1024 to 8192, which would result in HUGE speed difference. In my previous testing, the larger the block size, the faster the speed. It can reach up to 60-70MB/s in 1Gb ethernet when block size is about 60K,

Re: [PATCH] bug fix for efi network

2012-04-29 Thread Bean
Hi, Sorry, the previous patch missed a similar bug. On Sun, Apr 29, 2012 at 4:22 PM, Bean bean12...@gmail.com wrote: Hi, This patch fix a few bugs in efinet. It also change the tftp block size from 1024 to 8192, which would result in HUGE speed difference. In my previous testing, the

Re: [PATCH] bug fix for efi network

2012-04-29 Thread Bean
Hi, Update: I also rewrite the send_card_buffer function. Also add support for tftp_block_size environment variable which allows user to specify customized block size (default is 8192). for example: set tftp_block_size=16384 testspeed (tftp)/imagefile When testing in virtual machine, try not

Re: [PATCH] bug fix for efi network

2012-04-29 Thread Bean
2012/4/30 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com: On 29.04.2012 10:22, Bean wrote: Hi, This patch fix a few bugs in efinet. It also change the tftp block size from 1024 to 8192, which would result in HUGE speed difference. In my previous testing, the larger the block size,

Re: [PATCH] Bug fix for EFI

2008-08-23 Thread Bean
On Fri, Aug 22, 2008 at 1:37 AM, Bean [EMAIL PROTECTED] wrote: Hi, This patch fix two bugs in the EFI port: 1, grub_longjmp (x86_64 EFI): Return 1 when val = 0. This behavior is consistent with grub_longjmp of i386 platform. 2, genfslist.sh and genpartmaplist.sh In EFI, the kernel is

[PATCH] Bug fix for EFI

2008-08-21 Thread Bean
Hi, This patch fix two bugs in the EFI port: 1, grub_longjmp (x86_64 EFI): Return 1 when val = 0. This behavior is consistent with grub_longjmp of i386 platform. 2, genfslist.sh and genpartmaplist.sh In EFI, the kernel is in a module kernel.mod. genfslist.sh scans the source for