net/mlx5e: Add DCBX control interface
authorHuy Nguyen <huyn@mellanox.com>
Sun, 27 Nov 2016 15:02:08 +0000 (17:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Nov 2016 20:09:35 +0000 (15:09 -0500)
commit0eca995f3ede3a4fc77e0ea29a7a6c0a4c4fde0f
treee1e72faffcde40d499dad64a2f0e0b12dda631fb
parente207b7e991768b724f6d216de49c9b800e203eed
net/mlx5e: Add DCBX control interface

Use setdcbx interface to set the DCBX mode to firmware or os.
If setdcbx is called with mode value of zero, the DCBX mode
is set to firmware.

Signed-off-by: Huy Nguyen <huyn@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