net/mlx4_core: Add support for RoCE v2 entropy
authorMoni Shoua <monis@mellanox.com>
Thu, 14 Jan 2016 15:50:37 +0000 (17:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:35:00 +0000 (15:35 -0500)
commit3f723f42d9d625bb9ecfe923d19d1d42da775797
treeebf0ef5781105d6188a5e897b8910bb0cc10aee9
parentfca83006294a6356705781eee31da1658fd411a5
net/mlx4_core: Add support for RoCE v2 entropy

In RoCE v2 we need to choose a source UDP port, we do so by using
entropy over the source and dest QPNs.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx4/qp.c
include/linux/mlx4/qp.h