summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAmit Cohen <amcohen@nvidia.com>2021-06-08 15:44:07 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-09 00:39:06 +0300
commita08a61934cfad0506f8ed39d605ee7cd77c2381f (patch)
tree26cce1f58ce9794662d466125297f320fe596ca5 /tools
parentfd5f5ab0c1c055eb01c959c7f71080debe2dd15c (diff)
downloadlinux-a08a61934cfad0506f8ed39d605ee7cd77c2381f.tar.xz
mlxsw: spectrum_router: Remove abort mechanism
The abort mechanism was introduced in commit 8e05fd7166c6 ("fib: hook IPv4 fib for hardware offload") with the purpose of falling back to software-based routing in case of a route programming error in hardware. The process is irreversible and requires users to reload the offloading driver or reboot the machine. While this approach might make sense in theory, it makes very little sense in practice. In the case of high speed ASICs such as the Spectrum ASIC, the abort mechanism effectively kills the machine upon a non-fatal error such as a route programming error. Such an extreme policy does not belong in the kernel, especially when user space can simply try to reprogram the route following the RTM_NEWROUTE failure notification. Therefore, remove the abort mechanism. Signed-off-by: Amit Cohen <amcohen@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions