From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] liquidio: make timeout HZ independent and readable Date: Fri, 06 Jul 2018 11:07:30 +0900 (KST) Message-ID: <20180706.110730.784787207378309674.davem@davemloft.net> References: <1530555195-28129-1-git-send-email-hofrat@osadl.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: derek.chickles@caviumnetworks.com, satananda.burla@caviumnetworks.com, felix.manlunas@caviumnetworks.com, raghu.vatsavayi@caviumnetworks.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: hofrat@osadl.org Return-path: In-Reply-To: <1530555195-28129-1-git-send-email-hofrat@osadl.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Nicholas Mc Guire Date: Mon, 2 Jul 2018 20:13:15 +0200 > schedule_timeout_* takes a timeout in jiffies but the code currently is > passing in a constant which makes this timeout HZ dependent. So define > a constant with (hopefully) meaningful name and pass it through > msecs_to_jiffies() to fix the HZ dependency. > > Signed-off-by: Nicholas Mc Guire > commit f21fb3ed364b ("Add support of Cavium Liquidio ethernet adapters") Applied, thank you.