mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
ofproto/bond: Implement bond megaflow using recirculation
Infrastructure to enable megaflow support for bond ports using recirculation. This patch adds the following features: * Generate RECIRC action when bond can benefit from recirculation. * Populate post recirculation rules in a hidden table. Currently table 254. * Uses post recirculation rules for bond rebalancing * A recirculation implementation in dpif-netdev. The goal of this patch is to be able to megaflow bond outputs and thus greatly improve performance. However, this patch does not actually improve the megaflow generation. It is left for a later commit. Signed-off-by: Andy Zhou <azhou@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -1326,6 +1326,9 @@ parse_ofp_str__(struct ofputil_flow_mod *fm, int command, char *string,
|
||||
} else if (fields & F_FLAGS && !strcmp(name, "no_byte_counts")) {
|
||||
fm->flags |= OFPUTIL_FF_NO_BYT_COUNTS;
|
||||
*usable_protocols &= OFPUTIL_P_OF13_UP;
|
||||
} else if (!strcmp(name, "no_readonly_table")
|
||||
|| !strcmp(name, "allow_hidden_fields")) {
|
||||
/* ignore these fields. */
|
||||
} else {
|
||||
char *value;
|
||||
|
||||
|
Reference in New Issue
Block a user