aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2016-08-24 12:00:23 +0200
committerDavid S. Miller <[email protected]>2016-08-24 09:41:11 -0700
commit1803e0fb7ef9534154e6a1abf77bc2ca352f72e1 (patch)
treed7b73756b7170c50379e40f2a7e9d7f1c57d3fa1 /tools/perf/scripts/python
parentfff84d2a39603336ccb7140e282c4011315e29c4 (diff)
mlxsw: spectrum: Limit number of FDB records per learning session
Up until now a learning session ended whenever the number of queried records was zero. This turned out to be problematic in situations where a large number of MACs (48K) had to be processed by the switch driver, as RTNL mutex is held during the learning session. Instead, limit the number of FDB records that can be processed in a session to 64. This means that every time the device is queried for learning notifications (currently, every 100ms), up to 64 records will be processed by the switch driver. Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions