Searched hist:"1 f15462539829cd05510c053538aad27a8f1fac8" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu.c | diff 1f15462539829cd05510c053538aad27a8f1fac8 Wed Oct 10 07:44:26 CDT 2018 Aleksey Makarov <amakarov@marvell.com> octeontx2-af: Convert mbox msg id check to a macro
With 10's of mailbox messages expected to be handled in future, checking for message id could become a lengthy switch case. Hence added a macro to auto generate the switch case for each msg id.
Signed-off-by: Aleksey Makarov <amakarov@marvell.com> Signed-off-by: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|