Lines Matching refs:fcoe
20 struct ixgbe_ring_feature *fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_cache_ring_dcb_sriov() local
61 if (fcoe->offset < tcs) in ixgbe_cache_ring_dcb_sriov()
65 if (fcoe->indices) { in ixgbe_cache_ring_dcb_sriov()
70 for (i = fcoe->offset; i < adapter->num_rx_queues; i++) { in ixgbe_cache_ring_dcb_sriov()
78 for (i = fcoe->offset; i < adapter->num_tx_queues; i++) { in ixgbe_cache_ring_dcb_sriov()
186 struct ixgbe_ring_feature *fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_cache_ring_sriov() local
203 if (fcoe->offset && (i > fcoe->offset)) in ixgbe_cache_ring_sriov()
227 if (fcoe->offset && (i > fcoe->offset)) in ixgbe_cache_ring_sriov()
390 struct ixgbe_ring_feature *fcoe; in ixgbe_set_dcb_sriov_queues() local
392 fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_set_dcb_sriov_queues()
395 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_dcb_sriov_queues()
399 fcoe->indices = fcoe_i; in ixgbe_set_dcb_sriov_queues()
400 fcoe->offset = vmdq_i * tcs; in ixgbe_set_dcb_sriov_queues()
407 fcoe->indices = 1; in ixgbe_set_dcb_sriov_queues()
408 fcoe->offset = ixgbe_fcoe_get_tc(adapter); in ixgbe_set_dcb_sriov_queues()
412 fcoe->indices = 0; in ixgbe_set_dcb_sriov_queues()
413 fcoe->offset = 0; in ixgbe_set_dcb_sriov_queues()
568 struct ixgbe_ring_feature *fcoe; in ixgbe_set_sriov_queues() local
570 fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_set_sriov_queues()
573 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
577 fcoe->indices = fcoe_i; in ixgbe_set_sriov_queues()
578 fcoe->offset = vmdq_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()