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)
commitee7f12205abc21c2e83b266636e27b1cb2fd4e21
tree328c120936508de0590ed2395ced5615c8371d22
parentf9a1ef720e9e32bc6a4a382c15ac77d62749c79e
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