Searched refs:ht_key (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/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), 168 struct mlxsw_sp_acl_atcam_lkey_id_ht_key *ht_key) in mlxsw_sp_acl_atcam_lkey_id_create() argument 189 memcpy(&lkey_id->ht_key, ht_key, sizeof(*ht_key)); in mlxsw_sp_acl_atcam_lkey_id_create() 226 struct mlxsw_sp_acl_atcam_lkey_id_ht_key ht_key = {{ 0 } }; in mlxsw_sp_acl_atcam_12kb_lkey_id_get() local 231 memcpy(ht_key.enc_key, enc_key, sizeof(ht_key.enc_key)); in mlxsw_sp_acl_atcam_12kb_lkey_id_get() 232 mlxsw_afk_clear(afk, ht_key.enc_key, in mlxsw_sp_acl_atcam_12kb_lkey_id_get() 235 ht_key.erp_id = erp_id; in mlxsw_sp_acl_atcam_12kb_lkey_id_get() 236 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 | 56 struct mlxsw_sp_acl_ruleset_ht_key ht_key; member 81 .key_offset = offsetof(struct mlxsw_sp_acl_ruleset, ht_key), 110 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_bind() 121 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_unbind() 180 ruleset->ht_key.block = block; in mlxsw_sp_acl_ruleset_create() 181 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create() 182 ruleset->ht_key.ops = ops; in mlxsw_sp_acl_ruleset_create() 213 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_destroy() 241 struct mlxsw_sp_acl_ruleset_ht_key ht_key; in __mlxsw_sp_acl_ruleset_lookup() local 243 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 | 244 erp_region_id = cpu_to_be16(aentry->ht_key.erp_id | in __mlxsw_sp_acl_bf_key_encode()
|
D | spectrum_acl_tcam.h | 182 struct mlxsw_sp_acl_atcam_entry_ht_key ht_key; member
|
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/ |
D | prestera_acl.c | 54 struct prestera_acl_ruleset_ht_key ht_key; member 83 .key_offset = offsetof(struct prestera_acl_ruleset, ht_key), 153 ruleset->ht_key.block = block; in prestera_acl_ruleset_create() 154 ruleset->ht_key.chain_index = chain_index; in prestera_acl_ruleset_create() 212 ruleset->ht_key.chain_index, in prestera_acl_ruleset_offload() 218 if (ruleset->ht_key.chain_index) { in prestera_acl_ruleset_offload() 250 if (ruleset->ht_key.chain_index) { in prestera_acl_ruleset_destroy() 273 struct prestera_acl_ruleset_ht_key ht_key; in __prestera_acl_ruleset_lookup() local 275 memset(&ht_key, 0, sizeof(ht_key)); in __prestera_acl_ruleset_lookup() 276 ht_key.block = block; in __prestera_acl_ruleset_lookup() [all …]
|