Re: [lwip-users] Incoming packet bigger than PBUF_POOL_BUFSIZE

2011-12-07 Thread web
On 7 dec 2011 20:28 "Gary Spivey" wrote: > > I am using lwip-1.4.0 in RAW mode on a NXP LPC1788 (ARM Cortex-M3, > 32-but arch). I have implemented the tcp_echo example and all works > well when sending simple packets. However, when the packets get a > little larger, things start to break do

Re: [lwip-users] Add support for outgoing VLAN tags?

2011-12-01 Thread web
On 28 nov 2011 21:45 "goldsi...@gmx.de" wrote: > wrote: > > I have rewritten our VLAN PCP implementation, taking advantage of > > the > > ARP entry cache feature. > > > > In short, these are the modifications I have done. [..] > > What do you think about this solution? > > Looking good. Can yo

Re: [lwip-users] Add support for outgoing VLAN tags?

2011-11-28 Thread web
On 8 nov 2011 21:05 "goldsi...@gmx.de" wrote: > wrote: > > Yes, it is. It is a mandatory feature for certain protocols, such as > > the industrial control protocol "EtherNet/IP" > > > > That's interesting. Since I know of at least one Ethernet/IP stack

[lwip-users] addr_hint for tcp_rst()

2011-11-24 Thread web
The addr_hint (enabled by LWIP_NETIF_HWADDRHINT) is not set for tcp_rst frames. Is this intentional, or could I add this also for tcp_rst frames in those cases when there is a pcb associated with the tcp_rst? Regards, Timmy Brolin ___ lwip-users mailing

Re: [lwip-users] Add support for outgoing VLAN tags?

2011-11-09 Thread web
On 9 nov 2011 14:37 "Dance, Brian" wrote: > On a Windows machine I have a VLAN capable Network Card. When the > (Intel) driver is configured for VLAN use the windows control panel > shows a network interface for each vlan. Programs using sockets are > unaffected. > > In the lwip contect the neti

Re: [lwip-users] Add support for outgoing VLAN tags?

2011-11-09 Thread web
On 9 nov 2011 16:28 "Simon Goldschmidt" wrote: > Mason wrote: > > SO_PRIORITY (and setsockopt) might be useful? > > > > The following document might also be relevant. > > > > Thanks, that's very helpful! I guess SO_PRIORITY would be fine for us, > then.

Re: [lwip-users] Add support for outgoing VLAN tags?

2011-11-07 Thread web
On 5 nov 2011 15:51 "Kieran Mansley" wrote: > On 2 Nov 2011, at 09:58, wrote: > > > With this method it could be possible to add support for outgoing > > VLAN taggning for QoS purposes, without having to add a new argument > > to a lot of internal LwIP functions. > > This sounds better than th

[lwip-users] Sending frames without IP

2011-11-04 Thread web
Hi, I am using the "LWIP_IP_ACCEPT_UDP_PORT" feature to enable communication even when the device has not yet been configured with an IP-address. This works as it should, I can receive broadcast UDP requests directed at a specific port. I am however unable to respond to the request. (I use broadc

Re: [lwip-users] Automatic Rx DMA ring replenish

2011-11-03 Thread web
Finding a more elegant solution to the deadlock issue in Ethernet drivers was my original reason for trying this out. But the (yet somewhat unverified) performance increase is a bonus. I mentioned both advantages in the submitted patch. I have not yet done any performance measurements. It is siffi

Re: [lwip-users] Automatic Rx DMA ring replenish

2011-11-02 Thread web
On 2 nov 2011 19:18 "goldsi...@gmx.de" wrote: > wrote: > > In pbuf.c, function pbuf_free()[..]: > > > > if (type == PBUF_POOL) { > > if( !DMA_RING_REPLENISH( p ) ) { > > memp_free(MEMP_PBUF_POOL, p); > > } > > > I like the idea. Would you mind adding a patch so that this doesn't > get > forgot

Re: [lwip-users] LWIP 1.4.0: migration from 1.3.2

2011-11-02 Thread web
On 2 nov 2011 16:40 "Dance, Brian" wrote: > > Has 1.4.0 been tested with an RTOS and using binary semaphores as > mutexes? > > > > Yes, at least I have. /Timmy Brolin > ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/ma

Re: [lwip-users] Automatic Rx DMA ring replenish

2011-11-02 Thread web
On 30 okt 2011 18:13 "Simon Goldschmidt" wrote: > "w...@brolinembedded.se" wrote: > > > What if I make the Rx DMA buffer descriptor ring large enough to > > hold all POOL pbufs. At start-up all POOL pbufs are allocated and > > put in the Rx DMA ring. > > pbuf_free() is modified so that whenever

Re: [lwip-users] Add support for outgoing VLAN tags?

2011-11-02 Thread web
On 1 nov 2011 12:28 "Simon Goldschmidt" wrote: > "w...@brolinembedded.se" wrote: > > > Since 1.4, lwip supports incomming VLAN tagged frames. > > Is there any interest in also adding support for VLAN tagging of > > outgoing frames for QoS purposes? > > I guess it hasn't been added yet since no