net/mlx4_core: Configure mlx4 hardware for mixed RoCE v1/v2 modes
authorMoni Shoua <monis@mellanox.com>
Thu, 14 Jan 2016 15:50:34 +0000 (17:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:35:00 +0000 (15:35 -0500)
commit1da494cbc0d922f192f1c5cc96c8794a8171c3c0
treee10f02d99e2aa7228f84bede4f155235256d9c03
parentb699a859d17b3a7a8edc5441ee99d245dfd9f86c
net/mlx4_core: Configure mlx4 hardware for mixed RoCE v1/v2 modes

If the hardware supports RoCE v2 (mixed with RoCE v1) mode, we enable
it. This is necessary in order to support RoCE v2.

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/mlx4.h
drivers/net/ethernet/mellanox/mlx4/port.c