[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210408090708.7dc9960f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Thu, 8 Apr 2021 09:07:08 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Yangbo Lu <yangbo.lu@....com>
Cc: netdev@...r.kernel.org, "David S . Miller" <davem@...emloft.net>,
Richard Cochran <richardcochran@...il.com>,
Claudiu Manoil <claudiu.manoil@....com>,
Vladimir Oltean <vladimir.oltean@....com>,
Russell King <linux@...linux.org.uk>
Subject: Re: [net-next, v2, 2/2] enetc: support PTP Sync packet one-step
timestamping
On Thu, 8 Apr 2021 09:02:50 -0700 Jakub Kicinski wrote:
> if (priv->flags & ONESTEP_BUSY) {
> skb_queue_tail(&priv->tx_skbs, skb);
> return ...;
> }
> priv->flags |= ONESTEP_BUSY;
Ah, if you have multiple queues this needs to be under a separate
spinlock, 'cause netif_tx_lock() won't be enough.
Powered by blists - more mailing lists