From: Alexander Monakov <amona...@ispras.ru> Date: Sat, 27 Jan 2018 23:29:07 +0300
> @@ -1362,6 +1362,14 @@ static int pxa168_eth_do_ioctl(struct net_device *dev, > struct ifreq *ifr, > return -EOPNOTSUPP; > } > > +#ifdef CONFIG_NET_POLL_CONTROLLER > +static void pxa168_eth_netpoll(struct net_device *dev) > +{ > + struct pxa168_eth_private *pep = netdev_priv(dev); > + napi_schedule(&pep->napi); > +} > +#endif This definitely is not sufficient. Look at what other drivers do. You have to invoke the interrupt handler with the device's interrupts disabled, collect the events, and most importantly mask chip interrupts before scheduling the NAPI instance. Thank you.