Home
last modified time | relevance | path

Searched refs:sfid (Results 1 – 12 of 12) sorted by relevance

/linux-6.15/net/openvswitch/
H A Dflow.h271 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()
H A Dflow_table.c894 static u32 ufid_hash(const struct sw_flow_id *sfid) in ufid_hash() argument
896 return jhash(sfid->ufid, sfid->ufid_len, 0); in ufid_hash()
900 const struct sw_flow_id *sfid) in ovs_flow_cmp_ufid() argument
902 if (flow->id.ufid_len != sfid->ufid_len) in ovs_flow_cmp_ufid()
905 return !memcmp(flow->id.ufid, sfid->ufid, sfid->ufid_len); in ovs_flow_cmp_ufid()
H A Ddatapath.c756 return ovs_identifier_is_ufid(sfid) && in should_fill_key()
771 const struct sw_flow_id *sfid, in ovs_flow_cmd_msg_size() argument
779 if (sfid && ovs_identifier_is_ufid(sfid)) in ovs_flow_cmd_msg_size()
780 len += nla_total_size(sfid->ufid_len); in ovs_flow_cmd_msg_size()
785 if (!sfid || should_fill_key(sfid, ufid_flags)) in ovs_flow_cmd_msg_size()
922 const struct sw_flow_id *sfid, in ovs_flow_cmd_alloc_info() argument
933 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info()
1223 struct sw_flow_id sfid; in ovs_flow_cmd_set() local
1229 ufid_present = ovs_nla_get_ufid(&sfid, a[OVS_FLOW_ATTR_UFID], log); in ovs_flow_cmd_set()
1243 reply = ovs_flow_cmd_alloc_info(acts, &sfid, info, false, in ovs_flow_cmd_set()
[all …]
H A Dflow_netlink.h53 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid,
H A Dflow_netlink.c1911 bool ovs_nla_get_ufid(struct sw_flow_id *sfid, const struct nlattr *attr, in ovs_nla_get_ufid() argument
1914 sfid->ufid_len = get_ufid_len(attr, log); in ovs_nla_get_ufid()
1915 if (sfid->ufid_len) in ovs_nla_get_ufid()
1916 memcpy(sfid->ufid, nla_data(attr), sfid->ufid_len); in ovs_nla_get_ufid()
1918 return sfid->ufid_len; in ovs_nla_get_ufid()
1921 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid, in ovs_nla_get_identifier() argument
1926 if (ovs_nla_get_ufid(sfid, ufid, log)) in ovs_nla_get_identifier()
1934 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
/linux-6.15/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_psfp.c71 u32 sparx5_psfp_sf_get_sg(struct sparx5 *sparx5, u32 sfid) in sparx5_psfp_sf_get_sg() argument
74 ANA_AC_TSN_SF_CFG(sfid))); in sparx5_psfp_sf_get_sg()
77 void sparx5_isdx_conf_set(struct sparx5 *sparx5, u32 isdx, u32 sfid, u32 fmid) in sparx5_isdx_conf_set() argument
79 spx5_rmw(ANA_L2_TSN_CFG_TSN_SFID_SET(sfid), ANA_L2_TSN_CFG_TSN_SFID, in sparx5_isdx_conf_set()
H A Dsparx5_tc_flower.c1332 u32 isdx, sfid, sgid, fmid; in sparx5_tc_free_psfp_resources() local
1342 sfid = sparx5_psfp_isdx_get_sf(sparx5, isdx); in sparx5_tc_free_psfp_resources()
1344 if (!sfid) in sparx5_tc_free_psfp_resources()
1348 sgid = sparx5_psfp_sf_get_sg(sparx5, sfid); in sparx5_tc_free_psfp_resources()
1358 if (sparx5_psfp_sf_del(sparx5, sfid) < 0) in sparx5_tc_free_psfp_resources()
1360 __LINE__, sfid); in sparx5_tc_free_psfp_resources()
H A Dsparx5_main.h700 u32 sparx5_psfp_sf_get_sg(struct sparx5 *sparx5, u32 sfid);
701 void sparx5_isdx_conf_set(struct sparx5 *sparx5, u32 isdx, u32 sfid, u32 fmid);
/linux-6.15/drivers/net/dsa/ocelot/
H A Dfelix_vsc9959.c1711 u32 sfid; member
1809 int ret, sfid, ssid; in vsc9959_mact_stream_set() local
1830 sfid = stream->sfid_valid ? stream->sfid : -1; in vsc9959_mact_stream_set()
1834 sfid, ssid); in vsc9959_mact_stream_set()
1954 ANA_TABLES_SFIDTIDX_SFID_INDEX(sfid), in vsc9959_psfp_sfidmask_set()
2345 stream_entry->sfid); in vsc9959_psfp_filter_add()
2365 stream_entry->sfid = old_sfi.index; in vsc9959_psfp_filter_add()
2372 stream.sfid = sfi.index; in vsc9959_psfp_filter_add()
2452 u32 sfid = sfi->index; in vsc9959_update_sfid_stats() local
2456 ocelot_rmw(ocelot, SYS_STAT_CFG_STAT_VIEW(sfid), in vsc9959_update_sfid_stats()
[all …]
/linux-6.15/drivers/net/ethernet/mscc/
H A Docelot.c178 int sfid, int ssid) in ocelot_mact_learn_streamdata() argument
185 (sfid < 0 ? 0 : ANA_TABLES_STREAMDATA_SFID_VALID) | in ocelot_mact_learn_streamdata()
186 ANA_TABLES_STREAMDATA_SFID(sfid) | in ocelot_mact_learn_streamdata()
/linux-6.15/include/soc/mscc/
H A Docelot.h1170 int sfid, int ssid);
/linux-6.15/drivers/s390/char/
H A Draw3270.c417 char sfid; /* 0x81 if Query Reply */ member