netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gavin Shan <gwshan@linux.vnet.ibm.com>
To: netdev@vger.kernel.org
Cc: benh@kernel.crashing.org, davem@davemloft.net,
	Gavin Shan <gwshan@linux.vnet.ibm.com>
Subject: [PATCH RFC v1 0/7] NCSI Support
Date: Tue,  6 Oct 2015 14:09:42 +1100	[thread overview]
Message-ID: <1444100989-3437-1-git-send-email-gwshan@linux.vnet.ibm.com> (raw)

This patchset is prototype requesting for comments.

This series of patches intends to support NCSI stack, which is specified by
DSP0222. One NCSI enabled interface potentially connects to multiple packages
and channels, but there is one active channel at once when hardware arbitration
is disabled. No hardware arbitration isn't supported by this patchset:

   * NIC driver registers NCSI device when the network device is registered. The
     NCSI device should be started when bringing up the interface so that the
     active channel can be choosed from the available channels and starts to provide
     service.
   * When NCSI AEN packet is received from currently active channel for sake of
     failure, another active channel is tried to choosed to accomplish the failover.
   * Reserved netlink interface for NCSI is supported so that userland can retrieve
     NCSI information or configure from/to NCSI channels.
   * The first user of NCSI stack is faraday driver (ftgmac100.c).

Gavin Shan (7):
  net/ncsi: Resource management
  net/ncsi: Packet handler
  net/ncsi: Manage NCSI device
  net/ncsi: Netlink support
  net/faraday: Replace use_nc_si with use_ncsi
  net/faraday: Enable NCSI interface
  net/faraday: Enable offload checksum according to device-tree

 drivers/net/ethernet/faraday/ftgmac100.c |  109 ++-
 include/net/ncsi.h                       |   59 ++
 include/uapi/linux/if_ether.h            |    1 +
 include/uapi/linux/ncsi.h                |  200 +++++
 include/uapi/linux/netlink.h             |    1 +
 net/Kconfig                              |    1 +
 net/Makefile                             |    1 +
 net/ncsi/Kconfig                         |   10 +
 net/ncsi/Makefile                        |    5 +
 net/ncsi/internal.h                      |  165 +++++
 net/ncsi/ncsi-aen.c                      |  197 +++++
 net/ncsi/ncsi-cmd.c                      |  380 ++++++++++
 net/ncsi/ncsi-manage.c                   |  914 +++++++++++++++++++++++
 net/ncsi/ncsi-netlink.c                  | 1042 ++++++++++++++++++++++++++
 net/ncsi/ncsi-pkt.h                      |  391 ++++++++++
 net/ncsi/ncsi-rsp.c                      | 1167 ++++++++++++++++++++++++++++++
 net/ncsi/ncsi.c                          |   49 ++
 17 files changed, 4661 insertions(+), 31 deletions(-)
 create mode 100644 include/net/ncsi.h
 create mode 100644 include/uapi/linux/ncsi.h
 create mode 100644 net/ncsi/Kconfig
 create mode 100644 net/ncsi/Makefile
 create mode 100644 net/ncsi/internal.h
 create mode 100644 net/ncsi/ncsi-aen.c
 create mode 100644 net/ncsi/ncsi-cmd.c
 create mode 100644 net/ncsi/ncsi-manage.c
 create mode 100644 net/ncsi/ncsi-netlink.c
 create mode 100644 net/ncsi/ncsi-pkt.h
 create mode 100644 net/ncsi/ncsi-rsp.c
 create mode 100644 net/ncsi/ncsi.c

-- 
2.1.0

             reply	other threads:[~2015-10-06  3:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06  3:09 Gavin Shan [this message]
2015-10-06  3:09 ` [PATCH RFC v1 1/7] net/ncsi: Resource management Gavin Shan
2015-10-06  3:09 ` [PATCH RFC v1 2/7] net/ncsi: Packet handler Gavin Shan
2015-10-06  3:09 ` [PATCH RFC v1 3/7] net/ncsi: Manage NCSI device Gavin Shan
2015-10-06  3:09 ` [PATCH RFC v1 4/7] net/ncsi: Netlink support Gavin Shan
2015-10-06  3:09 ` [PATCH RFC v1 5/7] net/faraday: Replace use_nc_si with use_ncsi Gavin Shan
2015-10-06  3:09 ` [PATCH RFC v1 6/7] net/faraday: Enable NCSI interface Gavin Shan
2015-10-06  3:09 ` [PATCH RFC v1 7/7] net/faraday: Enable offload checksum according to device-tree Gavin Shan
2015-10-06 14:19   ` Sergei Shtylyov
2015-10-06 23:19     ` Gavin Shan
2015-10-06 23:03 ` [PATCH RFC v1 0/7] NCSI Support Gavin Shan
2015-11-09  0:12 ` Gavin Shan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444100989-3437-1-git-send-email-gwshan@linux.vnet.ibm.com \
    --to=gwshan@linux.vnet.ibm.com \
    --cc=benh@kernel.crashing.org \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).