netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/5] eth: fbnic: add timestamping support
@ 2024-10-08 18:14 Vadim Fedorenko
  2024-10-08 18:14 ` [PATCH net-next v4 1/5] eth: fbnic: add software TX " Vadim Fedorenko
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Vadim Fedorenko @ 2024-10-08 18:14 UTC (permalink / raw)
  To: Vadim Fedorenko, Jakub Kicinski, David Ahern, Paolo Abeni,
	David S. Miller, Alexander Duyck
  Cc: Vadim Fedorenko, netdev, Richard Cochran

The series is to add timestamping support for Meta's NIC driver.

Changelog:
v3 -> v4:
- use adjust_by_scaled_ppm() instead of open coding it
- adjust cached value of high bits of timestamp to be sure it
  is older then incoming timestamps
v2 -> v3:
- rebase on top of net-next
- add doc to describe retur value of fbnic_ts40_to_ns()
v1 -> v2:
- adjust comment about using u64 stats locking primitive
- fix typo in the first patch
- Cc Richard

Vadim Fedorenko (5):
  eth: fbnic: add software TX timestamping support
  eth: fbnic: add initial PHC support
  eth: fbnic: add RX packets timestamping support
  eth: fbnic: add TX packets timestamping support
  eth: fbnic: add ethtool timestamping statistics

 drivers/net/ethernet/meta/fbnic/Makefile      |   3 +-
 drivers/net/ethernet/meta/fbnic/fbnic.h       |  11 +
 drivers/net/ethernet/meta/fbnic/fbnic_csr.h   |  39 +++
 .../net/ethernet/meta/fbnic/fbnic_ethtool.c   |  54 ++++
 .../net/ethernet/meta/fbnic/fbnic_netdev.c    |  91 +++++-
 .../net/ethernet/meta/fbnic/fbnic_netdev.h    |  18 ++
 drivers/net/ethernet/meta/fbnic/fbnic_pci.c   |   9 +-
 drivers/net/ethernet/meta/fbnic/fbnic_rpc.c   |  31 ++
 drivers/net/ethernet/meta/fbnic/fbnic_time.c  | 303 ++++++++++++++++++
 drivers/net/ethernet/meta/fbnic/fbnic_txrx.c  | 168 +++++++++-
 drivers/net/ethernet/meta/fbnic/fbnic_txrx.h  |   3 +
 11 files changed, 722 insertions(+), 8 deletions(-)
 create mode 100644 drivers/net/ethernet/meta/fbnic/fbnic_time.c

-- 
2.43.5

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-10-10 11:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-08 18:14 [PATCH net-next v4 0/5] eth: fbnic: add timestamping support Vadim Fedorenko
2024-10-08 18:14 ` [PATCH net-next v4 1/5] eth: fbnic: add software TX " Vadim Fedorenko
2024-10-10 10:18   ` Paolo Abeni
2024-10-10 10:38     ` Paolo Abeni
2024-10-10 10:49       ` Vadim Fedorenko
2024-10-08 18:14 ` [PATCH net-next v4 2/5] eth: fbnic: add initial PHC support Vadim Fedorenko
2024-10-08 18:14 ` [PATCH net-next v4 3/5] eth: fbnic: add RX packets timestamping support Vadim Fedorenko
2024-10-08 18:14 ` [PATCH net-next v4 4/5] eth: fbnic: add TX " Vadim Fedorenko
2024-10-08 18:14 ` [PATCH net-next v4 5/5] eth: fbnic: add ethtool timestamping statistics Vadim Fedorenko
2024-10-10 11:00 ` [PATCH net-next v4 0/5] eth: fbnic: add timestamping support patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).