lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Default AVR32 framework LwIP input path


From: Sylvain Rochet
Subject: [lwip-users] Default AVR32 framework LwIP input path
Date: Fri, 27 Apr 2012 15:42:00 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

Here is what the 
lwip-port/AT32UC3A/netif/ethernetif.c::ethernetif_input() function from 
the AVR32-SoftwareFramework-1.0.0-AT32AP7000 looks like:

static void ethernetif_input(void * pvParameters) {
  -wait for macb and loop packet input, not important- {
    if( ERR_OK != ethernet_input( p, netif ) ) {
       -free, ..., not important-
    }
  }
}

And netif_add() is: 

netif_add(&MACB_if, &xIpAddr, &xNetMask, &xGateway, NULL, 
  ethernetif_init, tcpip_input);

Experimental CORE/INPUT locking is not enabled and this is obviously 
running all the input path out of the LwIP thread. I am wrong saying 
that this is just defective by design and MUST be replaced by 
"netif->input(p, netif)" which calls tcpip_input() and put the packet on 
the packet input box ?

Regards,
Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]