IB/mlx5: Allocate a Transport Domain for each ucontext
authormajd@mellanox.com <majd@mellanox.com>
Thu, 14 Jan 2016 17:13:02 +0000 (19:13 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 21 Jan 2016 17:01:09 +0000 (12:01 -0500)
commit146d2f1af3245a10b13eef263687e54f4e253d1d
treebee5b45a9c8d5e32cc146570d0b805919dfa7df5
parenta14c2d4beee5633081d344f130b81e5ee76e4585
IB/mlx5: Allocate a Transport Domain for each ucontext

Transport Domain groups several TIS and TIR object. By grouping
these object, it defines wheather local loopback packets that
are sent from the TIS objects in the group are received by the
TIR objects in the same group.

Allocate a Transport Domain(TD) for each user context to be used
in the future by Raw Packet QP for Self-Loopback Control.

Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h