[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191104115352.49129186@cakuba.netronome.com>
Date: Mon, 4 Nov 2019 11:53:52 -0800
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: davem@...emloft.net,
Manjunath Patil <manjunath.b.patil@...cle.com>,
netdev@...r.kernel.org, nhorman@...hat.com, sassmann@...hat.com,
Andrew Bowers <andrewx.bowers@...el.com>
Subject: Re: [net-next 5/7] ixgbe: protect TX timestamping from API misuse
On Sat, 2 Nov 2019 05:14:15 -0700, Jeff Kirsher wrote:
> From: Manjunath Patil <manjunath.b.patil@...cle.com>
>
> HW timestamping can only be requested for a packet if the NIC is first
> setup via ioctl(SIOCSHWTSTAMP). If this step was skipped, then the ixgbe
> driver still allowed TX packets to request HW timestamping. In this
> situation, we see 'clearing Tx Timestamp hang' noise in the log.
>
> Fix this by checking that the NIC is configured for HW TX timestamping
> before accepting a HW TX timestamping request.
>
> similar-to:
> (26bd4e2 igb: protect TX timestamping from API misuse)
> (0a6f2f0 igb: Fix a test with HWTSTAMP_TX_ON)
This is not a correct way to quote a commit. Please use checkpatch.
All the other patches look good!
Powered by blists - more mailing lists