summaryrefslogtreecommitdiff
path: root/drivers/iommu/omap-iommu.c
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2015-12-27 18:19:26 -0500
committerDavid S. Miller <davem@davemloft.net>2015-12-28 00:57:28 -0500
commit4a21b49b34c01137a67bf0fe185c5d0fff747e4d (patch)
treec6649b5ef3fbbf28ad320565bd7825d7042b27dc /drivers/iommu/omap-iommu.c
parent92268c328a8dae4635b3deaca52a8ed329642219 (diff)
bnxt_en: Improve VF resource accounting.
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>
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
0 files changed, 0 insertions, 0 deletions