]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add EQ enable/disable API
authorYuval Avnery <yuvalav@mellanox.com>
Mon, 10 Jun 2019 23:38:42 +0000 (23:38 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Jun 2019 17:59:49 +0000 (10:59 -0700)
commite9df0b42101cbcc379f4fd2d3744e31d67056688
tree5f838bebd4ff22696c5d32855e1490461c4e35ee
parent7608f3c3f43cc64a58b344caef29cff923db58d0
net/mlx5: Add EQ enable/disable API

Previously, EQ joined the chain notifier on creation.
This forced the caller to be ready to handle events before creating
the EQ through eq_create_generic interface.

To help the caller control when the created EQ will be attached to the
IRQ, add enable/disable API.

Signed-off-by: Yuval Avnery <yuvalav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/odp.c
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/lib/eq.h
include/linux/mlx5/eq.h