projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
540b3a3
)
net/mlx4_en: Advertize DCB_CAP_DCBX_HOST in getdcbx
author
Or Gerlitz
<
[email protected]
>
Sun, 7 Apr 2013 03:44:08 +0000
(
03:44
+0000)
committer
David S. Miller
<
[email protected]
>
Sun, 7 Apr 2013 20:55:47 +0000
(16:55 -0400)
When our getdcbx entry is called, DCB_CAP_DCBX_HOST should be advertized too.
Cc: John Fastabend <
[email protected]
>
Signed-off-by: Sagi Grimberg <
[email protected]
>
Signed-off-by: Or Gerlitz <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
b/drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
index 321553fd58dfd7a794e602c1db0f54fbbc284e35..0f91222ea3d77dd1a2ff29c90521da77d560c9f3 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
+++ b/
drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
@@
-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)
{
- 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)