Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1347047pxk; Thu, 10 Sep 2020 13:08:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvkvinxroU3pyLGe0mmHpF9iVWj4a9mHgMfxRUVtFSe5GJu7SA4vrl4SCVPxjk7JpTo8Pe X-Received: by 2002:a05:6402:483:: with SMTP id k3mr11479463edv.24.1599768511427; Thu, 10 Sep 2020 13:08:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599768511; cv=none; d=google.com; s=arc-20160816; b=SNdAPdevm1pPg4XQ7Rxxsqu3xv0iAfLIEUngUCykShUqGK+XMx5njzQ/PxOtz3nMZZ d5ixw9n0umCnOybQ9FpCykMjleqMV/dI6W00m7BMscBjm+6ujmabbRPZyvRmhUjKQbcZ +z2hXdrATZKwwQEYmfdxUeF8vokRQKBnIrxseypB09cJ2feKN85bokY91DQgL1xoQFKC BolEXZPudYCbXLUiO3kwy1TaROxk1gDjPlWGIUyRR/zGoGMHfsYXeOkiEwYQ/BNuhXo3 Ejxrt9AwhSi4yVLTKRYodFFXXBOd8XEBDaJoGxzciDRGPSFoyRy18feHJhsXk0uKBFqm IeGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=OciK3QhmlBSun2SWJLoEKgXE9yO8iTwZwITf8GBc25o=; b=07Dek/1XeDxOqQnHn1I9g65YFKsmExziEp6/FpTdMf1BkoNn3CgC6z29rv69CCFUAi yoqWaLhVxrMsMIzBc81wrhudKiwql/0uu9h1RLVdRsJJzkGOoPKIHevbd0Pc3H+w5m+P eIKD8oKiPHaRw7LyPdcioCRnxOXKAIOofxCySsVgvLx7w4L/3s0iLyITh/lA0aAZxV6H /akNgI9z6pR7vi4vlMDkIKijgytEJNqjzze4b3QOEmVLAm/IAb/uU+JtmE/83aaNLmLP fQhhl1zdfCZvu6P32NYPHQijrAcQwDf4LwdK1q5jYFC/+gLUblJuhjOMUWE1wBF5FVX8 1Ucw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UstcIQyQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s16si4162436ejz.557.2020.09.10.13.08.08; Thu, 10 Sep 2020 13:08:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UstcIQyQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726969AbgIJUHB (ORCPT + 99 others); Thu, 10 Sep 2020 16:07:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:39150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726603AbgIJUDK (ORCPT ); Thu, 10 Sep 2020 16:03:10 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E4818221E2; Thu, 10 Sep 2020 20:03:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599768190; bh=6Bv/xRpK7lXv8kGKs6UsDHew8tkn3fnGwO/OFA+kgEQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UstcIQyQwsfgmh7G+5PXmYkfLmQyXYuLZ/kbFq7VcHRC0q1Vt4wX06h+30q7Q3Pbh UN5qqULIj/MQpQu1DvQdSjd8x1kxiJaMHI9NFe7j1+groINMJS+BVG4HsxdOlI0mUU ZfqwPBL17w4NhgmKbk+6lRiRmwvpM5Bo4nV1RkzE= Date: Thu, 10 Sep 2020 13:03:07 -0700 From: Jakub Kicinski To: Oded Gabbay Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, SW_Drivers@habana.ai, gregkh@linuxfoundation.org, davem@davemloft.net, Omer Shpigelman Subject: Re: [PATCH 05/15] habanalabs/gaudi: add NIC Ethernet support Message-ID: <20200910130307.5dee086b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20200910161126.30948-6-oded.gabbay@gmail.com> References: <20200910161126.30948-1-oded.gabbay@gmail.com> <20200910161126.30948-6-oded.gabbay@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.