commit | 1f15462539829cd05510c053538aad27a8f1fac8 | [log] [tgz] |
---|---|---|
author | Aleksey Makarov <amakarov@marvell.com> | Wed Oct 10 18:14:26 2018 +0530 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 10 10:06:02 2018 -0700 |
tree | e138600cf5c32488091f19e46c1cff0a98995a2d | |
parent | 7304ac4567bcb72fd57cc79582bf53ca7840136f [diff] |
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>