cxgb4 : Improve handling of DCB negotiation or loss thereof
authorAnish Bhatt <anish@chelsio.com>
Thu, 23 Oct 2014 21:37:30 +0000 (14:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Oct 2014 23:00:09 +0000 (19:00 -0400)
commit2376c879b80c83424a3013834be97fb9fe2d4180
tree65c9c7eec3c7fcea5a001ffd031619bda7f92d1a
parent5d26b1f50a610fb28700cdc3446590495a5f607c
cxgb4 : Improve handling of DCB negotiation or loss thereof

Clear out any DCB apps we might have added to kernel table when we lose DCB
sync (or IEEE equivalent event). These were previously left behind and not
cleaned up correctly. IEEE allows individual components to work independently,
 so improve check for IEEE completion by specifying individual components.

Fixes: 10b0046685ab ("cxgb4: IEEE fixes for DCBx state machine")

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