Home
last modified time | relevance | path

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

/linux-6.1.9/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.c23 struct mlx5dr_fw_recalc_cs_ft *recalc_cs_ft; in dr_domain_uninit_csum_recalc_fts() local
26 xa_for_each(&dmn->csum_fts_xa, i, recalc_cs_ft) { in dr_domain_uninit_csum_recalc_fts()
27 if (recalc_cs_ft) in dr_domain_uninit_csum_recalc_fts()
28 mlx5dr_fw_destroy_recalc_cs_ft(dmn, recalc_cs_ft); in dr_domain_uninit_csum_recalc_fts()
38 struct mlx5dr_fw_recalc_cs_ft *recalc_cs_ft; in mlx5dr_domain_get_recalc_cs_ft_addr() local
41 recalc_cs_ft = xa_load(&dmn->csum_fts_xa, vport_num); in mlx5dr_domain_get_recalc_cs_ft_addr()
42 if (!recalc_cs_ft) { in mlx5dr_domain_get_recalc_cs_ft_addr()
44 recalc_cs_ft = mlx5dr_fw_create_recalc_cs_ft(dmn, vport_num); in mlx5dr_domain_get_recalc_cs_ft_addr()
45 if (!recalc_cs_ft) in mlx5dr_domain_get_recalc_cs_ft_addr()
49 recalc_cs_ft, GFP_KERNEL)); in mlx5dr_domain_get_recalc_cs_ft_addr()
[all …]
Ddr_types.h1458 struct mlx5dr_fw_recalc_cs_ft *recalc_cs_ft);