]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: remove IEEE/CEE mode check when setting DCBX mode
authorHuy Nguyen <huyn@mellanox.com>
Fri, 10 Mar 2017 12:33:03 +0000 (14:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Mar 2017 18:03:26 +0000 (10:03 -0800)
commit33e21c59526e9147d7c68913995298f10c35cd6f
tree9dfe1ff7b9681c5d4306bae677be0cfaa22e8813
parent5d47f6c89d568ab61712d8c40676fbb020b68752
net/mlx5e: remove IEEE/CEE mode check when setting DCBX mode

Currently, the function setdcbx fails if the request dcbx mode
is either IEEE or CEE. We remove the IEEE/CEE mode check because
we support both IEEE and CEE interfaces.

Fixes: 3a6a931dfb8e ("net/mlx5e: Support DCBX CEE API")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c