Home
last modified time | relevance | path

Searched refs:afk (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_ctcam.c47 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_ctcam_region_entry_insert() local
65 mlxsw_afk_encode(afk, region->key_info, &rulei->values, key, mask); in mlxsw_sp_acl_ctcam_region_entry_insert()
H A Dspectrum_acl_atcam.c228 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_atcam_12kb_lkey_id_get() local
232 mlxsw_afk_clear(afk, ht_key.enc_key, in mlxsw_sp_acl_atcam_12kb_lkey_id_get()
478 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in __mlxsw_sp_acl_atcam_entry_add() local
483 mlxsw_afk_encode(afk, region->key_info, &rulei->values, in __mlxsw_sp_acl_atcam_entry_add()
H A Dspectrum_acl.c26 struct mlxsw_afk *afk; member
41 return acl->afk; in mlxsw_sp_acl_afk()
1065 acl->afk = mlxsw_afk_create(MLXSW_CORE_RES_GET(mlxsw_sp->core, in mlxsw_sp_acl_init()
1068 if (!acl->afk) { in mlxsw_sp_acl_init()
1104 mlxsw_afk_destroy(acl->afk); in mlxsw_sp_acl_init()
1120 mlxsw_afk_destroy(acl->afk); in mlxsw_sp_acl_fini()
H A Dspectrum_acl_tcam.c776 struct mlxsw_afk *afk = mlxsw_sp_acl_afk(mlxsw_sp->acl); in mlxsw_sp_acl_tcam_vregion_create() local
791 vregion->key_info = mlxsw_afk_key_info_get(afk, elusage); in mlxsw_sp_acl_tcam_vregion_create()