net/mlx5e: Update xoff formula
authorHuy Nguyen <huyn@mellanox.com>
Thu, 7 Mar 2019 20:49:50 +0000 (14:49 -0600)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 29 Mar 2019 19:24:43 +0000 (12:24 -0700)
commit5ec983e924c7978aaec3cf8679ece9436508bb20
tree6b7c48ff4dc8292eb451b8f732e75e9d35d0ed08
parent36acf63a066f7e095ef2322118c2742a177daa65
net/mlx5e: Update xoff formula

Set minimum speed in xoff threshold formula to 40Gbps

Fixes: 0696d60853d5 ("net/mlx5e: Receive buffer configuration")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/port_buffer.c