OSDN Git Service

octeontx2-af: Add interrupt handlers for Master Enable event
authorLinu Cherian <lcherian@marvell.com>
Mon, 19 Nov 2018 10:47:42 +0000 (16:17 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Nov 2018 01:56:08 +0000 (17:56 -0800)
commit4fa9121046ce7e6b917405ddbdd51e2ead0c2bb2
treeb48290e374685be76370ee871af59c5e3f30e790
parent465ed9c1fc3b8f091c978b8a80ada5953a15b45c
octeontx2-af: Add interrupt handlers for Master Enable event

- Add interrupt handlers for Master Enable events from PFs
  and Master Enable events from VFs of AF
- Master Enable is required for the MSIX delivery to work
- Master Enable bit trap handler doesn't have to do any anything
  other than clearing the TRPEND bit, since the enable/disable
  requirements are already taken care using mbox requests/flr handler.

Signed-off-by: Linu Cherian <lcherian@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