]> git.baikalelectronics.ru Git - kernel.git/commit
net/ncsi: Add NCSI OEM command support
authorVijay Khemka <vijaykhemka@fb.com>
Fri, 5 Oct 2018 17:46:01 +0000 (10:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 21:54:47 +0000 (14:54 -0700)
commitee912e175a526ef8bba574a298056e66ee9fb634
treebf3176bd5f28d89058a23f3b88ebdf165bd1dad5
parent979c48a8e1daf0a4ba7c7c5eb5fd68a4219ecbd7
net/ncsi: Add NCSI OEM command support

This patch adds OEM commands and response handling. It also defines OEM
command and response structure as per NCSI specification along with its
handlers.

ncsi_cmd_handler_oem: This is a generic command request handler for OEM
commands
ncsi_rsp_handler_oem: This is a generic response handler for OEM commands

Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Reviewed-by: Justin Lee <justin.lee1@dell.com>
Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ncsi/internal.h
net/ncsi/ncsi-cmd.c
net/ncsi/ncsi-pkt.h
net/ncsi/ncsi-rsp.c