]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit35eef49945fc11b8eaf31b37307526d0b7704c30
treebee5b45a9c8d5e32cc146570d0b805919dfa7df5
parentcd7d45627b972d7cefa58b431095376934346db2
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