]> git.baikalelectronics.ru Git - kernel.git/commit
ncsi: Propagate carrier gain/loss events to the NCSI controller
authorJohnathan Mantey <johnathanx.mantey@intel.com>
Fri, 15 Sep 2023 16:12:35 +0000 (09:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 12:56:57 +0000 (14:56 +0200)
commit97788f0757bd028f4f3eece5b113966de6f60a17
tree07a9500416542d0df877c17779218c5977188888
parentc93aa8cfaec493e21aed78438f7cfb341fdaec12
ncsi: Propagate carrier gain/loss events to the NCSI controller

[ Upstream commit 3780bb29311eccb7a1c9641032a112eed237f7e3 ]

Report the carrier/no-carrier state for the network interface
shared between the BMC and the passthrough channel. Without this
functionality the BMC is unable to reconfigure the NIC in the event
of a re-cabling to a different subnet.

Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ncsi/ncsi-aen.c