[dpdk-dev] [memnic PATCH] linux: fix to disable softirq before netif_receive_skb()

2014-06-30 Thread Thomas Monjalon
> Calling netif_receive_skb() from memnic thread may cause deadlock, if > softirq is not disabled. > > The netif_receive_skb() should be called in softirq context, but memnic > thread is not softirq context. That may conflict softirq work like a > timer handler in kernel network stack. > > Signed

[dpdk-dev] [memnic PATCH] linux: fix to disable softirq before netif_receive_skb()

2014-06-06 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto Calling netif_receive_skb() from memnic thread may cause deadlock, if softirq is not disabled. The netif_receive_skb() should be called in softirq context, but memnic thread is not softirq context. That may conflict softirq work like a timer handler in kernel network stac