diff options
| author | Nogah Frankel <[email protected]> | 2016-11-25 10:33:30 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-11-25 21:22:14 -0500 |
| commit | 0791051c43ef994149c6d8b3ee7dc8d7e81a16a6 (patch) | |
| tree | f9ef6011d77ff8f3676c9775ed20d3baba9a020b /include/linux/timerqueue.h | |
| parent | ee4a60d898826d34b804a357847c7910aba80b96 (diff) | |
mlxsw: core: Create a generic function to register / unregister traps
We have 2 types of HW traps to handle, rx traps and events.
The registration workflow for both is very similar. So it only make
sense to create one function to handle both.
This patch creates a struct to hold the data for both cases. It also
creates a registration and an un-registration functions that get this
generic struct as input.
Signed-off-by: Nogah Frankel <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions