]> 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)
commit570ec8e5227bcef5399f6b1ddfaca715754b2b1e
treefd549f83fe8bf945f1a156eb0ef646a1f7625e60
parent64094293a08c32115e91041d9d1ea3c088cf77c1
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