Lines Matching refs:fcoe_i

332 	u16 fcoe_i = 0;  in ixgbe_set_dcb_sriov_queues()  local
359 fcoe_i = (128 / __ALIGN_MASK(1, ~vmdq_m)) - vmdq_i; in ixgbe_set_dcb_sriov_queues()
392 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_dcb_sriov_queues()
394 if (fcoe_i) { in ixgbe_set_dcb_sriov_queues()
396 fcoe->indices = fcoe_i; in ixgbe_set_dcb_sriov_queues()
400 adapter->num_tx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
401 adapter->num_rx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
502 u16 fcoe_i = 0; in ixgbe_set_sriov_queues() local
530 fcoe_i = 128 - (vmdq_i * __ALIGN_MASK(1, ~vmdq_m)); in ixgbe_set_sriov_queues()
565 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
567 if (vmdq_i > 1 && fcoe_i) { in ixgbe_set_sriov_queues()
569 fcoe->indices = fcoe_i; in ixgbe_set_sriov_queues()
573 fcoe_i = min_t(u16, fcoe_i + rss_i, num_online_cpus()); in ixgbe_set_sriov_queues()
577 fcoe_i = rss_i; in ixgbe_set_sriov_queues()
580 fcoe->indices = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
581 fcoe->offset = fcoe_i - fcoe->indices; in ixgbe_set_sriov_queues()
583 fcoe_i -= rss_i; in ixgbe_set_sriov_queues()
587 adapter->num_tx_queues += fcoe_i; in ixgbe_set_sriov_queues()
588 adapter->num_rx_queues += fcoe_i; in ixgbe_set_sriov_queues()
643 u16 fcoe_i; in ixgbe_set_rss_queues() local
648 fcoe_i = min_t(u16, f->limit + rss_i, num_online_cpus()); in ixgbe_set_rss_queues()
649 fcoe_i = min_t(u16, fcoe_i, dev->num_tx_queues); in ixgbe_set_rss_queues()
653 fcoe_i = rss_i; in ixgbe_set_rss_queues()
656 f->indices = min_t(u16, fcoe_i, f->limit); in ixgbe_set_rss_queues()
657 f->offset = fcoe_i - f->indices; in ixgbe_set_rss_queues()
658 rss_i = max_t(u16, fcoe_i, rss_i); in ixgbe_set_rss_queues()