/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | flow.h | 257 static inline bool ovs_identifier_is_ufid(const struct sw_flow_id *sfid) in ovs_identifier_is_ufid() argument 259 return sfid->ufid_len; in ovs_identifier_is_ufid() 262 static inline bool ovs_identifier_is_key(const struct sw_flow_id *sfid) in ovs_identifier_is_key() argument 264 return !ovs_identifier_is_ufid(sfid); in ovs_identifier_is_key()
|
H A D | datapath.c | 716 static bool should_fill_key(const struct sw_flow_id *sfid, uint32_t ufid_flags) in should_fill_key() argument 718 return ovs_identifier_is_ufid(sfid) && in should_fill_key() 733 const struct sw_flow_id *sfid, in ovs_flow_cmd_msg_size() 741 if (sfid && ovs_identifier_is_ufid(sfid)) in ovs_flow_cmd_msg_size() 742 len += nla_total_size(sfid->ufid_len); in ovs_flow_cmd_msg_size() 747 if (!sfid || should_fill_key(sfid, ufid_flags)) in ovs_flow_cmd_msg_size() 884 const struct sw_flow_id *sfid, in ovs_flow_cmd_alloc_info() 895 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flag in ovs_flow_cmd_alloc_info() 732 ovs_flow_cmd_msg_size(const struct sw_flow_actions *acts, const struct sw_flow_id *sfid, uint32_t ufid_flags) ovs_flow_cmd_msg_size() argument 883 ovs_flow_cmd_alloc_info(const struct sw_flow_actions *acts, const struct sw_flow_id *sfid, struct genl_info *info, bool always, uint32_t ufid_flags) ovs_flow_cmd_alloc_info() argument 1185 struct sw_flow_id sfid; ovs_flow_cmd_set() local [all...] |
H A 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() 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() 901 ovs_flow_cmp_ufid(const struct sw_flow *flow, const struct sw_flow_id *sfid) ovs_flow_cmp_ufid() argument
|
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 | 1875 bool ovs_nla_get_ufid(struct sw_flow_id *sfid, const struct nlattr *attr, in ovs_nla_get_ufid() argument 1878 sfid->ufid_len = get_ufid_len(attr, log); in ovs_nla_get_ufid() 1879 if (sfid->ufid_len) in ovs_nla_get_ufid() 1880 memcpy(sfid->ufid, nla_data(attr), sfid->ufid_len); in ovs_nla_get_ufid() 1882 return 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() 1898 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
|
/kernel/linux/linux-6.6/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 | 755 static bool should_fill_key(const struct sw_flow_id *sfid, uint32_t ufid_flags) in should_fill_key() argument 757 return ovs_identifier_is_ufid(sfid) && in should_fill_key() 772 const struct sw_flow_id *sfid, in ovs_flow_cmd_msg_size() 780 if (sfid && ovs_identifier_is_ufid(sfid)) in ovs_flow_cmd_msg_size() 781 len += nla_total_size(sfid->ufid_len); in ovs_flow_cmd_msg_size() 786 if (!sfid || should_fill_key(sfid, ufid_flags)) in ovs_flow_cmd_msg_size() 923 const struct sw_flow_id *sfid, in ovs_flow_cmd_alloc_info() 934 len = ovs_flow_cmd_msg_size(acts, sfid, ufid_flag in ovs_flow_cmd_alloc_info() 771 ovs_flow_cmd_msg_size(const struct sw_flow_actions *acts, const struct sw_flow_id *sfid, uint32_t ufid_flags) ovs_flow_cmd_msg_size() argument 922 ovs_flow_cmd_alloc_info(const struct sw_flow_actions *acts, const struct sw_flow_id *sfid, struct genl_info *info, bool always, uint32_t ufid_flags) ovs_flow_cmd_alloc_info() argument 1224 struct sw_flow_id sfid; ovs_flow_cmd_set() local [all...] |
H A D | flow_table.c | 897 static u32 ufid_hash(const struct sw_flow_id *sfid) in ufid_hash() argument 899 return jhash(sfid->ufid, sfid->ufid_len, 0); in ufid_hash() 903 const struct sw_flow_id *sfid) in ovs_flow_cmp_ufid() 905 if (flow->id.ufid_len != sfid->ufid_len) in ovs_flow_cmp_ufid() 908 return !memcmp(flow->id.ufid, sfid->ufid, sfid->ufid_len); in ovs_flow_cmp_ufid() 902 ovs_flow_cmp_ufid(const struct sw_flow *flow, const struct sw_flow_id *sfid) ovs_flow_cmp_ufid() argument
|
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 | 1898 bool ovs_nla_get_ufid(struct sw_flow_id *sfid, const struct nlattr *attr, in ovs_nla_get_ufid() argument 1901 sfid->ufid_len = get_ufid_len(attr, log); in ovs_nla_get_ufid() 1902 if (sfid->ufid_len) in ovs_nla_get_ufid() 1903 memcpy(sfid->ufid, nla_data(attr), sfid->ufid_len); in ovs_nla_get_ufid() 1905 return 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() 1921 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_psfp.c | 67 u32 sparx5_psfp_sf_get_sg(struct sparx5 *sparx5, u32 sfid) in sparx5_psfp_sf_get_sg() argument 70 ANA_AC_TSN_SF_CFG(sfid))); in sparx5_psfp_sf_get_sg() 73 void sparx5_isdx_conf_set(struct sparx5 *sparx5, u32 isdx, u32 sfid, u32 fmid) in sparx5_isdx_conf_set() argument 75 spx5_rmw(ANA_L2_TSN_CFG_TSN_SFID_SET(sfid), ANA_L2_TSN_CFG_TSN_SFID, in sparx5_isdx_conf_set()
|
H A D | sparx5_tc_flower.c | 796 /* Streams are classified by ISDX - map ISDX 1:1 to sfid for now. */ in sparx5_tc_flower_psfp_setup() 1234 u32 isdx, sfid, sgid, fmid; in sparx5_tc_free_psfp_resources() local 1244 sfid = sparx5_psfp_isdx_get_sf(sparx5, isdx); in sparx5_tc_free_psfp_resources() 1246 if (!sfid) in sparx5_tc_free_psfp_resources() 1250 sgid = sparx5_psfp_sf_get_sg(sparx5, sfid); in sparx5_tc_free_psfp_resources() 1260 if (sparx5_psfp_sf_del(sparx5, sfid) < 0) in sparx5_tc_free_psfp_resources() 1261 pr_err("%s:%d Could not delete invalid sfid: %d", __func__, in sparx5_tc_free_psfp_resources() 1262 __LINE__, sfid); in sparx5_tc_free_psfp_resources()
|
H A D | sparx5_main.h | 535 u32 sparx5_psfp_sf_get_sg(struct sparx5 *sparx5, u32 sfid); 536 void sparx5_isdx_conf_set(struct sparx5 *sparx5, u32 isdx, u32 sfid, u32 fmid);
|
/kernel/linux/linux-5.10/fs/nfsd/ |
H A D | nfsfh.c | 156 struct fid *fid = NULL, sfid; in nfsd_set_fh_dentry() local 256 sfid.i32.ino = fh->ofh_ino; in nfsd_set_fh_dentry() 257 sfid.i32.gen = fh->ofh_generation; in nfsd_set_fh_dentry() 258 sfid.i32.parent_ino = fh->ofh_dirino; in nfsd_set_fh_dentry() 259 fid = &sfid; in nfsd_set_fh_dentry()
|
/kernel/linux/linux-6.6/drivers/net/dsa/ocelot/ |
H A D | felix_vsc9959.c | 1700 u32 sfid; member 1795 int ret, sfid, ssid; in vsc9959_mact_stream_set() local 1816 sfid = stream->sfid_valid ? stream->sfid : -1; in vsc9959_mact_stream_set() 1820 sfid, ssid); in vsc9959_mact_stream_set() 1935 static int vsc9959_psfp_sfidmask_set(struct ocelot *ocelot, u32 sfid, int ports) in vsc9959_psfp_sfidmask_set() argument 1940 ANA_TABLES_SFIDTIDX_SFID_INDEX(sfid), in vsc9959_psfp_sfidmask_set() 2331 stream_entry->sfid); in vsc9959_psfp_filter_add() 2334 vsc9959_psfp_sfi_table_del(ocelot, stream_entry->sfid); in vsc9959_psfp_filter_add() 2351 stream_entry->sfid in vsc9959_psfp_filter_add() 2438 u32 sfid = sfi->index; vsc9959_update_sfid_stats() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 178 int sfid, int ssid) in ocelot_mact_learn_streamdata() 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() 174 ocelot_mact_learn_streamdata(struct ocelot *ocelot, int dst_idx, const unsigned char mac[ETH_ALEN], unsigned int vid, enum macaccess_entry_type type, int sfid, int ssid) ocelot_mact_learn_streamdata() argument
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | raw3270.c | 396 char sfid; /* 0x81 if Query Reply */ member
|
/kernel/linux/linux-6.6/include/soc/mscc/ |
H A D | ocelot.h | 1151 int sfid, int ssid);
|
/kernel/linux/linux-6.6/drivers/s390/char/ |
H A D | raw3270.c | 412 char sfid; /* 0x81 if Query Reply */ member
|