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).
This commit is contained in:
@@ -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,
|
|||||||
|
|
||||||
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;
|
|||||||
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user