diff options
author | Inbar Karmy <[email protected]> | 2017-11-20 16:14:30 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2018-03-26 13:46:46 -0700 |
commit | e1577c1c881b09e9f15a743a4a1907815b74d0f7 (patch) | |
tree | 611ccfe349918ef69ea4603ffc48eeb1c9aee1ee /net/unix/sysctl_net_unix.c | |
parent | 2fcb12df7d2fa5a004fc3e7f589e58a08f7ed8c9 (diff) |
ethtool: Add support for configuring PFC stall prevention in ethtool
In the event where the device unexpectedly becomes unresponsive
for a long period of time, flow control mechanism may propagate
pause frames which will cause congestion spreading to the entire
network.
To prevent this scenario, when the device is stalled for a period
longer than a pre-configured timeout, flow control mechanisms are
automatically disabled.
This patch adds support for the ETHTOOL_PFC_STALL_PREVENTION
as a tunable.
This API provides support for configuring flow control storm prevention
timeout (msec).
Signed-off-by: Inbar Karmy <[email protected]>
Cc: Michal Kubecek <[email protected]>
Cc: Andrew Lunn <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions