Home
last modified time | relevance | path

Searched refs:elusage (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_keys.h144 #define mlxsw_afk_element_usage_for_each(element, elusage) \ argument
145 for_each_set_bit(element, (elusage)->usage, MLXSW_AFK_ELEMENT_MAX)
148 mlxsw_afk_element_usage_add(struct mlxsw_afk_element_usage *elusage, in mlxsw_afk_element_usage_add() argument
151 __set_bit(element, elusage->usage); in mlxsw_afk_element_usage_add()
155 mlxsw_afk_element_usage_zero(struct mlxsw_afk_element_usage *elusage) in mlxsw_afk_element_usage_zero() argument
157 bitmap_zero(elusage->usage, MLXSW_AFK_ELEMENT_MAX); in mlxsw_afk_element_usage_zero()
167 mlxsw_afk_element_usage_zero(elusage); in mlxsw_afk_element_usage_fill()
169 mlxsw_afk_element_usage_add(elusage, elements[i]); in mlxsw_afk_element_usage_fill()
202 struct mlxsw_afk_element_usage *elusage);
205 struct mlxsw_afk_element_usage *elusage);
[all …]
H A Dcore_acl_flex_keys.c116 struct mlxsw_afk_element_usage elusage; member
122 struct mlxsw_afk_element_usage *elusage) in mlxsw_afk_key_info_elements_eq() argument
124 return memcmp(&key_info->elusage, elusage, sizeof(*elusage)) == 0; in mlxsw_afk_key_info_elements_eq()
129 struct mlxsw_afk_element_usage *elusage) in mlxsw_afk_key_info_find() argument
257 struct mlxsw_afk_element_usage *elusage) in mlxsw_afk_picker() argument
288 mlxsw_afk_element_usage_for_each(element, elusage) in mlxsw_afk_picker()
325 struct mlxsw_afk_element_usage *elusage) in mlxsw_afk_key_info_create() argument
334 err = mlxsw_afk_picker(mlxsw_afk, key_info, elusage); in mlxsw_afk_key_info_create()
354 struct mlxsw_afk_element_usage *elusage) in mlxsw_afk_key_info_get() argument
376 struct mlxsw_afk_element_usage *elusage) in mlxsw_afk_key_info_subset() argument
[all …]
H A Dspectrum2_mr_tcam.c55 struct mlxsw_afk_element_usage elusage; in mlxsw_sp2_mr_tcam_ipv4_init() local
59 mlxsw_afk_element_usage_fill(&elusage, in mlxsw_sp2_mr_tcam_ipv4_init()
66 &elusage); in mlxsw_sp2_mr_tcam_ipv4_init()
106 struct mlxsw_afk_element_usage elusage; in mlxsw_sp2_mr_tcam_ipv6_init() local
110 mlxsw_afk_element_usage_fill(&elusage, in mlxsw_sp2_mr_tcam_ipv6_init()
117 &elusage); in mlxsw_sp2_mr_tcam_ipv6_init()
H A Dspectrum_acl_tcam.c489 struct mlxsw_afk_element_usage *elusage, in mlxsw_sp_acl_tcam_vgroup_vregion_find() argument
511 elusage); in mlxsw_sp_acl_tcam_vgroup_vregion_find()
566 memcpy(out, elusage, sizeof(*out)); in mlxsw_sp_acl_tcam_vgroup_use_patterns()
773 struct mlxsw_afk_element_usage *elusage) in mlxsw_sp_acl_tcam_vregion_create() argument
868 elusage, &need_split); in mlxsw_sp_acl_tcam_vregion_get()
932 struct mlxsw_afk_element_usage *elusage) in mlxsw_sp_acl_tcam_vchunk_create() argument
951 priority, elusage); in mlxsw_sp_acl_tcam_vchunk_create()
1022 struct mlxsw_afk_element_usage *elusage) in mlxsw_sp_acl_tcam_vchunk_get() argument
1030 elusage))) in mlxsw_sp_acl_tcam_vchunk_get()
1036 priority, elusage); in mlxsw_sp_acl_tcam_vchunk_get()
[all …]
H A Dspectrum_flower.c857 &rulei.values.elusage); in mlxsw_sp_flower_tmplt_create()