]> www.infradead.org Git - linux-platform-drivers-x86.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)
commit6b7027689890c590373fc58f362fae43d0517e21
tree291bb7248ae932d03725df4f5829c40b5432464c
parentdd85fc0ab5b4daa496bd3e2832b51963022182d0
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