commit | 14eeda99c4a6b6bf92261f980bcd95f345c76b64 | [log] [tgz] |
---|---|---|
author | Nogah Frankel <nogahf@mellanox.com> | Fri Nov 25 10:33:32 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 25 21:22:14 2016 -0500 |
tree | f971c13416fbe9f5e00d3cc99fd3603a5c1d65e6 | |
parent | b63da93de89bcb009de89d15d4d01e75a2fc37f9 [diff] |
mlxsw: spectrum: Use generic listener struct for rx traps Replace the old rx listener struct definitions by the generic ones. Use the new generic registering / unregistering functions for them. Add some macros to organize the trap list. Signed-off-by: Nogah Frankel <nogahf@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>