Skip to content
Commit 06a72bbf authored by Jonathan Cooper's avatar Jonathan Cooper Committed by Greg Kroah-Hartman
Browse files

sfc: Split STATE_READY in to STATE_NET_DOWN and STATE_NET_UP.



[ Upstream commit 813cf9d1 ]

This patch splits the READY state in to NET_UP and NET_DOWN. This
is to prepare for future work to delay resource allocation until
interface up so that we can use resources more efficiently in
SRIOV environments, and also to lay the ground work for an extra
PROBED state where we don't create a network interface,
for VDPA operation.

Signed-off-by: default avatarJonathan Cooper <jonathan.s.cooper@amd.com>
Acked-by: default avatarMartin Habets <habetsm.xilinx@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: a80bb8e7 ("sfc: Fix use-after-free due to selftest_work")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b6dd232f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment