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

The NCSI command packets are sent from MC (Management Controller)
to remote end. They are used for multiple purposes: probe existing
NCSI package/channel, retrieve NCSI channel's capability, configure
NCSI channel etc.

This defines struct to represent NCSI command packets and introduces
function ncsi_xmit_cmd(), which will be used to transmit NCSI command
packet according to the request. The request is represented by struct
ncsi_cmd_arg.

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>
include/uapi/linux/if_ether.h
net/ncsi/Makefile
net/ncsi/internal.h
net/ncsi/ncsi-cmd.c [new file with mode: 0644]
net/ncsi/ncsi-pkt.h [new file with mode: 0644]