diff options
| author | Edward Cree <[email protected]> | 2018-03-27 17:44:36 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-03-27 13:33:20 -0400 |
| commit | e0a65e3c5e3b7b11ec9320524b8fcc210f2026e9 (patch) | |
| tree | e82d5fb1d37ef7bff0c1d75a2cbe1f7f0ede3e57 /tools/perf/scripts/python | |
| parent | 31b842955211f427a099f78a6a63d18a6bbc8d55 (diff) | |
sfc: protect list of RSS contexts under a mutex
Otherwise races are possible between ethtool ops and
efx_ef10_rx_restore_rss_contexts().
Also, don't try to perform the restore on every reset, only after an MC
reboot, otherwise we'll leak RSS contexts on the NIC.
Fixes: 42356d9a137b ("sfc: support RSS spreading of ethtool ntuple filters")
Signed-off-by: Edward Cree <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions