lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 14 Sep 2020 09:52:00 +0000
From:   Omer Shpigelman <oshpigelman@...ana.ai>
To:     Jakub Kicinski <kuba@...nel.org>,
        Oded Gabbay <oded.gabbay@...il.com>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        SW_Drivers <SW_Drivers@...ana.ai>,
        "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
        "davem@...emloft.net" <davem@...emloft.net>
Subject: RE: [PATCH 05/15] habanalabs/gaudi: add NIC Ethernet support

On Thu, Sep 10, 2020 at 11:03 PM Jakub Kicinski <kuba@...nel.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?

Thanks,
Omer

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ