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>
Showing
- include/uapi/linux/if_ether.h 1 addition, 0 deletionsinclude/uapi/linux/if_ether.h
- net/ncsi/Makefile 1 addition, 1 deletionnet/ncsi/Makefile
- net/ncsi/internal.h 19 additions, 0 deletionsnet/ncsi/internal.h
- net/ncsi/ncsi-cmd.c 367 additions, 0 deletionsnet/ncsi/ncsi-cmd.c
- net/ncsi/ncsi-pkt.h 171 additions, 0 deletionsnet/ncsi/ncsi-pkt.h
Loading
Please register or sign in to comment