Re: [PATCH 2/2] ofnet: implement a receive buffer

2016-11-30 Thread Stanislav Kholmanskikh
On 11/23/2016 06:09 PM, Stanislav Kholmanskikh wrote: > > > On 11/23/2016 02:16 PM, Daniel Kiper wrote: >> On Tue, Nov 22, 2016 at 05:08:25PM +0300, Stanislav Kholmanskikh wrote: >>> On 11/22/2016 12:48 AM, Daniel Kiper wrote: On Fri, Nov 18, 2016 at 04:29:24PM +0300, Stanislav Kholmanskik

Re: [PATCH 2/2] ofnet: implement a receive buffer

2016-11-24 Thread Daniel Kiper
On Wed, Nov 23, 2016 at 06:09:52PM +0300, Stanislav Kholmanskikh wrote: [...] > I'll do this for ieee1275. As for efi/uboot, I think I can also do this, > but later, since testing this may take some time. I'd prefer to play > with efi/uboot after finishing with this series :) No problem. > Rega

Re: [PATCH 2/2] ofnet: implement a receive buffer

2016-11-23 Thread Stanislav Kholmanskikh
On 11/23/2016 02:16 PM, Daniel Kiper wrote: > On Tue, Nov 22, 2016 at 05:08:25PM +0300, Stanislav Kholmanskikh wrote: >> On 11/22/2016 12:48 AM, Daniel Kiper wrote: >>> On Fri, Nov 18, 2016 at 04:29:24PM +0300, Stanislav Kholmanskikh wrote: On 11/16/2016 01:34 AM, Daniel Kiper wrote: > O

Re: [PATCH 2/2] ofnet: implement a receive buffer

2016-11-23 Thread Daniel Kiper
On Tue, Nov 22, 2016 at 05:08:25PM +0300, Stanislav Kholmanskikh wrote: > On 11/22/2016 12:48 AM, Daniel Kiper wrote: > > On Fri, Nov 18, 2016 at 04:29:24PM +0300, Stanislav Kholmanskikh wrote: > >> On 11/16/2016 01:34 AM, Daniel Kiper wrote: > >>> On Tue, Apr 12, 2016 at 03:39:56PM +0300, Stanisla

Re: [PATCH 2/2] ofnet: implement a receive buffer

2016-11-22 Thread Stanislav Kholmanskikh
On 11/22/2016 12:48 AM, Daniel Kiper wrote: > On Fri, Nov 18, 2016 at 04:29:24PM +0300, Stanislav Kholmanskikh wrote: >> On 11/16/2016 01:34 AM, Daniel Kiper wrote: >>> On Tue, Apr 12, 2016 at 03:39:56PM +0300, Stanislav Kholmanskikh wrote: get_card_packet() from ofnet.c allocates a netbuff

Re: [PATCH 2/2] ofnet: implement a receive buffer

2016-11-21 Thread Daniel Kiper
On Fri, Nov 18, 2016 at 04:29:24PM +0300, Stanislav Kholmanskikh wrote: > On 11/16/2016 01:34 AM, Daniel Kiper wrote: > > On Tue, Apr 12, 2016 at 03:39:56PM +0300, Stanislav Kholmanskikh wrote: > >> get_card_packet() from ofnet.c allocates a netbuff based on the device's > >> MTU: > >> > >> nb =

Re: [PATCH 2/2] ofnet: implement a receive buffer

2016-11-18 Thread Stanislav Kholmanskikh
On 11/16/2016 01:34 AM, Daniel Kiper wrote: > On Tue, Apr 12, 2016 at 03:39:56PM +0300, Stanislav Kholmanskikh wrote: >> get_card_packet() from ofnet.c allocates a netbuff based on the device's MTU: >> >> nb = grub_netbuff_alloc (dev->mtu + 64 + 2); >> >> In the case when the MTU is large, and t

Re: [PATCH 2/2] ofnet: implement a receive buffer

2016-11-15 Thread Daniel Kiper
On Tue, Apr 12, 2016 at 03:39:56PM +0300, Stanislav Kholmanskikh wrote: > get_card_packet() from ofnet.c allocates a netbuff based on the device's MTU: > > nb = grub_netbuff_alloc (dev->mtu + 64 + 2); > > In the case when the MTU is large, and the received packet is > relatively small, this leads

Re: [PATCH 2/2] ofnet: implement a receive buffer

2016-10-13 Thread Stanislav Kholmanskikh
Hi. I still believe this series may be useful for the community. So here is one more ping. Thanks. On 07/13/2016 05:35 PM, Stanislav Kholmanskikh wrote: > Hi. > > On 05/10/2016 01:45 PM, Stanislav Kholmanskikh wrote: >> Hi. >> >> Could anybody have a look at this series, please? > > Ping. > >

Re: [PATCH 2/2] ofnet: implement a receive buffer

2016-07-13 Thread Stanislav Kholmanskikh
Hi. On 05/10/2016 01:45 PM, Stanislav Kholmanskikh wrote: Hi. Could anybody have a look at this series, please? Ping. Thanks. On 04/12/2016 03:39 PM, Stanislav Kholmanskikh wrote: get_card_packet() from ofnet.c allocates a netbuff based on the device's MTU: nb = grub_netbuff_alloc (d

Re: [PATCH 2/2] ofnet: implement a receive buffer

2016-05-10 Thread Stanislav Kholmanskikh
Hi. Could anybody have a look at this series, please? Thanks. On 04/12/2016 03:39 PM, Stanislav Kholmanskikh wrote: get_card_packet() from ofnet.c allocates a netbuff based on the device's MTU: nb = grub_netbuff_alloc (dev->mtu + 64 + 2); In the case when the MTU is large, and the receive