sfc: attach/detach EF100 representors along with their owning PF
authorEdward Cree <ecree.xilinx@gmail.com>
Wed, 20 Jul 2022 18:33:49 +0000 (19:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Jul 2022 11:50:06 +0000 (12:50 +0100)
commit84e7fc2591f72987b43da91b3fdb01a196204379
treefd549f83fe8bf945f1a156eb0ef646a1f7625e60
parentf72c38fad234759fe943cb2e40bf3d0f7de1d4d9
sfc: attach/detach EF100 representors along with their owning PF

Since representors piggy-back on the PF's queues for TX, they can
 only accept new TXes while the PF is up.  Thus, any operation which
 detaches the PF must first detach all its VFreps.

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef100_netdev.c
drivers/net/ethernet/sfc/ef100_rep.c
drivers/net/ethernet/sfc/efx.h
drivers/net/ethernet/sfc/efx_common.c
drivers/net/ethernet/sfc/efx_common.h