]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Add LAG functionality
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 30 Apr 2020 19:21:43 +0000 (22:21 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Sat, 2 May 2020 23:19:54 +0000 (20:19 -0300)
commitb90d08a8dca2ed0073fb5a820f1836f214a8d6c3
tree38860e6b30e1d75cfe4551d6a193ab975ea5e7ec
parentb17a4a3495e8d5f853e619542ad1b8e4624b98c3
RDMA/core: Add LAG functionality

Add support to get the RoCE LAG xmit slave by building skb of the RoCE
packet and call to master_get_xmit_slave.  If driver wants to get the
slave assume all slaves are available, then need to set
RDMA_LAG_FLAGS_HASH_ALL_SLAVES in flags.

Link: https://lore.kernel.org/r/20200430192146.12863-14-maorg@mellanox.com
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/Makefile
drivers/infiniband/core/lag.c [new file with mode: 0644]
include/rdma/ib_verbs.h
include/rdma/lag.h [new file with mode: 0644]