Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dtx_common.c408 unsigned int max_descs = EFX_TSO_MAX_SEGS * 2 + MAX_SKB_FRAGS; in efx_siena_tx_max_skb_descs() local
412 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()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dtx_common.c425 unsigned int max_descs = EFX_TSO_MAX_SEGS * 2 + MAX_SKB_FRAGS; in efx_tx_max_skb_descs() local
429 max_descs += EFX_TSO_MAX_SEGS; in efx_tx_max_skb_descs()
433 max_descs += max_t(unsigned int, MAX_SKB_FRAGS, in efx_tx_max_skb_descs()
437 return max_descs; in efx_tx_max_skb_descs()
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/
A 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-6.3-rc2/drivers/infiniband/hw/mlx5/
A Dmr.c1790 int size = mr->max_descs * mr->desc_size; in mlx5_free_priv_descs()
1943 mr->max_descs = ndescs; in _mlx5_alloc_mkey_descs()
2356 if (unlikely(i >= mr->max_descs)) in mlx5_ib_sg_to_klms()
2376 if (unlikely(i + j >= mr->max_descs)) in mlx5_ib_sg_to_klms()
2402 if (unlikely(mr->mmkey.ndescs == mr->max_descs)) in mlx5_set_page()
2441 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()
2485 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_mtt_mr_sg_pi()
2506 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_klm_mr_sg_pi()
2513 pi_mr->desc_size * pi_mr->max_descs, in mlx5_ib_map_klm_mr_sg_pi()
2595 mr->desc_size * mr->max_descs, in mlx5_ib_map_mr_sg()
[all …]
A Dmlx5_ib.h666 int max_descs; member

Completed in 17 milliseconds