diff options
author | Eric Dumazet <edumazet@google.com> | 2014-10-05 12:35:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-06 01:04:16 -0400 |
commit | 1556b8746e52501fdfaadd65837baaa63a9fa937 (patch) | |
tree | 33befd15a97dcb8bb8b3a78bc6d355caf2d37f59 /drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | |
parent | 1255a5055449781a92076fc5429952f2b33cf309 (diff) | |
download | talos-obmc-linux-1556b8746e52501fdfaadd65837baaa63a9fa937.tar.gz talos-obmc-linux-1556b8746e52501fdfaadd65837baaa63a9fa937.zip |
net/mlx4_en: Use the new tx_copybreak to set inline threshold
Instead of setting inline threshold using module parameter only on
driver load, use set_tunable() to set it dynamically.
No need to store the threshold per ring, using instead the netdev global
priv->prof->inline_thold
Initial value still is set using the module parameter, therefore
backward compatability is kept.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4_en.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h index a90403000577..8fef65840b3b 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h @@ -295,7 +295,6 @@ struct mlx4_en_tx_ring { bool bf_alloced; struct netdev_queue *tx_queue; int hwtstamp_tx_type; - int inline_thold; } ____cacheline_aligned_in_smp; struct mlx4_en_rx_desc { |