Searched refs:act_size (Results 1 – 2 of 2) sorted by relevance
35 size_t act_size = sizeof(struct nfp_fl_push_mpls); in nfp_fl_push_mpls() local39 push_mpls->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_push_mpls()66 size_t act_size = sizeof(struct nfp_fl_pop_mpls); in nfp_fl_pop_mpls() local69 pop_mpls->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_pop_mpls()77 size_t act_size = sizeof(struct nfp_fl_set_mpls); in nfp_fl_set_mpls() local81 set_mpls->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_set_mpls()106 size_t act_size = sizeof(struct nfp_fl_pop_vlan); in nfp_fl_pop_vlan() local109 pop_vlan->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_pop_vlan()117 size_t act_size = sizeof(struct nfp_fl_push_vlan); in nfp_fl_push_vlan() local121 push_vlan->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_push_vlan()[all …]
2340 u64 act_size; in handle_alloc_dm_sw_icm() local2346 act_size = round_up(attr->length, MLX5_SW_ICM_BLOCK_SIZE(dev)); in handle_alloc_dm_sw_icm()2347 act_size = roundup_pow_of_two(act_size); in handle_alloc_dm_sw_icm()2349 dm->size = act_size; in handle_alloc_dm_sw_icm()2350 err = mlx5_dm_sw_icm_alloc(dev, type, act_size, in handle_alloc_dm_sw_icm()