Searched refs:ht_key (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl.c | 64 struct mlxsw_sp_acl_ruleset_ht_key ht_key; member 86 .key_offset = offsetof(struct mlxsw_sp_acl_ruleset, ht_key), 154 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_bind() 166 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_unbind() 313 ruleset->ht_key.block = block; in mlxsw_sp_acl_ruleset_create() 314 ruleset->ht_key.chain_index = chain_index; in mlxsw_sp_acl_ruleset_create() 315 ruleset->ht_key.ops = ops; in mlxsw_sp_acl_ruleset_create() 345 const struct mlxsw_sp_acl_profile_ops *ops = ruleset->ht_key.ops; in mlxsw_sp_acl_ruleset_destroy() 373 struct mlxsw_sp_acl_ruleset_ht_key ht_key; in __mlxsw_sp_acl_ruleset_lookup() local 375 memset(&ht_key, 0, sizeof(ht_key)); in __mlxsw_sp_acl_ruleset_lookup() [all …]
|
D | spectrum_acl_atcam.c | 27 struct mlxsw_sp_acl_atcam_lkey_id_ht_key ht_key; member 54 .key_offset = offsetof(struct mlxsw_sp_acl_atcam_lkey_id, ht_key), 60 .key_offset = offsetof(struct mlxsw_sp_acl_atcam_entry, ht_key), 169 struct mlxsw_sp_acl_atcam_lkey_id_ht_key *ht_key) in mlxsw_sp_acl_atcam_lkey_id_create() argument 190 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 mlxsw_afk_encode(afk, region->key_info, &rulei->values, ht_key.enc_key, in mlxsw_sp_acl_atcam_12kb_lkey_id_get() 236 ht_key.erp_id = erp_id; in mlxsw_sp_acl_atcam_12kb_lkey_id_get() 237 lkey_id = rhashtable_lookup_fast(®ion_12kb->lkey_ht, &ht_key, in mlxsw_sp_acl_atcam_12kb_lkey_id_get() 244 return mlxsw_sp_acl_atcam_lkey_id_create(aregion, &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_tcam.h | 167 struct mlxsw_sp_acl_atcam_entry_ht_key ht_key; member
|