]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Add RQ and SQ event handling
authormajd@mellanox.com <majd@mellanox.com>
Thu, 14 Jan 2016 17:13:00 +0000 (19:13 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 21 Jan 2016 17:01:09 +0000 (12:01 -0500)
commitd7373e2eec24d93bb2812f8e5d6a76c1b0026ea2
treee2609ba7a9a544711bf84364bbdb7c7950ea769a
parent1a01db026dae80c36e58165936f8501c16101b1b
net/mlx5_core: Add RQ and SQ event handling

RQ/SQ will be used to implement IB verbs QPs, so the IB QP affiliated
events are affiliated also with SQs and RQs.

Since SQ, RQ and QP resource numbers do not share the same name
space, a queue type field was added to the event data to specify
the SW object that the event is affiliated with.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/qp.c
include/linux/mlx5/device.h
include/linux/mlx5/driver.h
include/linux/mlx5/qp.h