lkml.org 
[lkml]   [2020]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 05/15] habanalabs/gaudi: add NIC Ethernet support
    On Mon, 14 Sep 2020 09:52:00 +0000 Omer Shpigelman wrote:
    > On Thu, Sep 10, 2020 at 11:03 PM Jakub Kicinski <kuba@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..

    \
     
     \ /
      Last update: 2020-09-14 18:49    [W:2.971 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site