[PATCH 0/8] NSCI Improvement

Gavin Shan gwshan at linux.vnet.ibm.com
Mon May 9 11:47:11 AEST 2016


This series bases on branch dev-4.4. Couple of things are improved as below:

   * Remove netlink stuff as nobody starts to use it. Lets focus on the core
     for now.
   * The available packages and channels are enumerated for once when user
     brings up the network interface for the first time. Afterwords, less
     time (3 to 4 seconds) are reduced to bring up the interface.
   * Explicitly enable AEN that is disabled by default.
   * The LSC (Link Status Change) AEN handler helps switching active channel
     properly after the packet can be received without problem. In order to
     listen for ingress AEN packet, the MAC has to be ready for reception
     after the interface is brought up.

This series is to fix the bug: https://github.com/openbmc/linux/issues/61
With this series applied (based on dev-4.4), it should fix the issue. Note
that I had the test on palm4-bmc.

   * From uboot, download the kernel image;
   * Unplug the ethernet cable;
   * From uboot, boot the kernel image;
   * Configure the ethernet interface when the kernel boots up completely.
     The NCSI interface should be down;
   * Plug the cable, the NCSI interface is up automatically. The interface
     is pingable from external. 

Gavin Shan (8):
  net/ncsi: Remove netlink support
  net/ncsi: Add NCSI_DEV_PRIV_FLAG_POPULATED
  net/ncsi: Enumerate NCSI channels in advance
  net/ncsi: Remove ncsi_stop_dev()
  net/ncsi: Enable AEN on active channel
  net/ncsi: Improvement for ncsi_dev_suspend()
  net/farady: Keep MAC always active for NCSI packets
  net/ncsi: LSC AEN handler improvement

 drivers/net/ethernet/faraday/ftgmac100.c |   21 +-
 include/net/ncsi.h                       |   10 +-
 include/uapi/linux/netlink.h             |    1 -
 net/ncsi/Makefile                        |    2 +-
 net/ncsi/internal.h                      |   36 +-
 net/ncsi/ncsi-aen.c                      |    6 +-
 net/ncsi/ncsi-cmd.c                      |    8 -
 net/ncsi/ncsi-manage.c                   |  226 ++++---
 net/ncsi/ncsi-netlink.c                  | 1042 ------------------------------
 net/ncsi/ncsi-rsp.c                      |    7 +-
 net/ncsi/ncsi.c                          |   49 --
 11 files changed, 134 insertions(+), 1274 deletions(-)
 delete mode 100644 net/ncsi/ncsi-netlink.c
 delete mode 100644 net/ncsi/ncsi.c

-- 
2.1.0



More information about the openbmc mailing list