Home
last modified time | relevance | path

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

/Linux-v6.6/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.c63 struct mlx5dr_fw_recalc_cs_ft *recalc_cs_ft; in dr_domain_uninit_csum_recalc_fts() local
66 xa_for_each(&dmn->csum_fts_xa, i, recalc_cs_ft) { in dr_domain_uninit_csum_recalc_fts()
67 if (recalc_cs_ft) in dr_domain_uninit_csum_recalc_fts()
68 mlx5dr_fw_destroy_recalc_cs_ft(dmn, recalc_cs_ft); in dr_domain_uninit_csum_recalc_fts()
78 struct mlx5dr_fw_recalc_cs_ft *recalc_cs_ft; in mlx5dr_domain_get_recalc_cs_ft_addr() local
81 recalc_cs_ft = xa_load(&dmn->csum_fts_xa, vport_num); in mlx5dr_domain_get_recalc_cs_ft_addr()
82 if (!recalc_cs_ft) { in mlx5dr_domain_get_recalc_cs_ft_addr()
84 recalc_cs_ft = mlx5dr_fw_create_recalc_cs_ft(dmn, vport_num); in mlx5dr_domain_get_recalc_cs_ft_addr()
85 if (!recalc_cs_ft) in mlx5dr_domain_get_recalc_cs_ft_addr()
89 recalc_cs_ft, GFP_KERNEL)); in mlx5dr_domain_get_recalc_cs_ft_addr()
[all …]
Ddr_types.h1553 struct mlx5dr_fw_recalc_cs_ft *recalc_cs_ft);