diff options
| author | Ajay Singh <[email protected]> | 2019-09-26 15:14:59 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-09-30 21:58:03 +0200 |
| commit | 8399918f3056e1033f0f4c08eab437fb38d6f22d (patch) | |
| tree | 22eea083c86152ca8969c129a3fd4c28abf3a16b /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | fb2d74342fedca6074dd3c4ae9339f76d35caac3 (diff) | |
staging: wilc1000: use RCU list to maintain vif interfaces list
Make use of RCU list to maintain virtual interfaces instead of an array.
The update operation on 'vif' list is less compare to the read
operations. Mostly the 'vif' list elements are accessed for the read
operation, so RCU list is more suited for this requirement.
The shifting of interface index id's during the delete interface is not
required. As the firmware only supports 2 interfaces so make use of
available free slot index id during add interface.
Signed-off-by: Ajay Singh <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions