Searched refs:ht_key (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_atcam.c | 29 struct mlxsw_sp_acl_atcam_lkey_id_ht_key ht_key; member 56 .key_offset = offsetof(struct mlxsw_sp_acl_atcam_lkey_id, ht_key), 62 .key_offset = offsetof(struct mlxsw_sp_acl_atcam_entry, ht_key), 170 struct mlxsw_sp_acl_atcam_lkey_id_ht_key *ht_key) in mlxsw_sp_acl_atcam_lkey_id_create() argument 191 memcpy(&lkey_id->ht_key, ht_key, sizeof(*ht_key)); in mlxsw_sp_acl_atcam_lkey_id_create() 228 struct mlxsw_sp_acl_atcam_lkey_id_ht_key ht_key = {{ 0 } }; in mlxsw_sp_acl_atcam_12kb_lkey_id_get() local 233 memcpy(ht_key.enc_key, enc_key, sizeof(ht_key.enc_key)); in mlxsw_sp_acl_atcam_12kb_lkey_id_get() 234 mlxsw_afk_clear(afk, ht_key.enc_key, in mlxsw_sp_acl_atcam_12kb_lkey_id_get() 237 ht_key.erp_id = erp_id; in mlxsw_sp_acl_atcam_12kb_lkey_id_get() 238 lkey_id = rhashtable_lookup_fast(®ion_12kb->lkey_ht, &ht_key, in mlxsw_sp_acl_atcam_12kb_lkey_id_get() [all …]
|
D | spectrum_acl.c | 51 struct mlxsw_sp_acl_ruleset_ht_key ht_key; member 76 .key_offset = offsetof(struct mlxsw_sp_acl_ruleset, ht_key), 105 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_bind() 116 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_unbind() 175 ruleset->ht_key.block = block; in mlxsw_sp_acl_ruleset_create() 176 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create() 177 ruleset->ht_key.ops = ops; in mlxsw_sp_acl_ruleset_create() 208 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_destroy() 236 struct mlxsw_sp_acl_ruleset_ht_key ht_key; in __mlxsw_sp_acl_ruleset_lookup() local 238 memset(&ht_key, 0, sizeof(ht_key)); in __mlxsw_sp_acl_ruleset_lookup() [all …]
|
D | core_acl_flex_actions.c | 91 struct mlxsw_afa_set_ht_key ht_key; member 110 .key_offset = offsetof(struct mlxsw_afa_set, ht_key), 121 struct mlxsw_afa_fwd_entry_ht_key ht_key; member 128 .key_offset = offsetof(struct mlxsw_afa_fwd_entry, ht_key), 258 char *actions = set->ht_key.enc_actions; in mlxsw_afa_set_goto_set() 269 char *actions = set->ht_key.enc_actions; in mlxsw_afa_set_next_set() 284 set->ht_key.is_first = is_first; in mlxsw_afa_set_create() 305 set->ht_key.enc_actions, in mlxsw_afa_set_share() 306 set->ht_key.is_first); in mlxsw_afa_set_share() 324 set->ht_key.is_first); in mlxsw_afa_set_unshare() [all …]
|
D | spectrum_acl_bloom_filter.c | 130 erp_region_id = cpu_to_be16(aentry->ht_key.erp_id | in mlxsw_sp_acl_bf_key_encode()
|
D | spectrum_acl_tcam.h | 187 struct mlxsw_sp_acl_atcam_entry_ht_key ht_key; member
|