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. */
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);
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: