Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/sfc/siena/
Dtx_common.c409 unsigned int max_descs = EFX_TSO_MAX_SEGS * 2 + MAX_SKB_FRAGS; in efx_siena_tx_max_skb_descs() local
413 max_descs += EFX_TSO_MAX_SEGS; in efx_siena_tx_max_skb_descs()
417 max_descs += max_t(unsigned int, MAX_SKB_FRAGS, in efx_siena_tx_max_skb_descs()
420 return max_descs; in efx_siena_tx_max_skb_descs()
/Linux-v6.6/drivers/net/ethernet/sfc/
Dtx_common.c428 unsigned int max_descs = EFX_TSO_MAX_SEGS * 2 + MAX_SKB_FRAGS; in efx_tx_max_skb_descs() local
432 max_descs += EFX_TSO_MAX_SEGS; in efx_tx_max_skb_descs()
436 max_descs += max_t(unsigned int, MAX_SKB_FRAGS, in efx_tx_max_skb_descs()
440 return max_descs; in efx_tx_max_skb_descs()
/Linux-v6.6/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()
104 return max_descs; in ef4_tx_max_skb_descs()
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dmr.c1808 int size = mr->max_descs * mr->desc_size; in mlx5_free_priv_descs()
1961 mr->max_descs = ndescs; in _mlx5_alloc_mkey_descs()
2374 if (unlikely(i >= mr->max_descs)) in mlx5_ib_sg_to_klms()
2394 if (unlikely(i + j >= mr->max_descs)) in mlx5_ib_sg_to_klms()
2420 if (unlikely(mr->mmkey.ndescs == mr->max_descs)) in mlx5_set_page()
2434 if (unlikely(mr->mmkey.ndescs + mr->meta_ndescs == mr->max_descs)) in mlx5_set_page_pi()
2459 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()
2503 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()
2524 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_klm_mr_sg_pi()
2531 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_klm_mr_sg_pi()
[all …]
Dmlx5_ib.h679 int max_descs; member