Home
last modified time | relevance | path

Searched refs:RING_F_VMDQ (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c47 struct ixgbe_ring_feature *vmdq = &adapter->ring_feature[RING_F_VMDQ]; in ixgbe_cache_ring_dcb_sriov()
208 struct ixgbe_ring_feature *vmdq = &adapter->ring_feature[RING_F_VMDQ]; in ixgbe_cache_ring_sriov()
329 u16 vmdq_i = adapter->ring_feature[RING_F_VMDQ].limit; in ixgbe_set_dcb_sriov_queues()
345 vmdq_i += adapter->ring_feature[RING_F_VMDQ].offset; in ixgbe_set_dcb_sriov_queues()
363 vmdq_i -= adapter->ring_feature[RING_F_VMDQ].offset; in ixgbe_set_dcb_sriov_queues()
366 adapter->ring_feature[RING_F_VMDQ].indices = vmdq_i; in ixgbe_set_dcb_sriov_queues()
367 adapter->ring_feature[RING_F_VMDQ].mask = vmdq_m; in ixgbe_set_dcb_sriov_queues()
497 u16 vmdq_i = adapter->ring_feature[RING_F_VMDQ].limit; in ixgbe_set_sriov_queues()
511 vmdq_i += adapter->ring_feature[RING_F_VMDQ].offset; in ixgbe_set_sriov_queues()
534 vmdq_i -= adapter->ring_feature[RING_F_VMDQ].offset; in ixgbe_set_sriov_queues()
[all …]
Dixgbe_sriov.c60 if (!adapter->ring_feature[RING_F_VMDQ].limit) in __ixgbe_enable_sriov()
61 adapter->ring_feature[RING_F_VMDQ].limit = 1; in __ixgbe_enable_sriov()
62 adapter->ring_feature[RING_F_VMDQ].offset = adapter->num_vfs; in __ixgbe_enable_sriov()
228 if (adapter->ring_feature[RING_F_VMDQ].limit == 1) { in ixgbe_disable_sriov()
237 adapter->ring_feature[RING_F_VMDQ].offset = 0; in ixgbe_disable_sriov()
634 struct ixgbe_ring_feature *vmdq = &adapter->ring_feature[RING_F_VMDQ]; in ixgbe_write_qde()
653 struct ixgbe_ring_feature *vmdq = &adapter->ring_feature[RING_F_VMDQ]; in ixgbe_vf_reset_msg()
921 struct ixgbe_ring_feature *vmdq = &adapter->ring_feature[RING_F_VMDQ]; in ixgbe_get_vf_queues()
1262 struct ixgbe_ring_feature *vmdq = &adapter->ring_feature[RING_F_VMDQ]; in ixgbe_set_vf_rate_limit()
Dixgbe.h137 #define VMDQ_P(p) ((p) + adapter->ring_feature[RING_F_VMDQ].offset)
296 RING_F_VMDQ, /* SR-IOV uses the same ring feature */ enumerator
Dixgbe_main.c3625 switch (adapter->ring_feature[RING_F_VMDQ].mask) { in ixgbe_configure_virtualization()
4819 switch (adapter->ring_feature[RING_F_VMDQ].mask) { in ixgbe_setup_gpie()
6430 struct ixgbe_ring_feature *vmdq = &adapter->ring_feature[RING_F_VMDQ]; in ixgbe_vf_tx_pending()
8105 adapter->ring_feature[RING_F_VMDQ].limit = limit + 1; in ixgbe_fwd_add()
8139 adapter->ring_feature[RING_F_VMDQ].limit = limit + 1; in ixgbe_fwd_del()