Pravin made me realize that the work can be organized into logically
separate patches. So, here it comes.
Major changes since RFC:
- Make datapath change compatible with branch-2.1 kernel.
- Re-design the dpif-linux indexing order for cache access benefits.
- Implement the per-handler queue in dpif-netdev.
Alex Wang (5):
dpif: Change dpif API to allow multiple handler threads read upcall.
dpif-netdev: Implement the API functions to allow multiple handler
threads read upcall.
datapath: Allow each vport to have an array of 'port_id's.
dpif-linux: Implement the API functions to allow multiple handler
threads read upcall.
ofproto-dpif-upcall: Remove the dispatcher thread.
datapath/datapath.c | 22 +-
datapath/vport.c | 107 +++++++-
datapath/vport.h | 25 +-
include/linux/openvswitch.h | 10 +-
lib/dpif-linux.c | 559 +++++++++++++++++++++++++++--------------
lib/dpif-linux.h | 3 +-
lib/dpif-netdev.c | 193 +++++++++-----
lib/dpif-provider.h | 36 ++-
lib/dpif.c | 50 ++--
lib/dpif.h | 28 ++-
lib/flow.c | 18 ++
lib/flow.h | 1 +
ofproto/ofproto-dpif-upcall.c | 282 ++++++---------------
ofproto/ofproto-dpif-xlate.c | 6 +-
ofproto/ofproto-dpif.c | 9 +-
15 files changed, 830 insertions(+), 519 deletions(-)
--
1.7.9.5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev