diff options
author | Huy Nguyen | 2019-03-07 21:07:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-04-17 08:38:44 +0200 |
commit | da9b353c78b8cb18de6f9f38948e6ffc1ec460c7 (patch) | |
tree | 5083b15d4ed862d86c0c5e9ebebbde75260520f2 /mm/rodata_test.c | |
parent | net/mlx5e: Update xoff formula (diff) | |
download | kernel-qcow2-linux-da9b353c78b8cb18de6f9f38948e6ffc1ec460c7.tar.gz kernel-qcow2-linux-da9b353c78b8cb18de6f9f38948e6ffc1ec460c7.tar.xz kernel-qcow2-linux-da9b353c78b8cb18de6f9f38948e6ffc1ec460c7.zip |
net/mlx5e: Update xon formula
[ Upstream commit e28408e98bced123038857b6e3c81fa12a2e3e68 ]
Set xon = xoff - netdev's max_mtu.
netdev's max_mtu will give enough time for the pause frame to
arrive at the sender.
Fixes: 0696d60853d5 ("net/mlx5e: Receive buffer configuration")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/rodata_test.c')
0 files changed, 0 insertions, 0 deletions