netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net 0/4] net/ncsi: More bug fixes
@ 2016-10-20  0:45 Gavin Shan
  2016-10-20  0:45 ` [PATCH v2 net 1/4] net/ncsi: Avoid if statements in ncsi_suspend_channel() Gavin Shan
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Gavin Shan @ 2016-10-20  0:45 UTC (permalink / raw)
  To: netdev; +Cc: davem, joel, Gavin Shan

This series fixes 2 issues that were found during NCSI's availability
testing on BCM5718 and improves HNCDSC AEN handler:

   * PATCH[1] refactors the code so that minimal code change is put
     to PATCH[2].
   * PATCH[2] fixes the NCSI channel's stale link state before doing
     failover.
   * PATCH[3] chooses the hot channel, which was ever chosen as active
     channel, when the available channels are all in link-down state.
   * PATCH[4] improves Host Network Controller Driver Status Change
     (HNCDSC) AEN handler

Changelog
=========
v2:
   * Merged PATCH[v1 1/2] to PATCH[v2 1].
   * Avoid if/else statements in ncsi_suspend_channel() as Joel suggested.
   * Added comments to explain why we need retrieve last link states in
     ncsi_suspend_channel().

Gavin Shan (4):
  net/ncsi: Avoid if statements in ncsi_suspend_channel()
  net/ncsi: Fix stale link state of inactive channels on failover
  net/ncsi: Choose hot channel as active one if necessary
  net/ncsi: Improve HNCDSC AEN handler

 net/ncsi/internal.h    |   2 +
 net/ncsi/ncsi-aen.c    |  18 +++++--
 net/ncsi/ncsi-manage.c | 126 +++++++++++++++++++++++++++++++++++++------------
 3 files changed, 112 insertions(+), 34 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-20 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-20  0:45 [PATCH v2 net 0/4] net/ncsi: More bug fixes Gavin Shan
2016-10-20  0:45 ` [PATCH v2 net 1/4] net/ncsi: Avoid if statements in ncsi_suspend_channel() Gavin Shan
2016-10-20  0:45 ` [PATCH v2 net 2/4] net/ncsi: Fix stale link state of inactive channels on failover Gavin Shan
2016-10-20  0:45 ` [PATCH v2 net 3/4] net/ncsi: Choose hot channel as active one if necessary Gavin Shan
2016-10-20  0:45 ` [PATCH v2 net 4/4] net/ncsi: Improve HNCDSC AEN handler Gavin Shan
2016-10-20 15:23 ` [PATCH v2 net 0/4] net/ncsi: More bug fixes David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).