]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: atlantic: generate software timestamp just before the doorbell
authorJason Xing <kernelxing@tencent.com>
Sat, 10 May 2025 13:48:10 +0000 (21:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:34 +0000 (11:07 +0100)
commitd5cd121b092832ec9d9cf2b5cb1197d171e261a2
treef359f45787977899a490273de4e4d61997157b77
parentae79701ca10c2e98ecd6d0d8c262303b2e7865f6
net: atlantic: generate software timestamp just before the doorbell

[ Upstream commit 285ad7477559b6b5ceed10ba7ecfed9d17c0e7c6 ]

Make sure the call of skb_tx_timestamp is as close as possible to the
doorbell.

Signed-off-by: Jason Xing <kernelxing@tencent.com>
Link: https://patch.msgid.link/20250510134812.48199-2-kerneljasonxing@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/aquantia/atlantic/aq_main.c
drivers/net/ethernet/aquantia/atlantic/aq_nic.c