Lines Matching refs:fcoe_i

331 	u16 fcoe_i = 0;  in ixgbe_set_dcb_sriov_queues()  local
361 fcoe_i = (128 / __ALIGN_MASK(1, ~vmdq_m)) - vmdq_i; in ixgbe_set_dcb_sriov_queues()
395 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_dcb_sriov_queues()
397 if (fcoe_i) { in ixgbe_set_dcb_sriov_queues()
399 fcoe->indices = fcoe_i; in ixgbe_set_dcb_sriov_queues()
403 adapter->num_tx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
404 adapter->num_rx_queues += fcoe_i; in ixgbe_set_dcb_sriov_queues()
506 u16 fcoe_i = 0; in ixgbe_set_sriov_queues() local
537 fcoe_i = 128 - (vmdq_i * __ALIGN_MASK(1, ~vmdq_m)); in ixgbe_set_sriov_queues()
573 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
575 if (vmdq_i > 1 && fcoe_i) { in ixgbe_set_sriov_queues()
577 fcoe->indices = fcoe_i; in ixgbe_set_sriov_queues()
581 fcoe_i = min_t(u16, fcoe_i + rss_i, num_online_cpus()); in ixgbe_set_sriov_queues()
585 fcoe_i = rss_i; in ixgbe_set_sriov_queues()
588 fcoe->indices = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
589 fcoe->offset = fcoe_i - fcoe->indices; in ixgbe_set_sriov_queues()
591 fcoe_i -= rss_i; in ixgbe_set_sriov_queues()
595 adapter->num_tx_queues += fcoe_i; in ixgbe_set_sriov_queues()
596 adapter->num_rx_queues += fcoe_i; in ixgbe_set_sriov_queues()
668 u16 fcoe_i; in ixgbe_set_rss_queues() local
673 fcoe_i = min_t(u16, f->limit + rss_i, num_online_cpus()); in ixgbe_set_rss_queues()
674 fcoe_i = min_t(u16, fcoe_i, dev->num_tx_queues); in ixgbe_set_rss_queues()
678 fcoe_i = rss_i; in ixgbe_set_rss_queues()
681 f->indices = min_t(u16, fcoe_i, f->limit); in ixgbe_set_rss_queues()
682 f->offset = fcoe_i - f->indices; in ixgbe_set_rss_queues()
683 rss_i = max_t(u16, fcoe_i, rss_i); in ixgbe_set_rss_queues()