On Mon, 14 Sep 2020 09:52:00 +0000 Omer Shpigelman wrote: > On Thu, Sep 10, 2020 at 11:03 PM Jakub Kicinski <k...@kernel.org> wrote: > > On Thu, 10 Sep 2020 19:11:16 +0300 Oded Gabbay wrote: > > > +module_param(nic_rx_poll, int, 0444); > > MODULE_PARM_DESC(nic_rx_poll, > > > + "Enable NIC Rx polling mode (0 = no, 1 = yes, default no)"); > > > > If your chip does not support IRQ coalescing you can configure polling and > > the > > timeout via ethtool -C, rather than a module parameter. > > I couldn't find an example for that in other drivers and I didn't see > anything regarding polling mode in the parameters description of this > ethtool callback. > Can you please specify some pointer for that? Or in other words, what > parameter can we use to enable polling/setting the timeout?
Look at stmmac, hip04_eth..