]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit323ac96f0687367dc9755f2d30ad62f75cbe37aa
treefd549f83fe8bf945f1a156eb0ef646a1f7625e60
parenteddb9cf2ed5385722aca93087f84273d1369e7b2
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