net/ncsi: NCSI response packet handler
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 19 Jul 2016 01:54:18 +0000 (11:54 +1000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Jul 2016 03:49:17 +0000 (20:49 -0700)
commit138635cc27c9737f940c3aa80912ff7a61c825af
tree4f872ada7c3c6975931b50c6559adef1751610bf
parent6389eaa7fa9c3ee6c7d39f6087b86660d17236ac
net/ncsi: NCSI response packet handler

The NCSI response packets are sent to MC (Management Controller)
from the remote end. They are responses of NCSI command packets
for multiple purposes: completion status of NCSI command packets,
return NCSI channel's capability or configuration etc.

This defines struct to represent NCSI response packets and introduces
function ncsi_rcv_rsp() which will be used to receive NCSI response
packets and parse them.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ncsi/Makefile
net/ncsi/internal.h
net/ncsi/ncsi-pkt.h
net/ncsi/ncsi-rsp.c [new file with mode: 0644]