Searched refs:act_size (Results 1 – 2 of 2) sorted by relevance
36 size_t act_size = sizeof(struct nfp_fl_push_mpls); in nfp_fl_push_mpls() local40 push_mpls->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_push_mpls()67 size_t act_size = sizeof(struct nfp_fl_pop_mpls); in nfp_fl_pop_mpls() local70 pop_mpls->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_pop_mpls()78 size_t act_size = sizeof(struct nfp_fl_set_mpls); in nfp_fl_set_mpls() local82 set_mpls->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_set_mpls()107 size_t act_size = sizeof(struct nfp_fl_pop_vlan); in nfp_fl_pop_vlan() local110 pop_vlan->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_pop_vlan()118 size_t act_size = sizeof(struct nfp_fl_push_vlan); in nfp_fl_push_vlan() local122 push_vlan->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_push_vlan()[all …]
2413 u64 act_size; in handle_alloc_dm_sw_icm() local2419 act_size = round_up(attr->length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in handle_alloc_dm_sw_icm()2420 act_size = roundup_pow_of_two(act_size); in handle_alloc_dm_sw_icm()2422 dm->size = act_size; in handle_alloc_dm_sw_icm()2423 err = mlx5_dm_sw_icm_alloc(dev, type, act_size, attr->alignment, in handle_alloc_dm_sw_icm()