]> 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)
commitf3287e7a6db293049ce0d20b0fa28ad58a368fe3
tree65c9c7eec3c7fcea5a001ffd031619bda7f92d1a
parentbc5eb6648969155e0ee9494b922741488b9951e4
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: 6fec0aa8b455 ("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