Skip to content

Commit

Permalink
mlxsw: core: Introduce support for asynchronous EMAD register access
Browse files Browse the repository at this point in the history
So far it was possible to have one EMAD register access at a time,
locked by mutex. This patch extends this interface to allow multiple
EMAD register accesses to be in fly at once. That allows faster
processing on firmware side avoiding unused time in between EMADs.
Measured speedup is ~30% for shared occupancy snapshot operation.

Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
jpirko authored and davem330 committed Apr 14, 2016
1 parent dd9bdb0 commit caf7297
Show file tree
Hide file tree
Showing 2 changed files with 334 additions and 173 deletions.
Loading

0 comments on commit caf7297

Please sign in to comment.