openvswitch: Change ovs_flow_tbl_lookup_xx() APIs
authorAndy Zhou <azhou@nicira.com>
Mon, 25 Nov 2013 18:42:46 +0000 (10:42 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 6 Jan 2014 23:51:41 +0000 (15:51 -0800)
commit5bb506324d150578afadd10c3198ef5b29f5876b
tree5aed46c2280137986c2d59c4a0e43389a256331c
parent8f49ce1135676e5790d8ac5f8ecb2a218c07a33a
openvswitch: Change ovs_flow_tbl_lookup_xx() APIs

API changes only for code readability. No functional chnages.

This patch removes the underscored version. Added a new API
ovs_flow_tbl_lookup_stats() that returns the n_mask_hits.

Reported by: Ben Pfaff <blp@nicira.com>
Reviewed-by: Thomas Graf <tgraf@redhat.com>
Signed-off-by: Andy Zhou <azhou@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/datapath.c
net/openvswitch/flow_table.c
net/openvswitch/flow_table.h