Home
last modified time | relevance | path

Searched refs:max_descs (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/sfc/
Dtx_common.c408 unsigned int max_descs = EFX_TSO_MAX_SEGS * 2 + MAX_SKB_FRAGS; in efx_tx_max_skb_descs() local
412 max_descs += EFX_TSO_MAX_SEGS; in efx_tx_max_skb_descs()
416 max_descs += max_t(unsigned int, MAX_SKB_FRAGS, in efx_tx_max_skb_descs()
419 return max_descs; in efx_tx_max_skb_descs()
/drivers/net/ethernet/sfc/falcon/
Dtx.c90 unsigned int max_descs = EF4_TSO_MAX_SEGS * 2 + MAX_SKB_FRAGS; in ef4_tx_max_skb_descs() local
96 max_descs += EF4_TSO_MAX_SEGS; in ef4_tx_max_skb_descs()
100 max_descs += max_t(unsigned int, MAX_SKB_FRAGS, in ef4_tx_max_skb_descs()
103 return max_descs; in ef4_tx_max_skb_descs()
/drivers/infiniband/hw/mlx5/
Dmr.c1668 int size = mr->max_descs * mr->desc_size; in mlx5_free_priv_descs()
1765 mr->max_descs = ndescs; in _mlx5_alloc_mkey_descs()
2183 if (unlikely(i >= mr->max_descs)) in mlx5_ib_sg_to_klms()
2203 if (unlikely(i + j >= mr->max_descs)) in mlx5_ib_sg_to_klms()
2229 if (unlikely(mr->ndescs == mr->max_descs)) in mlx5_set_page()
2243 if (unlikely(mr->ndescs + mr->meta_ndescs == mr->max_descs)) in mlx5_set_page_pi()
2268 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()
2312 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()
2333 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_klm_mr_sg_pi()
2340 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_klm_mr_sg_pi()
[all …]
Dmlx5_ib.h597 int max_descs; member