]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net:mlx5e: Add PTP-TIR and PTP-RQT
authorAya Levin <ayal@nvidia.com>
Thu, 25 Feb 2021 17:55:20 +0000 (19:55 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 30 Mar 2021 04:21:51 +0000 (21:21 -0700)
commit3adb60b6a3ed9f233daa632d35cec79fe4781372
tree7726eaa14625f5135b14f1669901c3ff441e05f1
parenta28359e922c681a23c01e4858175d9e98c5ff88a
net:mlx5e: Add PTP-TIR and PTP-RQT

Add PTP-TIR and initiate its RQT to allow PTP-RQ to integrate into the
safe-reopen flow on configuration change. Add rx_ptp_support flag on a
profile and turn it on for ETH driver. With this flag set, create a
redirect-RQT for PTP-RQ.

Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib_vlan.c