Home
last modified time | relevance | path

Searched refs:ufid (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/net/openvswitch/
H A Dflow_table.c580 struct table_instance *new, bool ufid) in flow_table_copy_flows() argument
593 if (ufid) in flow_table_copy_flows()
607 int n_buckets, bool ufid) in table_instance_rehash() argument
615 flow_table_copy_flows(ti, new_ti, ufid); in table_instance_rehash()
899 return jhash(sfid->ufid, sfid->ufid_len, 0); in ufid_hash()
908 return !memcmp(flow->id.ufid, sfid->ufid, sfid->ufid_len); in ovs_flow_cmp_ufid()
921 const struct sw_flow_id *ufid) in ovs_flow_tbl_lookup_ufid() argument
928 hash = ufid_hash(ufid); in ovs_flow_tbl_lookup_ufid()
933 ovs_flow_cmp_ufid(flow, ufid)) in ovs_flow_tbl_lookup_ufid()
953 bool ufid) in table_instance_expand() argument
[all …]
H A Dflow_netlink.h53 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid,
H A Dflow.h201 u32 ufid[MAX_UFID_LENGTH / 4]; member
H A Ddatapath.c1325 struct sw_flow_id ufid; in ovs_flow_cmd_get() local
1331 ufid_present = ovs_nla_get_ufid(&ufid, a[OVS_FLOW_ATTR_UFID], log); in ovs_flow_cmd_get()
1352 flow = ovs_flow_tbl_lookup_ufid(&dp->table, &ufid); in ovs_flow_cmd_get()
1384 struct sw_flow_id ufid; in ovs_flow_cmd_del() local
1390 ufid_present = ovs_nla_get_ufid(&ufid, a[OVS_FLOW_ATTR_UFID], log); in ovs_flow_cmd_del()
1412 flow = ovs_flow_tbl_lookup_ufid(&dp->table, &ufid); in ovs_flow_cmd_del()
H A Dflow_netlink.c1903 memcpy(sfid->ufid, nla_data(attr), sfid->ufid_len); in ovs_nla_get_ufid()
1908 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid, in ovs_nla_get_identifier() argument
1913 if (ovs_nla_get_ufid(sfid, ufid, log)) in ovs_nla_get_identifier()
2287 flow->id.ufid); in ovs_nla_put_identifier()
/openbmc/linux/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py1796 ufid = self.get_attr("OVS_FLOW_ATTR_UFID")
1798 if ufid is not None:
1801 ufid[0],
1802 ufid[1] >> 16,
1803 ufid[1] & 0xFFFF,
1804 ufid[2] >> 16,
1805 ufid[2] & 0,
1806 ufid[3],