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

This introduces NCSI AEN packet handlers that result in (A) the
currently active channel is reconfigured; (B) Currently active
channel is deconfigured and disabled, another channel is chosen
as active one and configured. Case (B) won't happen if hardware
arbitration has been enabled, the channel that was in active
state is suspended simply.

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>
net/ncsi/Makefile
net/ncsi/internal.h
net/ncsi/ncsi-aen.c [new file with mode: 0644]
net/ncsi/ncsi-pkt.h
net/ncsi/ncsi-rsp.c