Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: netcp: fix improper initialization in netcp_ndo_open()
commit 194ac06 upstream. The keystone qmss will raise interrupt when packet arrive at the receive queue. Only control available to avoid interrupt from happening is to keep the free descriptor queue (FDQ) empty in the receive side. So the filling of descriptors into the FDQ has to happen after request_irq() call is made as part of knav_queue_enable_notify(). So move the function netcp_rxpool_refill() after this call. Signed-off-by: Murali Karicheri <[email protected]> Signed-off-by: David S. Miller <[email protected]> Signed-off-by: Sekhar Nori <[email protected]>
- Loading branch information