]> 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)
commit2bc64759817a8cc5ac21d6d48349b46220229cce
treef204f4392da57af294b8dea0c1c32277ff260719
parentf3287e7a6db293049ce0d20b0fa28ad58a368fe3
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: ec996f8e6608 ("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