mlx5: support setting link up or down
authorOr Ami <ora@mellanox.com>
Thu, 17 Mar 2016 15:38:54 +0000 (16:38 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 25 Mar 2016 17:56:44 +0000 (18:56 +0100)
commit62072098b54ea502764b60f19a626013f838c778
treea93bceb0a529b8ffdffd23823a7766effb6e0335
parentae19955e7c86529cf7ddc3b1f1b49781f09687f6
mlx5: support setting link up or down

Add driver functions to set link state up or down.
Burst functions are updated to make sure applications cannot attempt to
send/receive after link is brought down.

Signed-off-by: Or Ami <ora@mellanox.com>
doc/guides/rel_notes/release_16_04.rst
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_ethdev.c