Home
last modified time | relevance | path

Searched refs:inline_thold (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Den_main.c75 MLX4_EN_PARM_INT(inline_thold, MAX_INLINE,
182 params->prof[i].inline_thold = inline_thold; in mlx4_en_get_profile()
377 if (inline_thold < MIN_PKT_LEN || inline_thold > MAX_INLINE) { in mlx4_en_verify_params()
378 pr_warn("mlx4_en: WARNING: illegal module parameter inline_thold %d - should be in range %d-%d, will be changed to default (%d)\n", in mlx4_en_verify_params()
379 inline_thold, MIN_PKT_LEN, MAX_INLINE, MAX_INLINE); in mlx4_en_verify_params()
380 inline_thold = MAX_INLINE; in mlx4_en_verify_params()
H A Den_tx.c596 * This would allow to inline all skbs iff skb->len <= inline_thold
600 static bool is_inline(int inline_thold, const struct sk_buff *skb, in is_inline() argument
606 if (skb->len > inline_thold || !inline_thold) in is_inline()
663 *inline_ok = is_inline(priv->prof->inline_thold, skb, in get_real_size()
H A Dmlx4_en.h404 int inline_thold; member
H A Den_ethtool.c1997 *(u32 *)data = priv->prof->inline_thold; in mlx4_en_get_tunable()
2020 priv->prof->inline_thold = val; in mlx4_en_set_tunable()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Den_main.c75 MLX4_EN_PARM_INT(inline_thold, MAX_INLINE,
182 params->prof[i].inline_thold = inline_thold; in mlx4_en_get_profile()
413 if (inline_thold < MIN_PKT_LEN || inline_thold > MAX_INLINE) { in mlx4_en_verify_params()
414 pr_warn("mlx4_en: WARNING: illegal module parameter inline_thold %d - should be in range %d-%d, will be changed to default (%d)\n", in mlx4_en_verify_params()
415 inline_thold, MIN_PKT_LEN, MAX_INLINE, MAX_INLINE); in mlx4_en_verify_params()
416 inline_thold = MAX_INLINE; in mlx4_en_verify_params()
H A Den_tx.c601 * This would allow to inline all skbs iff skb->len <= inline_thold
605 static bool is_inline(int inline_thold, const struct sk_buff *skb, in is_inline() argument
611 if (skb->len > inline_thold || !inline_thold) in is_inline()
677 *inline_ok = is_inline(priv->prof->inline_thold, skb, in get_real_size()
H A Dmlx4_en.h397 int inline_thold; member
H A Den_ethtool.c2008 *(u32 *)data = priv->prof->inline_thold; in mlx4_en_get_tunable()
2031 priv->prof->inline_thold = val; in mlx4_en_set_tunable()

Completed in 14 milliseconds