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)
commitfd4572b3ff3ff57ca7fa612f9ea42b90afdd8bff
tree38e023b4171d93fb26e8a63c026b41dc1a51503a
parent8d6b57e6445989e9f34077ef1aac80b621029b08
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