]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb7fbb169a2ec2360638b44bf35e6fafabc79500
tree4f872ada7c3c6975931b50c6559adef1751610bf
parentc8b80bf63b27ed012a2eabdfb71a10fb1f256668
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]