]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4 : Handle dcb enable correctly
authorAnish Bhatt <anish@chelsio.com>
Thu, 23 Oct 2014 21:37:31 +0000 (14:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Oct 2014 23:00:09 +0000 (19:00 -0400)
commite441918d0b23258590a5941dc71fba367ce01d56
treef204f4392da57af294b8dea0c1c32277ff260719
parent7544e2784b11447cf98fddbf63c03c97c97701ae
cxgb4 : Handle dcb enable correctly

Disabling DCBx in firmware automatically enables DCBx for control via host
lldp agents. Wait for an explicit setstate call from an lldp agents to enable
 DCBx instead.

Fixes: a99baeb6c0a0 ("cxgb4 : Add DCBx support codebase and dcbnl_ops")
Signed-off-by: Anish Bhatt <anish@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c