mbox series

[net-next,v4,0/5] eth: fbnic: add timestamping support

Message ID 20241008181436.4120604-1-vadfed@meta.com (mailing list archive)
Headers show
Series eth: fbnic: add timestamping support | expand

Message

Vadim Fedorenko Oct. 8, 2024, 6:14 p.m. UTC
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

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 10, 2024, 11 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Tue, 8 Oct 2024 11:14:31 -0700 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [net-next,v4,1/5] eth: fbnic: add software TX timestamping support
    https://git.kernel.org/netdev/net-next/c/be65bfc957eb
  - [net-next,v4,2/5] eth: fbnic: add initial PHC support
    https://git.kernel.org/netdev/net-next/c/ad8e66a4d963
  - [net-next,v4,3/5] eth: fbnic: add RX packets timestamping support
    https://git.kernel.org/netdev/net-next/c/6a2b3ede9543
  - [net-next,v4,4/5] eth: fbnic: add TX packets timestamping support
    https://git.kernel.org/netdev/net-next/c/ad3d9f8bc66c
  - [net-next,v4,5/5] eth: fbnic: add ethtool timestamping statistics
    https://git.kernel.org/netdev/net-next/c/96f358f75d1a

You are awesome, thank you!