The second version of RFC. This version contains mainly the refinement over previous one based on the reviews from Ben. As Ben asked in the review, if we want to utilize HSA in OVN, I start to think that it may be good to remodel this work so that it could parse the Southbound db and conduct HSA with simpler logical flows.
--- RFC->RFC->V2: - Refinement based on review. - Adopt Ben's suggestions. - Rebase to master. - Get rid of sparse complaints. Alex Wang (4): ovs_list: Extend list functions. hsa-match: Sparse representation of a byte array derived from "struct match". flow: Add supporting functions for HSA. ofprot-dpif-hsa: Implement HSA prototype. lib/automake.mk | 2 + lib/flow.c | 34 + lib/flow.h | 5 + lib/hsa-match.c | 377 +++++++++++ lib/hsa-match.h | 93 +++ lib/list.h | 48 ++ ofproto/automake.mk | 2 + ofproto/ofproto-dpif-hsa.c | 1571 ++++++++++++++++++++++++++++++++++++++++++++ ofproto/ofproto-dpif-hsa.h | 21 + ofproto/ofproto-dpif.c | 2 + tests/automake.mk | 3 + tests/library.at | 7 +- tests/test-hsa-match.c | 177 +++++ tests/test-list.c | 106 +++ tests/testsuite.at | 1 + 15 files changed, 2448 insertions(+), 1 deletion(-) create mode 100644 lib/hsa-match.c create mode 100644 lib/hsa-match.h create mode 100644 ofproto/ofproto-dpif-hsa.c create mode 100644 ofproto/ofproto-dpif-hsa.h create mode 100644 tests/test-hsa-match.c -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev