Lines Matching refs:fcoe_i

332 	u16 fcoe_i = 0;  in ixgbe_set_dcb_sriov_queues()  local
362 fcoe_i = (128 / __ALIGN_MASK(1, ~vmdq_m)) - vmdq_i; in ixgbe_set_dcb_sriov_queues()
396 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_dcb_sriov_queues()
398 if (fcoe_i) { in ixgbe_set_dcb_sriov_queues()
400 fcoe->indices = fcoe_i; in ixgbe_set_dcb_sriov_queues()
404 adapter->num_tx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
405 adapter->num_rx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
507 u16 fcoe_i = 0; in ixgbe_set_sriov_queues() local
538 fcoe_i = 128 - (vmdq_i * __ALIGN_MASK(1, ~vmdq_m)); in ixgbe_set_sriov_queues()
574 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
576 if (vmdq_i > 1 && fcoe_i) { in ixgbe_set_sriov_queues()
578 fcoe->indices = fcoe_i; in ixgbe_set_sriov_queues()
582 fcoe_i = min_t(u16, fcoe_i + rss_i, num_online_cpus()); in ixgbe_set_sriov_queues()
586 fcoe_i = rss_i; in ixgbe_set_sriov_queues()
589 fcoe->indices = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
590 fcoe->offset = fcoe_i - fcoe->indices; in ixgbe_set_sriov_queues()
592 fcoe_i -= rss_i; in ixgbe_set_sriov_queues()
596 adapter->num_tx_queues += fcoe_i; in ixgbe_set_sriov_queues()
597 adapter->num_rx_queues += fcoe_i; in ixgbe_set_sriov_queues()
669 u16 fcoe_i; in ixgbe_set_rss_queues() local
674 fcoe_i = min_t(u16, f->limit + rss_i, num_online_cpus()); in ixgbe_set_rss_queues()
675 fcoe_i = min_t(u16, fcoe_i, dev->num_tx_queues); in ixgbe_set_rss_queues()
679 fcoe_i = rss_i; in ixgbe_set_rss_queues()
682 f->indices = min_t(u16, fcoe_i, f->limit); in ixgbe_set_rss_queues()
683 f->offset = fcoe_i - f->indices; in ixgbe_set_rss_queues()
684 rss_i = max_t(u16, fcoe_i, rss_i); in ixgbe_set_rss_queues()