]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: allow VF config ops when PF is closed
authorEdwin Peer <edwin.peer@broadcom.com>
Sun, 25 Apr 2021 17:45:22 +0000 (13:45 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Apr 2021 01:37:38 +0000 (18:37 -0700)
commit18b4b016756471885242a6de56ac402b6747bfb3
tree291bb7248ae932d03725df4f5829c40b5432464c
parent553747cd8b22fefb99f4dbaf92a25047a76dca99
bnxt_en: allow VF config ops when PF is closed

It is perfectly legal for the stack to query and configure VFs via PF
NDOs while the NIC is administratively down.  Remove the unnecessary
check for the PF to be in open state.

Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c