Commit c4637cdf authored by Or Gerlitz's avatar Or Gerlitz Committed by David S. Miller

net/mlx4_en: Advertize DCB_CAP_DCBX_HOST in getdcbx

When our getdcbx entry is called, DCB_CAP_DCBX_HOST should be advertized too.

Cc: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: default avatarSagi Grimberg <sagig@mellanox.com>
Signed-off-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 540b3a39
...@@ -186,7 +186,7 @@ static int mlx4_en_dcbnl_ieee_setpfc(struct net_device *dev, ...@@ -186,7 +186,7 @@ static int mlx4_en_dcbnl_ieee_setpfc(struct net_device *dev,
static u8 mlx4_en_dcbnl_getdcbx(struct net_device *dev) static u8 mlx4_en_dcbnl_getdcbx(struct net_device *dev)
{ {
return DCB_CAP_DCBX_VER_IEEE; return DCB_CAP_DCBX_HOST | DCB_CAP_DCBX_VER_IEEE;
} }
static u8 mlx4_en_dcbnl_setdcbx(struct net_device *dev, u8 mode) static u8 mlx4_en_dcbnl_setdcbx(struct net_device *dev, u8 mode)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment