]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Implement 1PPS support
authorEugenia Emantayev <eugenia@mellanox.com>
Mon, 22 Aug 2016 11:57:41 +0000 (14:57 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 19 Jan 2017 21:19:54 +0000 (23:19 +0200)
commite4ade0b7f5ed2add54baa18a3610cad99e4fb9b6
tree328c120936508de0590ed2395ced5615c8371d22
parentd4e256fde69eedcdea92d0cb293c3bdd631fa351
net/mlx5e: Implement 1PPS support

This patch enables the 1PPS IN and 1PPS OUT support according
to the advertised HCA capability. Single pin may be configured
to one of the above mutual exclusive functions via standard
Linux tools and APIs. For example, testptp open source application.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_clock.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c