mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +00:00
Merge commit 'origin/citrix'
This commit is contained in:
@@ -857,7 +857,7 @@ retry:
|
||||
bucket = dp_table_lookup_for_insert(table, &uf.flow.key);
|
||||
if (!bucket) {
|
||||
/* No such flow, and the slots where it could go are full. */
|
||||
error = uf.flags & ODPPF_CREATE ? -EXFULL : -ENOENT;
|
||||
error = uf.flags & ODPPF_CREATE ? -EFBIG : -ENOENT;
|
||||
goto error;
|
||||
} else if (!*bucket) {
|
||||
/* No such flow, but we found an available slot for it. */
|
||||
|
||||
@@ -197,7 +197,6 @@ netflow_expire(struct netflow *nf, const struct ofexpired *expired)
|
||||
uint16_t iface = (nf->engine_id & 0x7f) << 9;
|
||||
nf_rec->input = htons(iface | (expired->flow.in_port & 0x1ff));
|
||||
nf_rec->output = htons(iface);
|
||||
printf("input: %x\n", ntohs(nf_rec->input));
|
||||
} else {
|
||||
nf_rec->input = htons(expired->flow.in_port);
|
||||
nf_rec->output = htons(0);
|
||||
|
||||
@@ -686,7 +686,7 @@ For a non-VLAN, non-bond master PIF, the PIF is its own physical device PIF.
|
||||
pifrec = db.get_pif_record(pif)
|
||||
|
||||
if pifrec['VLAN'] != '-1':
|
||||
return [get_vlan_slave_of_pif(pif)]
|
||||
return get_physdev_pifs(get_vlan_slave_of_pif(pif))
|
||||
elif len(pifrec['bond_master_of']) != 0:
|
||||
return get_bond_slaves_of_pif(pif)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user