net/mlx4_core: Add support for configuring RoCE v2 UDP port
authorMoni Shoua <monis@mellanox.com>
Thu, 14 Jan 2016 15:50:36 +0000 (17:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:35:00 +0000 (15:35 -0500)
commitfca83006294a6356705781eee31da1658fd411a5
tree5f59f6cce1bab3c6c08b833f54ec675bfa65b337
parent7e57b85c444c3c1bf3550aa6890666fc4353bd33
net/mlx4_core: Add support for configuring RoCE v2 UDP port

In order to support RoCE v2, the hardware needs to be configured
to classify certain UDP packets as RoCE v2 packets and pass it
through its RoCE pipeline. This patch enables configuring this
UDP port.

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/fw.c
include/linux/mlx4/device.h