]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46d15b930af3d2199580622d93ad3cdef85f5110
treea2ae3a2862a8e724231de15f8e0582437fd877d3
parent305c08a53e0a742edff974d8ee30a53928d17fd3
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