]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Introduce access functions to enable/disable RoCE
authorAchiad Shochat <achiad@mellanox.com>
Wed, 23 Dec 2015 16:47:19 +0000 (18:47 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 17:07:36 +0000 (12:07 -0500)
commit13f1b2ab6343016d0b4f14f99e052fd7ed9cf91a
treeff39df9856ab1ccfbe8d086916bc66a2312bc87e
parentef8e62dfc654b8ccbe2849915f92511c70811a12
net/mlx5_core: Introduce access functions to enable/disable RoCE

A mlx5 Ethernet port must be explicitly enabled for RoCE.
When RoCE is not enabled on the port, the NIC will refuse to create
QPs attached to it and incoming RoCE packets will be considered by the
NIC as plain Ethernet packets.

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/vport.c
include/linux/mlx5/vport.h