net/ncsi: Add NCSI Broadcom OEM command
authorVijay Khemka <vijaykhemka@fb.com>
Tue, 16 Oct 2018 19:13:19 +0000 (12:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Oct 2018 05:14:54 +0000 (22:14 -0700)
commitcb10c7c0dfd9e6fd3d69ced98b05cbd198c48cf6
tree937a12372c7962c90d4c27863225ea615267e362
parent1010c17ec5b496b54785dfb96f739d0f880484b3
net/ncsi: Add NCSI Broadcom OEM command

This patch adds OEM Broadcom commands and response handling. It also
defines OEM Get MAC Address handler to get and configure the device.

ncsi_oem_gma_handler_bcm: This handler send NCSI broadcom command for
getting mac address.
ncsi_rsp_handler_oem_bcm: This handles response received for all
broadcom OEM commands.
ncsi_rsp_handler_oem_bcm_gma: This handles get mac address response and
set it to device.

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