Searched refs:max_descs (Results 1 – 3 of 3) sorted by relevance
408 unsigned int max_descs = EFX_TSO_MAX_SEGS * 2 + MAX_SKB_FRAGS; in efx_siena_tx_max_skb_descs() local412 max_descs += EFX_TSO_MAX_SEGS; in efx_siena_tx_max_skb_descs()416 max_descs += max_t(unsigned int, MAX_SKB_FRAGS, in efx_siena_tx_max_skb_descs()419 return max_descs; in efx_siena_tx_max_skb_descs()
1940 int size = mr->max_descs * mr->desc_size; in mlx5_free_priv_descs()2174 mr->max_descs = ndescs; in _mlx5_alloc_mkey_descs()2587 if (unlikely(i >= mr->max_descs)) in mlx5_ib_sg_to_klms()2607 if (unlikely(i + j >= mr->max_descs)) in mlx5_ib_sg_to_klms()2633 if (unlikely(mr->mmkey.ndescs == mr->max_descs)) in mlx5_set_page()2647 if (unlikely(mr->mmkey.ndescs + mr->meta_ndescs == mr->max_descs)) in mlx5_set_page_pi()2672 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()2716 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()2737 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_klm_mr_sg_pi()2744 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_klm_mr_sg_pi()[all …]
2492 u32 max_descs = XSK_RING_PROD__DEFAULT_NUM_DESCS * 4; in testapp_hw_sw_max_ring_size() local2499 test->ifobj_rx->umem->num_frames = max_descs; in testapp_hw_sw_max_ring_size()2500 test->ifobj_rx->umem->fill_size = max_descs; in testapp_hw_sw_max_ring_size()2501 test->ifobj_rx->umem->comp_size = max_descs; in testapp_hw_sw_max_ring_size()2514 pkt_stream_replace(test, max_descs, MIN_PKT_SIZE); in testapp_hw_sw_max_ring_size()