On 03/21/2014 07:03 PM, Pravin wrote:
This patch adds PMD type netdev for netdevice with poll-mode
drivers. Since there is no way to get signal on a packet recv
from these devices we need to poll them in busy loop. So minimize
system call overhead this patch uses dpif-thread exclusively
for PMD devices and rest of devices which needs system calls to
do IO are moved to dpif-netdev-run().
PMD device like DPDK work in userspace so there is no system call
overhead for them.
Signed-off-by: Pravin B Shelar <pshe...@nicira.com>
---
v1-v2:
Fixed according to comments from Ben.
Since we have ref on port no need to take port_rwlock. So Removed
port_rwlock thread sefty checks from fast-path functions.
LGTM
Acked-by: Thomas Graf <tg...@redhat.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev