]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IB/mlx4: Add CM paravirtualization
authorAmir Vadai <amirv@mellanox.co.il>
Fri, 3 Aug 2012 08:40:47 +0000 (08:40 +0000)
committerRoland Dreier <roland@purestorage.com>
Sun, 23 Sep 2012 16:26:53 +0000 (09:26 -0700)
commitd7a4e9b679e93bdbc41bc532e359967a22aa599e
tree679c4acf104ddde044d9134fe38b1d75e8116e91
parent9eb8f72b0ba627cac707c109f97254c92184eaf7
IB/mlx4: Add CM paravirtualization

In CM para-virtualization:

1. Incoming requests are steered to the correct vHCA according to the
   embedded GID.
2. Communication IDs on outgoing requests are replaced by a globally
   unique ID, generated by the PPF, since there is no synchronization
   of ID generation between guests (and so these IDs are not
   guaranteed to be globally unique).  The guest's comm ID is stored,
   and is returned to the response MAD when it arrives.

Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/Makefile
drivers/infiniband/hw/mlx4/cm.c [new file with mode: 0644]
drivers/infiniband/hw/mlx4/mad.c
drivers/infiniband/hw/mlx4/mlx4_ib.h