mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-27 06:34:11 +08:00
4a21b49b34
We need to keep track of all resources, such as rx rings, tx rings, cmpl rings, rss contexts, stats contexts, vnics, after we have divided them for the VFs. Otherwise, subsequent ring changes on the PF may not work correctly. We adjust all max resources in struct bnxt_pf_info after they have been assigned to the VFs. There is no need to keep the separate max_pf_tx_rings and max_pf_rx_rings. When SR-IOV is disabled, we call bnxt_hwrm_func_qcaps() to restore the max resources for the PF. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
bnxt_ethtool.c | ||
bnxt_ethtool.h | ||
bnxt_fw_hdr.h | ||
bnxt_hsi.h | ||
bnxt_nvm_defs.h | ||
bnxt_sriov.c | ||
bnxt_sriov.h | ||
bnxt.c | ||
bnxt.h | ||
Makefile |