Home
last modified time | relevance | path

Searched refs:ufid (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/net/openvswitch/
H A Dflow_table.c579 struct table_instance *new, bool ufid) in flow_table_copy_flows()
592 if (ufid) in flow_table_copy_flows()
606 int n_buckets, bool ufid) in table_instance_rehash()
614 flow_table_copy_flows(ti, new_ti, ufid); in table_instance_rehash()
898 return jhash(sfid->ufid, sfid->ufid_len, 0); in ufid_hash()
907 return !memcmp(flow->id.ufid, sfid->ufid, sfid->ufid_len); in ovs_flow_cmp_ufid()
920 const struct sw_flow_id *ufid) in ovs_flow_tbl_lookup_ufid()
927 hash = ufid_hash(ufid); in ovs_flow_tbl_lookup_ufid()
932 ovs_flow_cmp_ufid(flow, ufid)) in ovs_flow_tbl_lookup_ufid()
578 flow_table_copy_flows(struct table_instance *old, struct table_instance *new, bool ufid) flow_table_copy_flows() argument
605 table_instance_rehash(struct table_instance *ti, int n_buckets, bool ufid) table_instance_rehash() argument
919 ovs_flow_tbl_lookup_ufid(struct flow_table *tbl, const struct sw_flow_id *ufid) ovs_flow_tbl_lookup_ufid() argument
951 table_instance_expand(struct table_instance *ti, bool ufid) 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.h187 u32 ufid[MAX_UFID_LENGTH / 4]; member
H A Ddatapath.c1286 struct sw_flow_id ufid; in ovs_flow_cmd_get() local
1292 ufid_present = ovs_nla_get_ufid(&ufid, a[OVS_FLOW_ATTR_UFID], log); in ovs_flow_cmd_get()
1313 flow = ovs_flow_tbl_lookup_ufid(&dp->table, &ufid); in ovs_flow_cmd_get()
1345 struct sw_flow_id ufid; in ovs_flow_cmd_del() local
1351 ufid_present = ovs_nla_get_ufid(&ufid, a[OVS_FLOW_ATTR_UFID], log); in ovs_flow_cmd_del()
1373 flow = ovs_flow_tbl_lookup_ufid(&dp->table, &ufid); in ovs_flow_cmd_del()
H A Dflow_netlink.c1864 OVS_NLERR(log, "ufid size %u bytes exceeds the range (1, %d)", in get_ufid_len()
1872 /* Initializes 'flow->ufid', returning true if 'attr' contains a valid UFID,
1880 memcpy(sfid->ufid, nla_data(attr), sfid->ufid_len); in ovs_nla_get_ufid()
1885 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid, in ovs_nla_get_identifier() argument
1890 if (ovs_nla_get_ufid(sfid, ufid, log)) in ovs_nla_get_identifier()
2256 flow->id.ufid); in ovs_nla_put_identifier()
/kernel/linux/linux-6.6/net/openvswitch/
H A Dflow_table.c580 struct table_instance *new, bool ufid) in flow_table_copy_flows()
593 if (ufid) in flow_table_copy_flows()
607 int n_buckets, bool ufid) in table_instance_rehash()
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()
928 hash = ufid_hash(ufid); in ovs_flow_tbl_lookup_ufid()
933 ovs_flow_cmp_ufid(flow, ufid)) in ovs_flow_tbl_lookup_ufid()
579 flow_table_copy_flows(struct table_instance *old, struct table_instance *new, bool ufid) flow_table_copy_flows() argument
606 table_instance_rehash(struct table_instance *ti, int n_buckets, bool ufid) table_instance_rehash() argument
920 ovs_flow_tbl_lookup_ufid(struct flow_table *tbl, const struct sw_flow_id *ufid) ovs_flow_tbl_lookup_ufid() argument
952 table_instance_expand(struct table_instance *ti, bool ufid) 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.c1887 OVS_NLERR(log, "ufid size %u bytes exceeds the range (1, %d)", in get_ufid_len()
1895 /* Initializes 'flow->ufid', returning true if 'attr' contains a valid UFID,
1903 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()
/kernel/linux/linux-6.6/tools/testing/selftests/net/openvswitch/
H A Dovs-dpctl.py1796 ufid = self.get_attr("OVS_FLOW_ATTR_UFID")
1798 if ufid is not None:
1800 "ufid:{:08x}-{:04x}-{:04x}-{:04x}-{:04x}{:08x}".format(
1801 ufid[0],
1802 ufid[1] >> 16,
1803 ufid[1] & 0xFFFF,
1804 ufid[2] >> 16,
1805 ufid[2] & 0,
1806 ufid[3],
1874 if flowstr.startswith("ufid
[all...]

Completed in 22 milliseconds