Searched refs:inline_thold (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_main.c | 75 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 D | en_tx.c | 596 * 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 D | mlx4_en.h | 404 int inline_thold; member
|
H A D | en_ethtool.c | 1997 *(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 D | en_main.c | 75 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 D | en_tx.c | 601 * 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 D | mlx4_en.h | 397 int inline_thold; member
|
H A D | en_ethtool.c | 2008 *(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