]> 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)
commit66f8d3a02273f03090ac07de289a70da53cc497c
tree38e023b4171d93fb26e8a63c026b41dc1a51503a
parentca3bdcf364579257d7bf65c47a042d2bf8b8fa2e
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