commit | 702d5011ab5e7b9afe44058d33a89d1501645a10 | [log] [tgz] |
---|---|---|
author | Michael Chan <michael.chan@broadcom.com> | Thu Aug 29 23:54:50 2019 -0400 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 30 14:02:18 2019 -0700 |
tree | 07da95566dc6ee94073da1a412ec7fda45810027 | |
parent | ba642ab773db97c32293547485f562d2dfc06666 [diff] |
bnxt_en: Refactor bnxt_sriov_enable(). Refactor the hardware/firmware configuration portion in bnxt_sriov_enable() into a new function bnxt_cfg_hw_sriov(). This new function can be called after a firmware reset to reconfigure the VFs previously enabled. v2: straight refactor of the code. Reordering done in the next patch. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>