]> git.baikalelectronics.ru Git - kernel.git/commit
net/ncsi: Don't take any action on HNCDSC AEN
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Fri, 15 Dec 2017 05:16:40 +0000 (16:16 +1100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Dec 2017 19:50:11 +0000 (14:50 -0500)
commit8e89cb03f65ef4bd0e6f64544960bc51a01fe7fc
tree328d75bf43e0f9f403fca2323e8d827cac200b43
parenteddc18057e059a640c47dd91c6d1aa6a40028d9a
net/ncsi: Don't take any action on HNCDSC AEN

The current HNCDSC handler takes the status flag from the AEN packet and
will update or change the current channel based on this flag and the
current channel status.

However the flag from the HNCDSC packet merely represents the host link
state. While the state of the host interface is potentially interesting
information it should not affect the state of the NCSI link. Indeed the
NCSI specification makes no mention of any recommended action related to
the host network controller driver state.

Update the HNCDSC handler to record the host network driver status but
take no other action.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ncsi/ncsi-aen.c