diff options
author | Jakub Kicinski | 2014-03-15 15:55:42 +0100 |
---|---|---|
committer | Jeff Kirsher | 2014-07-16 22:19:41 +0200 |
commit | 9ce34f023d6025af89087472f0327e0a81073167 (patch) | |
tree | ba743be7d2e5ee585eb0712992e9144ed13361ba /lib/locking-selftest-spin-hardirq.h | |
parent | i40e: never generate both software and hardware timestamps (diff) | |
download | kernel-qcow2-linux-9ce34f023d6025af89087472f0327e0a81073167.tar.gz kernel-qcow2-linux-9ce34f023d6025af89087472f0327e0a81073167.tar.xz kernel-qcow2-linux-9ce34f023d6025af89087472f0327e0a81073167.zip |
i40e: fix race conditions on queuing skb for HW time stamp
i40e has a single set of TX time stamping resources per NIC.
Use a simple bit lock to avoid race conditions and leaking skbs
when multiple TX rings try to claim time stamping.
Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Tested-By: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/locking-selftest-spin-hardirq.h')
0 files changed, 0 insertions, 0 deletions