dpif-netdev: Allow multi-rx-queue, multi-pmd-thread configuration.
authorAlex Wang <alexw@nicira.com>
Mon, 8 Sep 2014 22:22:26 +0000 (15:22 -0700)
committerAlex Wang <alexw@nicira.com>
Fri, 19 Sep 2014 22:59:36 +0000 (15:59 -0700)
commitf2eee189118139995d61468cecb85654dd45bb36
treec3b1406d0b88b3e3a0547682db7db9f59947799b
parent8db2f898d515b78e0fabf1c0837f9b3064c768e5
dpif-netdev: Allow multi-rx-queue, multi-pmd-thread configuration.

This commits adds the multithreading functionality to OVS dpdk
module.  Users are able to create multiple pmd threads and set
their cpu affinity via specifying the cpu mask string similar
to the EAL '-c COREMASK' option.

Also, the number of rx queues for each dpdk interface is made
configurable to help distribution of rx packets among multiple
pmd threads.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
lib/dpif-netdev.c
lib/dpif-netlink.c
lib/dpif-provider.h
lib/dpif.c
lib/dpif.h
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
ofproto/ofproto.h
vswitchd/bridge.c
vswitchd/vswitch.xml