]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add MTPPS and MTPPSE registers infrastructure
authorEugenia Emantayev <eugenia@mellanox.com>
Mon, 10 Oct 2016 13:05:53 +0000 (16:05 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 19 Jan 2017 21:19:53 +0000 (23:19 +0200)
commitd4e256fde69eedcdea92d0cb293c3bdd631fa351
tree7950b44b7007d4f0be45714cebf145f971a9999f
parentc67c059b8f83cb9002309c93d7b098550f810bca
net/mlx5: Add MTPPS and MTPPSE registers infrastructure

Implement query and set functionality for MTPPS and MTPPSE registers.
MTPPS (Management Pulse Per Second) provides the device PPS capabilities,
configures the PPS in and out modules and holds the PPS in time stamp.
Query MTPPS is supported only when HCA_CAP.pps is set and modify is supported
when HCA_CAP.pps_modify is set.

MTPPSE (Management Pulse Per Second Event) configures the different event
generation modes for PPS. Supported when HCA_CAP.pps is set.

Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/device.h
include/linux/mlx5/driver.h
include/linux/mlx5/mlx5_ifc.h