summaryrefslogtreecommitdiff
path: root/include/linux/mlx4
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2015-07-30 18:33:27 +0300
committerDoug Ledford <dledford@redhat.com>2015-08-31 01:12:20 +0300
commit238fdf48f2b54a01cedb5774c3a1e81c94e1a3a0 (patch)
tree0c46916034580bd48c4d97142deed21cfb2fcdda /include/linux/mlx4
parent98d25afa970d134024d8652360569e3bd74782b3 (diff)
downloadlinux-238fdf48f2b54a01cedb5774c3a1e81c94e1a3a0.tar.xz
IB/core: Add RoCE table bonding support
Handling bonding and other devices require us to all all GIDs of the net-devices which are upper-devices of the RoCE port related net-device. Active-backup configurations imposes even more challenges as the default GID should only be set on the active devices (this is necessary as otherwise the same MAC could be used for several slaves and thus several slaves will have identical GIDs). Managing these configurations are done by listening to: (a) NETDEV_CHANGEUPPER event (1) if a related net-device is linked, delete all inactive slaves default GIDs and add the upper device GIDs. (2) if a related net-device is unlinked, delete all upper GIDs and add the default GIDs. (b) NETDEV_BONDING_FAILOVER: (1) delete the bond GIDs from inactive slaves (2) delete the inactive slave's default GIDs (3) Add the bond GIDs to the active slave. Signed-off-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/mlx4')
0 files changed, 0 insertions, 0 deletions