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)
commit0de60af649533ad8d9aaeab1df710e6a728d45ea
treeff39df9856ab1ccfbe8d086916bc66a2312bc87e
parente5f6175c5b66ce4986df7a69baae9913e8d4a430
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
This page took 0.027808 seconds and 5 git commands to generate.