{net, IB}/mlx5: Refactor internal SRQ API
authorArtemy Kovalyov <artemyko@mellanox.com>
Fri, 17 Jun 2016 12:33:32 +0000 (15:33 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 23 Jun 2016 15:20:07 +0000 (11:20 -0400)
commitaf1ba291c5e498973cc325c501dd8da80b234571
tree2c27ab646c0d2d79bc821ce1474bd64be24cb80a
parente3353c268b06236d6c40fa1714c114f21f44451c
{net, IB}/mlx5: Refactor internal SRQ API

Currently, the SRQ API uses the obsolete mlx5_*_srq_mbox_{in,out}
structs which limit the ability to pass the SRQ attributes between
net and IB parts of the driver.

This patch changes the SRQ API so as to use auto-generated structs
and provides a better way to pass attributes which will be in use by
coming features.

Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/srq.c
drivers/net/ethernet/mellanox/mlx5/core/srq.c
include/linux/mlx5/driver.h
include/linux/mlx5/srq.h