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)
commit3bb062613b1ecbd0c388106f61344d699f7859ec
treef204f4392da57af294b8dea0c1c32277ff260719
parent2376c879b80c83424a3013834be97fb9fe2d4180
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: 76bcb31efc06 ("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