diff options
author | Netanel Belgazal <netanel@amazon.com> | 2018-01-03 06:17:29 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-03 12:21:00 -0500 |
commit | 7853b49ce8e0ef6364d24512b287463841d71bd3 (patch) | |
tree | f627bd04730778582c647f87f94dd3e284fbfefa /crypto | |
parent | 15962a18284552b5ec58982ff60a5e92e0c5c92b (diff) |
net: ena: unmask MSI-X only after device initialization is completed
Under certain conditions MSI-X interrupt might arrive right after it
was unmasked in ena_up(). There is a chance it would be processed by
the driver before device ENA_FLAG_DEV_UP flag is set. In such a case
the interrupt is ignored.
ENA device operates in auto-masked mode, therefore ignoring
interrupt leaves it masked for good.
Moving unmask of interrupt to be the last step in ena_up().
Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions