[PATCH 0/2] Improve NCSI driver logging

Samuel Mendoza-Jonas sam at mendozajonas.com
Mon Nov 6 14:13:21 AEDT 2017


The NCSI driver has next to no logging at all, with some of the only useful
logs actually coming from the ftgmac100 driver as link up/down messages.

Add a great deal more logging to the NCSI driver, tracking channel state and
selection, link events, and so on. Patch 1 has no functional changes, and
Patch 2 sends a Get-Parameters command during configuration to sanity check the
current channel.

A form of this will go upstream (the log levels probably need some tweaking),
but this iteration is being sent to OpenBMC to assist people currently
debugging a few network issues in the ftgmac100/NCSI/Broadcom area.

Samuel Mendoza-Jonas (2):
  net/ncsi: General state debugging
  net/ncsi: Query channel parameters during configuration

 net/ncsi/internal.h    |  1 +
 net/ncsi/ncsi-aen.c    | 34 ++++++++++++++++++---
 net/ncsi/ncsi-manage.c | 83 +++++++++++++++++++++++++++++++++++++++++++-------
 net/ncsi/ncsi-rsp.c    | 31 ++++++++++++++++++-
 4 files changed, 133 insertions(+), 16 deletions(-)

-- 
2.14.3



More information about the openbmc mailing list