net/mlx5: Enable SW-defined RoCEv2 UDP source port
authorMark Zhang <markz@mellanox.com>
Tue, 14 Jan 2020 03:06:25 +0000 (05:06 +0200)
committerLeon Romanovsky <leonro@mellanox.com>
Sun, 19 Apr 2020 12:57:53 +0000 (15:57 +0300)
commit59e9e8e4fe83f68e599b87c06aaf239dcc64887b
treeaa32654ac28ca31c09b149a8a79c613afe5d1318
parenta2a322f447b91a9b85d332b345a3b508d97506a9
net/mlx5: Enable SW-defined RoCEv2 UDP source port

When this is enabled, UDP source port for RoCEv2 packets are defined
by software instead of firmware.

Signed-off-by: Mark Zhang <markz@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/mlx5_ifc.h