OSDN Git Service

net: marvell: prestera: disable events interrupt while handling
authorVadym Kochan <vkochan@marvell.com>
Mon, 31 May 2021 14:32:43 +0000 (17:32 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Jun 2021 22:11:57 +0000 (15:11 -0700)
commit263805c8840de4f44564b14eb9b94b1ffed2823e
tree0f2bbcd3e834d90adfc9325493389eb87512902a
parent0bf4d9af2efe118263ddb6b80bc5176629f20781
net: marvell: prestera: disable events interrupt while handling

There are change in firmware which requires that receiver will
disable event interrupts before handling them and enable them
after finish with handling. Events still may come into the queue
but without receiver interruption.

Signed-off-by: Vadym Kochan <vkochan@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/prestera/prestera_pci.c