| /linux/net/openvswitch/ |
| H A 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()
|
| H A D | datapath.c | 784 static bool should_fill_key(const struct sw_flow_id *sfid, uint32_t ufid_flags) in should_fill_key() argument 786 return ovs_identifier_is_ufid(sfid) && in should_fill_key() 801 const struct sw_flow_id *sfid, in ovs_flow_cmd_msg_size() argument 809 if (sfid && ovs_identifier_is_ufid(sfid)) in ovs_flow_cmd_msg_size() 810 len += nla_total_size(sfid->ufid_len); in ovs_flow_cmd_msg_size() 815 if (!sfid || should_fill_key(sfid, ufid_flags)) in ovs_flow_cmd_msg_size() 952 const struct sw_flow_id *sfid, in ovs_flow_cmd_alloc_info() argument 963 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flags); in ovs_flow_cmd_alloc_info() 1253 struct sw_flow_id sfid; in ovs_flow_cmd_set() local 1259 ufid_present = ovs_nla_get_ufid(&sfid, a[OVS_FLOW_ATTR_UFID], log); in ovs_flow_cmd_set() [all …]
|
| H A D | flow_table.c | 892 static u32 ufid_hash(const struct sw_flow_id *sfid) in ufid_hash() argument 894 return jhash(sfid->ufid, sfid->ufid_len, 0); in ufid_hash() 898 const struct sw_flow_id *sfid) in ovs_flow_cmp_ufid() argument 900 if (flow->id.ufid_len != sfid->ufid_len) in ovs_flow_cmp_ufid() 903 return !memcmp(flow->id.ufid, sfid->ufid, sfid->ufid_len); in ovs_flow_cmp_ufid()
|
| H A D | flow_netlink.h | 53 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid,
|
| H A D | flow_netlink.c | 1874 bool ovs_nla_get_ufid(struct sw_flow_id *sfid, const struct nlattr *attr, in ovs_nla_get_ufid() argument 1877 sfid->ufid_len = get_ufid_len(attr, log); in ovs_nla_get_ufid() 1878 if (sfid->ufid_len) in ovs_nla_get_ufid() 1879 memcpy(sfid->ufid, nla_data(attr), sfid->ufid_len); in ovs_nla_get_ufid() 1881 return sfid->ufid_len; in ovs_nla_get_ufid() 1884 int ovs_nla_get_identifier(struct sw_flow_id *sfid, const struct nlattr *ufid, in ovs_nla_get_identifier() argument 1889 if (ovs_nla_get_ufid(sfid, ufid, log)) in ovs_nla_get_identifier() 1897 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
|
| /linux/drivers/net/dsa/ocelot/ |
| H A D | felix_vsc9959.c | 1712 u32 sfid; member 1810 int ret, sfid, ssid; in vsc9959_mact_stream_set() local 1831 sfid = stream->sfid_valid ? stream->sfid : -1; in vsc9959_mact_stream_set() 1835 sfid, ssid); in vsc9959_mact_stream_set() 1950 static int vsc9959_psfp_sfidmask_set(struct ocelot *ocelot, u32 sfid, int ports) in vsc9959_psfp_sfidmask_set() argument 1955 ANA_TABLES_SFIDTIDX_SFID_INDEX(sfid), in vsc9959_psfp_sfidmask_set() 2346 stream_entry->sfid); in vsc9959_psfp_filter_add() 2349 vsc9959_psfp_sfi_table_del(ocelot, stream_entry->sfid); in vsc9959_psfp_filter_add() 2366 stream_entry->sfid = old_sfi.index; in vsc9959_psfp_filter_add() 2373 stream.sfid = sfi.index; in vsc9959_psfp_filter_add() [all …]
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_tc_flower.c | 1332 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()
|
| /linux/drivers/net/ethernet/mscc/ |
| H A D | ocelot.c | 178 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/include/soc/mscc/ |
| H A D | ocelot.h | 1173 int sfid, int ssid);
|
| /linux/drivers/s390/char/ |
| H A D | raw3270.c | 418 char sfid; /* 0x81 if Query Reply */ member
|