This is the first patch series to add megaflow support for bond interface using recirculation.
The final goal is that the bonding port selection will be made within the datapath, using recirculation. Currently, the bonding port selection is made in the user space, preventing possible wider mega flow being generated. This patch adds the necessary infrastructure for the next patch series. Since it is still work in progress, no features are enabled by default. Andy Zhou (5): ofproto-dpif: Added Per backer recirculation ID management lib/flow: add dp_hash and recirc_id to struct flow lib/metaflow: add new flow fields for recirculation dpif-netdev: user space datapath recirculation ofproto/bond: Implement bond megaflow using recirculation include/linux/openvswitch.h | 35 +++- include/openflow/nicira-ext.h | 26 +++ lib/dpif-netdev.c | 53 +++++- lib/dpif.c | 3 +- lib/flow.c | 8 +- lib/flow.h | 13 +- lib/match.c | 38 +++- lib/match.h | 6 + lib/meta-flow.c | 60 ++++++ lib/meta-flow.h | 2 + lib/nx-match.c | 15 +- lib/odp-execute.c | 9 + lib/odp-execute.h | 2 +- lib/odp-util.c | 106 ++++++++++- lib/odp-util.h | 4 +- lib/ofp-util.c | 2 +- lib/packets.c | 16 +- lib/packets.h | 16 +- ofproto/bond.c | 271 +++++++++++++++++++++++++-- ofproto/bond.h | 33 +++- ofproto/ofproto-dpif-upcall.c | 13 +- ofproto/ofproto-dpif-xlate.c | 80 ++++++-- ofproto/ofproto-dpif-xlate.h | 21 ++- ofproto/ofproto-dpif.c | 407 +++++++++++++++++++++++++++++++++++------ ofproto/ofproto-dpif.h | 68 ++++++- ofproto/ofproto.c | 47 +++-- ofproto/ofproto.h | 1 + tests/lacp.at | 24 ++- tests/ofproto-dpif.at | 207 +++++++++++++++------ tests/test-odp.c | 3 +- 30 files changed, 1369 insertions(+), 220 deletions(-) -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev