Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ upstream commit 94d0631a8275afa4314ee1d4f08d2fbd02325124 ] In rare cases, when DPDK application exit, the interrupt handler was not processed the interrupt in time, resulting in the LSC interrupt mask bit not being cleared. So when the DPDK application start again, the newly coming LSC interrupts cannot be received and processed properly. Fix this problem by force clear the LSC interrupt mask on port initialization. Fixes: 6c53f87 ("nfp: add link status interrupt") Signed-off-by: Shihong Wang <shihong.wang@corigine.com> Signed-off-by: Peng Zhang <peng.zhang@corigine.com> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
- Loading branch information