netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] net/ncsi: NCSI Improvment and bug fixes
@ 2016-09-29  5:03 Gavin Shan
  2016-09-29  5:03 ` [PATCH net-next 1/8] net/ncsi: Avoid unused-value build warning from ia64-linux-gcc Gavin Shan
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Gavin Shan @ 2016-09-29  5:03 UTC (permalink / raw)
  To: netdev; +Cc: davem, joel, yuvali, benh, Gavin Shan

This series of patches improves NCSI stack according to the comments
I received after the NCSI code was merged to 4.8.rc1:

  * PATCH[1/8] fixes the build warning caused by xchg() with ia64-linux-gcc.
    The atomic operations are replaced with {READ, WRITE}_ONCE().
  * Channel ID (0x1f) is the reserved one and it cannot be valid channel ID.
    So we needn't try to probe channel whose ID is 0x1f. PATCH[2/8] and
    PATCH[3/8] are addressing this issue.
  * The request IDs are assigned in round-robin fashion, but it's broken.
    PATCH[4/8] make it work.
  * PATCH[5/8] and PATCH[6/8] reworks the channel monitoring to improve the
    code readability and its robustness.
  * PATCH[7/8] and PATCH[8/8] introduces ncsi_stop_dev() so that the network
    device can be closed and opened afterwards. No error will be seen.

Gavin Shan (8):
  net/ncsi: Avoid unused-value build warning from ia64-linux-gcc
  net/ncsi: Introduce NCSI_RESERVED_CHANNEL
  net/ncsi: Don't probe on the reserved channel ID (0x1f)
  net/ncsi: Rework request index allocation
  net/ncsi: Allow to extend NCSI request properties
  net/ncsi: Rework the channel monitoring
  net/ncsi: Introduce ncsi_stop_dev()
  net/faraday: Stop NCSI device on shutdown

 drivers/net/ethernet/faraday/ftgmac100.c |   2 +
 include/net/ncsi.h                       |   5 +
 net/ncsi/internal.h                      |  22 ++--
 net/ncsi/ncsi-aen.c                      |  19 ++--
 net/ncsi/ncsi-cmd.c                      |   2 +-
 net/ncsi/ncsi-manage.c                   | 166 ++++++++++++++++++-------------
 net/ncsi/ncsi-rsp.c                      |  17 +---
 7 files changed, 137 insertions(+), 96 deletions(-)

-- 
2.1.0

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

end of thread, other threads:[~2016-09-29 11:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29  5:03 [PATCH net-next 0/8] net/ncsi: NCSI Improvment and bug fixes Gavin Shan
2016-09-29  5:03 ` [PATCH net-next 1/8] net/ncsi: Avoid unused-value build warning from ia64-linux-gcc Gavin Shan
2016-09-29  5:54   ` David Miller
2016-09-29 11:40     ` Gavin Shan
2016-09-29  5:03 ` [PATCH net-next 2/8] net/ncsi: Introduce NCSI_RESERVED_CHANNEL Gavin Shan
2016-09-29  5:03 ` [PATCH net-next 3/8] net/ncsi: Don't probe on the reserved channel ID (0x1f) Gavin Shan
2016-09-29  5:03 ` [PATCH net-next 4/8] net/ncsi: Rework request index allocation Gavin Shan
2016-09-29  5:03 ` [PATCH net-next 5/8] net/ncsi: Allow to extend NCSI request properties Gavin Shan
2016-09-29  5:03 ` [PATCH net-next 6/8] net/ncsi: Rework the channel monitoring Gavin Shan
2016-09-29  5:03 ` [PATCH net-next 7/8] net/ncsi: Introduce ncsi_stop_dev() Gavin Shan
2016-09-29  5:03 ` [PATCH net-next 8/8] net/faraday: Stop NCSI device on shutdown Gavin Shan

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).