]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add monitor commands layout and event data
authorEyal Davidovich <eyald@mellanox.com>
Mon, 10 Dec 2018 21:15:12 +0000 (13:15 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 10 Dec 2018 22:00:08 +0000 (14:00 -0800)
commitab6efecba77ac0404702b393549d8f78eb85abd3
tree38e023b4171d93fb26e8a63c026b41dc1a51503a
parent8e249aa558c4a3e4763e3ecf1321d86a37add00e
net/mlx5: Add monitor commands layout and event data

Will be used in downstream patch to monitor counter changes
by the HCA and report it to the driver by an event.
The driver will update its counters cached data accordingly.

Signed-off-by: Eyal Davidovich <eyald@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/events.c
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h