summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/qp.c
diff options
context:
space:
mode:
authorJack Morgenstein <jackm@dev.mellanox.co.il>2014-03-12 11:00:39 +0100
committerDavid S. Miller <davem@davemloft.net>2014-03-12 20:57:14 +0100
commitb6ffaeffaea4d92f05f5ba1ef54df407cb7c8517 (patch)
tree36ce4558756c07bdcc47a8ad6a6a3208f4e1fe05 /drivers/infiniband/hw/mlx4/qp.c
parentmlx4_core: For RoCE, allow slaves to set the GID entry at that slave's index (diff)
downloadlinux-b6ffaeffaea4d92f05f5ba1ef54df407cb7c8517.tar.xz
linux-b6ffaeffaea4d92f05f5ba1ef54df407cb7c8517.zip
mlx4: In RoCE allow guests to have multiple GIDS
The GIDs are statically distributed, as follows: PF: gets 16 GIDs VFs: Remaining GIDS are divided evenly between VFs activated by the driver. If the division is not even, lower-numbered VFs get an extra GID. For an IB interface, the number of gids per guest remains as before: one gid per guest. Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/qp.c')
0 files changed, 0 insertions, 0 deletions