Skip to content

misc drivers' sw timestamp changes

Jason Xing linux-arm-kernel netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesApplied 3/3
  2. v14 patches 8 repliesSuperseded

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: atlantic: generate software timestamp just before the doorbelldrivers/net/ethernet/aquantia/atlantic/aq_main.c drivers/net/ethernet/aquantia/atlantic/aq_nic.c+2 -10 repliesApplied
2/3net: cxgb4: generate software timestamp just before the doorbelldrivers/net/ethernet/chelsio/cxgb4/sge.c drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c+4 -30 repliesApplied
3/3net: stmmac: generate software timestamp just before the doorbelldrivers/net/ethernet/stmicro/stmmac/stmmac_main.c+2 -50 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/3] misc drivers' sw timestamp changes

From: Jason Xing <[email protected]>

This series modified three outstanding drivers among more than 100 drivers because the software timestamp generation is too early. The idea of this series is derived from the brief talk[1] with Willem. In conclusion, this series makes the generation of software timestamp near/before kicking the doorbell for drivers.

[1]: https://lore.kernel.org/all/[email protected]/

V2

1. remove lan966x patch since it breaks PHY timestamping.
2. move skb_tx_timestamp() earlier than before in cxgb4_eth_xmit() to avoid skb being orphaned/consumed.
3. revise the commit log.

Jason Xing (3):
net: atlantic: generate software timestamp just before the doorbell
net: cxgb4: generate software timestamp just before the doorbell
net: stmmac: generate software timestamp just before the doorbell

 drivers/net/ethernet/aquantia/atlantic/aq_main.c           | 1 -
 drivers/net/ethernet/aquantia/atlantic/aq_nic.c            | 2 ++
 drivers/net/ethernet/chelsio/cxgb4/sge.c                   | 5 +++--
 .../net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c | 2 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c          | 7 ++-----
 5 files changed, 8 insertions(+), 9 deletions(-)
Signature · 1 line
2.43.5