Searched refs:sfid (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/net/openvswitch/ |
D | flow.h | 271 static inline bool ovs_identifier_is_ufid(const struct sw_flow_id *sfid) in ovs_identifier_is_ufid() argument 273 return sfid->ufid_len; in ovs_identifier_is_ufid() 276 static inline bool ovs_identifier_is_key(const struct sw_flow_id *sfid) in ovs_identifier_is_key() argument 278 return !ovs_identifier_is_ufid(sfid); in ovs_identifier_is_key()
|
D | flow_table.c | 896 static u32 ufid_hash(const struct sw_flow_id *sfid) in ufid_hash() argument 898 return jhash(sfid->ufid, sfid->ufid_len, 0); in ufid_hash() 902 const struct sw_flow_id *sfid) in ovs_flow_cmp_ufid() argument 904 if (flow->id.ufid_len != sfid->ufid_len) in ovs_flow_cmp_ufid() 907 return !memcmp(flow->id.ufid, sfid->ufid, sfid->ufid_len); in ovs_flow_cmp_ufid()
|
D | datapath.c | 731 static bool should_fill_key(const struct sw_flow_id *sfid, uint32_t ufid_flags) in should_fill_key() argument 733 return ovs_identifier_is_ufid(sfid) && in should_fill_key() 748 const struct sw_flow_id *sfid, in ovs_flow_cmd_msg_size() argument 756 if (sfid && ovs_identifier_is_ufid(sfid)) in ovs_flow_cmd_msg_size() 757 len += nla_total_size(sfid->ufid_len); in ovs_flow_cmd_msg_size() 762 if (!sfid || should_fill_key(sfid, ufid_flags)) in ovs_flow_cmd_msg_size() 899 const struct sw_flow_id *sfid, in ovs_flow_cmd_alloc_info() argument 910 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info() 1200 struct sw_flow_id sfid; in ovs_flow_cmd_set() local 1206 ufid_present = ovs_nla_get_ufid(&sfid, a[OVS_FLOW_ATTR_UFID], log); in ovs_flow_cmd_set() [all …]
|
D | flow_netlink.h | 53 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid,
|
D | flow_netlink.c | 1895 bool ovs_nla_get_ufid(struct sw_flow_id *sfid, const struct nlattr *attr, in ovs_nla_get_ufid() argument 1898 sfid->ufid_len = get_ufid_len(attr, log); in ovs_nla_get_ufid() 1899 if (sfid->ufid_len) in ovs_nla_get_ufid() 1900 memcpy(sfid->ufid, nla_data(attr), sfid->ufid_len); in ovs_nla_get_ufid() 1902 return sfid->ufid_len; in ovs_nla_get_ufid() 1905 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid, in ovs_nla_get_identifier() argument 1910 if (ovs_nla_get_ufid(sfid, ufid, log)) in ovs_nla_get_identifier() 1918 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
|
/linux-6.1.9/drivers/net/dsa/ocelot/ |
D | felix_vsc9959.c | 1653 u32 sfid; member 1748 int ret, sfid, ssid; in vsc9959_mact_stream_set() local 1769 sfid = stream->sfid_valid ? stream->sfid : -1; in vsc9959_mact_stream_set() 1773 sfid, ssid); in vsc9959_mact_stream_set() 1888 static int vsc9959_psfp_sfidmask_set(struct ocelot *ocelot, u32 sfid, int ports) in vsc9959_psfp_sfidmask_set() argument 1893 ANA_TABLES_SFIDTIDX_SFID_INDEX(sfid), in vsc9959_psfp_sfidmask_set() 2284 stream_entry->sfid); in vsc9959_psfp_filter_add() 2287 vsc9959_psfp_sfi_table_del(ocelot, stream_entry->sfid); in vsc9959_psfp_filter_add() 2304 stream_entry->sfid = old_sfi.index; in vsc9959_psfp_filter_add() 2311 stream.sfid = sfi.index; in vsc9959_psfp_filter_add() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mscc/ |
D | ocelot.c | 171 int sfid, int ssid) in ocelot_mact_learn_streamdata() argument 178 (sfid < 0 ? 0 : ANA_TABLES_STREAMDATA_SFID_VALID) | in ocelot_mact_learn_streamdata() 179 ANA_TABLES_STREAMDATA_SFID(sfid) | in ocelot_mact_learn_streamdata()
|
/linux-6.1.9/drivers/s390/char/ |
D | raw3270.c | 392 char sfid; /* 0x81 if Query Reply */ member
|
/linux-6.1.9/include/soc/mscc/ |
D | ocelot.h | 1292 int sfid, int ssid);
|