aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2020-08-23 11:06:27 +0300
committerDavid S. Miller <[email protected]>2020-08-24 17:36:11 -0700
commitffff9c9cb451d16c42cea79adbaaafa423902113 (patch)
treeb1b99787e3a5a8120fba61406db2640cf8e12fb7 /drivers/fpga/fpga-mgr.c
parent24f54c522590db790c2311a35284939c03268231 (diff)
selftests: mlxsw: Reduce runtime of tc-police scale test
Currently, the test takes about 626 seconds to complete because of an inefficient use of the device's TCAM. Reduce the runtime to 202 seconds by inserting all the flower filters with the same preference and mask, but with a different key. In particular, this reduces the deletion of the qdisc (which triggers the deletion of all the filters) from 66 seconds to 0.2 seconds. This prevents various netlink requests from user space applications (e.g., systemd-networkd) from timing-out because RTNL is not held for too long anymore. Signed-off-by: Ido Schimmel <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions