octeontx2-af: Add macro to generate mbox handlers declarations
authorSubbaraya Sundeep <sbhatta@marvell.com>
Thu, 14 Nov 2019 05:26:25 +0000 (10:56 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Nov 2019 02:09:15 +0000 (18:09 -0800)
commitc6614738a89ce7feea70bdc89c74953d007b1a2f
treee02c19d93f929e01f3216fe4495030f6ddf8f472
parentfdb9029814825c3055c104c630fc5958ff441668
octeontx2-af: Add macro to generate mbox handlers declarations

For every mailbox handler added to rvu, we are adding a function
declaration in rvu header file. Cleaned this up by adding a macro
to generate these declarations automatically.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
drivers/net/ethernet/marvell/octeontx2/af/rvu.h