]> git.karo-electronics.de Git - linux-beck.git/commit
mlxsw: core: Introduce generic macro for event
authorNogah Frankel <nogahf@mellanox.com>
Fri, 25 Nov 2016 09:33:34 +0000 (10:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2016 02:22:14 +0000 (21:22 -0500)
commitfb9012d93f3d8abc316ec06105a7e781c37e2696
treeff892a73af336c23702beba516174501d06889cc
parent2332d8c7df9531a0b73ff3a7d2d65b0c99122c21
mlxsw: core: Introduce generic macro for event

Create a macro for creating the generic listener struct for events,
similar to the one 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>
drivers/net/ethernet/mellanox/mlxsw/core.h