]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Add hash functions to calculate RoCEv2 flowlabel and UDP source port
authorMark Zhang <markz@mellanox.com>
Mon, 4 May 2020 05:19:31 +0000 (08:19 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 6 May 2020 19:51:43 +0000 (16:51 -0300)
commitea0464023d0e718d3c4fcfb8ef455d3b436b63e6
tree161ba007e1c32320620b764372351583b05983ea
parentf7ddfb1ef00559119068d9b1f95260e5cfc24362
RDMA/core: Add hash functions to calculate RoCEv2 flowlabel and UDP source port

Add two hash functions to distribute RoCE v2 UDP source and Flowlabel
symmetrically. These are user visible API and any change in the
implementation needs to be tested for inter-operability between old and
new variant.

Link: https://lore.kernel.org/r/20200504051935.269708-2-leon@kernel.org
Signed-off-by: Mark Zhang <markz@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/rdma/ib_verbs.h