]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7544e2784b11447cf98fddbf63c03c97c97701ae
tree65c9c7eec3c7fcea5a001ffd031619bda7f92d1a
parent4fa9782afd346a83b948511c383c2082e63cca18
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: 10216cd704b1 ("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