Home
last modified time | relevance | path

Searched refs:recalc_cs_ft (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_fw.c11 struct mlx5dr_fw_recalc_cs_ft *recalc_cs_ft; in mlx5dr_fw_create_recalc_cs_ft() local
16 recalc_cs_ft = kzalloc(sizeof(*recalc_cs_ft), GFP_KERNEL); in mlx5dr_fw_create_recalc_cs_ft()
17 if (!recalc_cs_ft) in mlx5dr_fw_create_recalc_cs_ft()
63 recalc_cs_ft->modify_hdr_id = modify_hdr_id; in mlx5dr_fw_create_recalc_cs_ft()
64 recalc_cs_ft->rx_icm_addr = rx_icm_addr; in mlx5dr_fw_create_recalc_cs_ft()
65 recalc_cs_ft->table_id = table_id; in mlx5dr_fw_create_recalc_cs_ft()
66 recalc_cs_ft->group_id = group_id; in mlx5dr_fw_create_recalc_cs_ft()
68 return recalc_cs_ft; in mlx5dr_fw_create_recalc_cs_ft()
79 kfree(recalc_cs_ft); in mlx5dr_fw_create_recalc_cs_ft()
84 struct mlx5dr_fw_recalc_cs_ft *recalc_cs_ft) in mlx5dr_fw_destroy_recalc_cs_ft() argument
[all …]
Ddr_domain.c18 dmn->cache.recalc_cs_ft = kcalloc(dmn->info.caps.num_vports, in dr_domain_init_cache()
19 sizeof(dmn->cache.recalc_cs_ft[0]), in dr_domain_init_cache()
21 if (!dmn->cache.recalc_cs_ft) in dr_domain_init_cache()
32 if (!dmn->cache.recalc_cs_ft[i]) in dr_domain_uninit_cache()
35 mlx5dr_fw_destroy_recalc_cs_ft(dmn, dmn->cache.recalc_cs_ft[i]); in dr_domain_uninit_cache()
38 kfree(dmn->cache.recalc_cs_ft); in dr_domain_uninit_cache()
45 struct mlx5dr_fw_recalc_cs_ft *recalc_cs_ft; in mlx5dr_domain_cache_get_recalc_cs_ft_addr() local
47 recalc_cs_ft = dmn->cache.recalc_cs_ft[vport_num]; in mlx5dr_domain_cache_get_recalc_cs_ft_addr()
48 if (!recalc_cs_ft) { in mlx5dr_domain_cache_get_recalc_cs_ft_addr()
50 recalc_cs_ft = mlx5dr_fw_create_recalc_cs_ft(dmn, vport_num); in mlx5dr_domain_cache_get_recalc_cs_ft_addr()
[all …]
Ddr_types.h662 struct mlx5dr_fw_recalc_cs_ft **recalc_cs_ft; member
1145 struct mlx5dr_fw_recalc_cs_ft *recalc_cs_ft);