Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
mlxsw: spectrum_router_xm: Introduce basic XM cache flushing
Upon router insertion and removal, it is needed to flush possibly cached entries from the XM cache. Extend XM op context to carry information needed for the flush. Implement the flush in delayed work since for HW design reasons there is a need to wait 50usec before the flush can be done. If during this time comes the same flush request, consolidate it to the first one. Implement this queued flushes by a hashtable. Signed-off-by: Jiri Pirko <jiri@nvidia.com>
- Loading branch information
Showing
1 changed file
with
278 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters