I have received many good reviews. I think it is good to apply the
suggestions and rebase the whole series. So everyone can have a good
new start point.
V2 -> V3:
- Rebase the dpif-netdev, dpif-linux based on the change of API.
- Refine the datapath code based on the reviews.
PATCH -> V2:
- Majorly API change and comment refinement.
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 | 20 +-
datapath/vport.c | 108 +++++++-
datapath/vport.h | 25 +-
include/linux/openvswitch.h | 13 +-
lib/dpif-linux.c | 549 +++++++++++++++++++++++++++--------------
lib/dpif-linux.h | 3 +-
lib/dpif-netdev.c | 197 ++++++++++-----
lib/dpif-provider.h | 53 +++-
lib/dpif.c | 60 ++++-
lib/dpif.h | 36 ++-
lib/flow.c | 19 ++
lib/flow.h | 1 +
ofproto/ofproto-dpif-upcall.c | 291 +++++++---------------
ofproto/ofproto-dpif-xlate.c | 6 +-
ofproto/ofproto-dpif.c | 2 +-
15 files changed, 879 insertions(+), 504 deletions(-)
--
1.7.9.5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev