Skip to content

Commit 4ec14b7

Browse files
idoschdavem330
authored andcommitted
mlxsw: Add interface to access registers and process events
Ethernet Management Datagrams (EMADs) are Ethernet packets sent between the host and the device in order to configure the available device registers. Another use case is notifications sent from the device to the host, letting it know about certain events, such as port up / down. Add the ability to construct EMADs with provisions to construct and parse the registers' payloads. Implement EMAD transaction layer which is responsible for the reliable transmission of EMADs. Also, add an infrastructure used by the switch driver to register for particular events generated by the device. Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: Elad Raz <[email protected]> Reviewed-by: Scott Feldman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent eda6500 commit 4ec14b7

File tree

5 files changed

+2192
-0
lines changed

5 files changed

+2192
-0
lines changed

0 commit comments

Comments
 (0)