]> asedeno.scripts.mit.edu Git - linux.git/commit
net/ncsi: Add NCSI Mellanox OEM command
authorVijay Khemka <vijaykhemka@fb.com>
Mon, 26 Nov 2018 21:49:04 +0000 (13:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Nov 2018 00:37:20 +0000 (16:37 -0800)
commit16e8c4ca21a238cdf0355475bf15bd72e92feb8f
tree74e7c21f748520d0028dfb76fdd2c7a210e854f9
parentbd7153bd83b806bfcc2e79b7a6f43aa653d06ef3
net/ncsi: Add NCSI Mellanox OEM command

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

ncsi_oem_gma_handler_mlx: This handler send NCSI mellanox command for
getting mac address.
ncsi_rsp_handler_oem_mlx: This handles response received for all
mellanox OEM commands.
ncsi_rsp_handler_oem_mlx_gma: This handles get mac address response and
set it to device.

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