Home
last modified time | relevance | path

Searched refs:act_size (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c35 size_t act_size = sizeof(struct nfp_fl_push_mpls); in nfp_fl_push_mpls() local
39 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() local
69 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() local
81 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() local
109 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() local
121 push_vlan->head.len_lw = act_size >> NFP_FL_LW_SIZ; in nfp_fl_push_vlan()
[all …]
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dmain.c2340 u64 act_size; in handle_alloc_dm_sw_icm() local
2346 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()