]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19dcc91808d4de6d4f263bdb28a0fecd44b0c55a
treeaa32654ac28ca31c09b149a8a79c613afe5d1318
parent97b0398cdf5549ceb9b6815d99b2f01f2285de1c
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