Commit 781fb9b9 authored by Thomas Schlichter's avatar Thomas Schlichter

Reduce network latency by using netif_rx_ni() instead of netif_rx() in non-interrupt context

This commit was developed at Fraunhofer IIS (https://www.iis.fraunhofer.de).
parent 93f494f1
...@@ -333,7 +333,7 @@ void oai_nw_drv_common_class_wireless2ip(uint16_t dlen, ...@@ -333,7 +333,7 @@ void oai_nw_drv_common_class_wireless2ip(uint16_t dlen,
printk("\n"); printk("\n");
#endif //OAI_DRV_DEBUG_RECEIVE #endif //OAI_DRV_DEBUG_RECEIVE
netif_rx(skb); netif_rx_ni(skb);
#ifdef OAI_DRV_DEBUG_RECEIVE #ifdef OAI_DRV_DEBUG_RECEIVE
printk("[OAI_IP_DRV][%s] end\n",__FUNCTION__); printk("[OAI_IP_DRV][%s] end\n",__FUNCTION__);
#endif #endif
......
...@@ -309,7 +309,7 @@ void nas_COMMON_receive(uint16_t dlen, ...@@ -309,7 +309,7 @@ void nas_COMMON_receive(uint16_t dlen,
printk("\n"); printk("\n");
#endif //NAS_DEBUG_RECEIVE #endif //NAS_DEBUG_RECEIVE
netif_rx(skb); netif_rx_ni(skb);
#ifdef NAS_DEBUG_RECEIVE #ifdef NAS_DEBUG_RECEIVE
printk("NAS_COMMON_RECEIVE: end\n"); printk("NAS_COMMON_RECEIVE: end\n");
#endif #endif
......
...@@ -222,7 +222,7 @@ skb_p->mark = rb_idP; ...@@ -222,7 +222,7 @@ skb_p->mark = rb_idP;
printk("\n"); printk("\n");
#endif //OAI_DRV_DEBUG_RECEIVE #endif //OAI_DRV_DEBUG_RECEIVE
netif_rx(skb_p); netif_rx_ni(skb_p);
#ifdef OAI_DRV_DEBUG_RECEIVE #ifdef OAI_DRV_DEBUG_RECEIVE
printk("[UE_IP_DRV][%s] end\n",__FUNCTION__); printk("[UE_IP_DRV][%s] end\n",__FUNCTION__);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment