commit | b63da93de89bcb009de89d15d4d01e75a2fc37f9 | [log] [tgz] |
---|---|---|
author | Nogah Frankel <nogahf@mellanox.com> | Fri Nov 25 10:33:31 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 25 21:22:14 2016 -0500 |
tree | 780a5ab80c4346a52db9490820cf441beba8f7e1 | |
parent | 0791051c43ef994149c6d8b3ee7dc8d7e81a16a6 [diff] |
mlxsw: core: Expose generic macros for rx trap In Spectrum, there is a macro to arrange the traps list. This macro is useful for everyone who is using rx traps. Create a similar macro in core.h for creating the generic listener struct for rx traps. 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>