Re: [PATCH 05/15] habanalabs/gaudi: add NIC Ethernet support

2020-09-14 Thread Jakub Kicinski
On Mon, 14 Sep 2020 09:52:00 + Omer Shpigelman wrote: > On Thu, Sep 10, 2020 at 11:03 PM Jakub Kicinski 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 =

RE: [PATCH 05/15] habanalabs/gaudi: add NIC Ethernet support

2020-09-14 Thread Omer Shpigelman
On Thu, Sep 10, 2020 at 11:03 PM Jakub Kicinski 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 coal

Re: [PATCH 05/15] habanalabs/gaudi: add NIC Ethernet support

2020-09-10 Thread Oded Gabbay
On Thu, Sep 10, 2020 at 11:03 PM Jakub Kicinski 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 IR

Re: [PATCH 05/15] habanalabs/gaudi: add NIC Ethernet support

2020-09-10 Thread Jakub Kicinski
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

[PATCH 05/15] habanalabs/gaudi: add NIC Ethernet support

2020-09-10 Thread Oded Gabbay
From: Omer Shpigelman Basic NIC driver which handles Ethernet packet of several types like IPv4, IPv6, LLDP, VLAN and ARP. The NIC HW is composed of 5 NIC macros, in each macro 2 NIC engines of 100GbE each. Each engine exposes a single port of 100GbE, so in total we have 10 ports per GAUDI devic