diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2014-03-12 14:00:38 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-12 23:57:13 +0400 |
commit | 9cd593529c8652785bc9962acc79b6b176741f99 (patch) | |
tree | 1e056dcc04d4ab3c95a20d3e2757352b6c040b7e /drivers/net/ethernet/mellanox/mlx4/mcg.c | |
parent | 6ee51a4e866bbb0921180b457ed16cd172859346 (diff) | |
download | linux-9cd593529c8652785bc9962acc79b6b176741f99.tar.xz |
mlx4_core: For RoCE, allow slaves to set the GID entry at that slave's index
For IB transport, the host determines the slave GIDs. For ETH (RoCE),
however, the slave's GID is determined by the IP address that the slave
itself assigns to the ETH device used by RoCE.
In this case, the slave must be able to write its GIDs to the HCA gid table
(at the GID indices that slave "owns").
This commit adds processing for the SET_PORT_GID_TABLE opcode modifier
for the SET_PORT command wrapper (so that slaves may modify their GIDS
for RoCE).
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/net/ethernet/mellanox/mlx4/mcg.c')
0 files changed, 0 insertions, 0 deletions