Lines Matching refs:fcoe_i

327 	u16 fcoe_i = 0;  in ixgbe_set_dcb_sriov_queues()  local
357 fcoe_i = (128 / __ALIGN_MASK(1, ~vmdq_m)) - vmdq_i; in ixgbe_set_dcb_sriov_queues()
391 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_dcb_sriov_queues()
393 if (fcoe_i) { in ixgbe_set_dcb_sriov_queues()
395 fcoe->indices = fcoe_i; in ixgbe_set_dcb_sriov_queues()
399 adapter->num_tx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
400 adapter->num_rx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
502 u16 fcoe_i = 0; in ixgbe_set_sriov_queues() local
533 fcoe_i = 128 - (vmdq_i * __ALIGN_MASK(1, ~vmdq_m)); in ixgbe_set_sriov_queues()
569 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
571 if (vmdq_i > 1 && fcoe_i) { in ixgbe_set_sriov_queues()
573 fcoe->indices = fcoe_i; in ixgbe_set_sriov_queues()
577 fcoe_i = min_t(u16, fcoe_i + rss_i, num_online_cpus()); in ixgbe_set_sriov_queues()
581 fcoe_i = rss_i; in ixgbe_set_sriov_queues()
584 fcoe->indices = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
585 fcoe->offset = fcoe_i - fcoe->indices; in ixgbe_set_sriov_queues()
587 fcoe_i -= rss_i; in ixgbe_set_sriov_queues()
591 adapter->num_tx_queues += fcoe_i; in ixgbe_set_sriov_queues()
592 adapter->num_rx_queues += fcoe_i; in ixgbe_set_sriov_queues()
664 u16 fcoe_i; in ixgbe_set_rss_queues() local
669 fcoe_i = min_t(u16, f->limit + rss_i, num_online_cpus()); in ixgbe_set_rss_queues()
670 fcoe_i = min_t(u16, fcoe_i, dev->num_tx_queues); in ixgbe_set_rss_queues()
674 fcoe_i = rss_i; in ixgbe_set_rss_queues()
677 f->indices = min_t(u16, fcoe_i, f->limit); in ixgbe_set_rss_queues()
678 f->offset = fcoe_i - f->indices; in ixgbe_set_rss_queues()
679 rss_i = max_t(u16, fcoe_i, rss_i); in ixgbe_set_rss_queues()