Searched refs:ht_key (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_acl.c | 56 struct mlxsw_sp_acl_ruleset_ht_key ht_key; member 78 .key_offset = offsetof(struct mlxsw_sp_acl_ruleset, ht_key), 146 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_bind() 158 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_unbind() 312 ruleset->ht_key.block = block; in mlxsw_sp_acl_ruleset_create() 313 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create() 314 ruleset->ht_key.ops = ops; in mlxsw_sp_acl_ruleset_create() 344 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_destroy() 372 struct mlxsw_sp_acl_ruleset_ht_key ht_key; in __mlxsw_sp_acl_ruleset_lookup() local 374 memset(&ht_key, 0, sizeof(ht_key)); in __mlxsw_sp_acl_ruleset_lookup() [all …]
|
| 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 | core_acl_flex_actions.c | 84 struct mlxsw_afa_set_ht_key ht_key; member 101 .key_offset = offsetof(struct mlxsw_afa_set, ht_key), 112 struct mlxsw_afa_fwd_entry_ht_key ht_key; member 119 .key_offset = offsetof(struct mlxsw_afa_fwd_entry, ht_key), 166 char *actions = set->ht_key.enc_actions; in mlxsw_afa_set_goto_set() 177 char *actions = set->ht_key.enc_actions; in mlxsw_afa_set_next_set() 192 set->ht_key.is_first = is_first; in mlxsw_afa_set_create() 213 set->ht_key.enc_actions, in mlxsw_afa_set_share() 214 set->ht_key.is_first); in mlxsw_afa_set_share() 232 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 | 186 struct mlxsw_sp_acl_atcam_entry_ht_key ht_key; member
|