Home
last modified time | relevance | path

Searched refs:new_rx_count (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_ethtool.c53 u32 new_rx_count, new_tx_count; in ngbe_set_ringparam() local
60 new_rx_count = clamp_t(u32, ring->rx_pending, WX_MIN_RXD, WX_MAX_RXD); in ngbe_set_ringparam()
61 new_rx_count = ALIGN(new_rx_count, WX_REQ_RX_DESCRIPTOR_MULTIPLE); in ngbe_set_ringparam()
64 new_rx_count == wx->rx_ring_count) in ngbe_set_ringparam()
75 wx->rx_ring[i]->count = new_rx_count; in ngbe_set_ringparam()
77 wx->rx_ring_count = new_rx_count; in ngbe_set_ringparam()
92 wx_set_ring(wx, new_tx_count, new_rx_count, temp_ring); in ngbe_set_ringparam()
/linux/drivers/net/ethernet/intel/igbvf/
H A Dethtool.c201 u32 new_rx_count, new_tx_count; in igbvf_set_ringparam() local
206 new_rx_count = max_t(u32, ring->rx_pending, IGBVF_MIN_RXD); in igbvf_set_ringparam()
207 new_rx_count = min_t(u32, new_rx_count, IGBVF_MAX_RXD); in igbvf_set_ringparam()
208 new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); in igbvf_set_ringparam()
215 (new_rx_count == adapter->rx_ring->count)) { in igbvf_set_ringparam()
225 adapter->rx_ring->count = new_rx_count; in igbvf_set_ringparam()
254 if (new_rx_count != adapter->rx_ring->count) { in igbvf_set_ringparam()
257 temp_ring->count = new_rx_count; in igbvf_set_ringparam()
[all...]
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_ethtool.c46 u32 new_rx_count, new_tx_count; in txgbe_set_ringparam() local
53 new_rx_count = clamp_t(u32, ring->rx_pending, WX_MIN_RXD, WX_MAX_RXD); in txgbe_set_ringparam()
54 new_rx_count = ALIGN(new_rx_count, WX_REQ_RX_DESCRIPTOR_MULTIPLE); in txgbe_set_ringparam()
57 new_rx_count == wx->rx_ring_count) in txgbe_set_ringparam()
68 wx->rx_ring[i]->count = new_rx_count; in txgbe_set_ringparam()
70 wx->rx_ring_count = new_rx_count; in txgbe_set_ringparam()
85 wx_set_ring(wx, new_tx_count, new_rx_count, temp_ring); in txgbe_set_ringparam()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c529 u32 new_rx_count, new_tx_count; in fm10k_set_ringparam() local
538 new_rx_count = clamp_t(u32, ring->rx_pending, in fm10k_set_ringparam()
540 new_rx_count = ALIGN(new_rx_count, FM10K_REQ_RX_DESCRIPTOR_MULTIPLE); in fm10k_set_ringparam()
543 (new_rx_count == interface->rx_ring_count)) { in fm10k_set_ringparam()
555 interface->rx_ring[i]->count = new_rx_count; in fm10k_set_ringparam()
557 interface->rx_ring_count = new_rx_count; in fm10k_set_ringparam()
604 if (new_rx_count != interface->rx_ring_count) { in fm10k_set_ringparam()
609 temp_ring[i].count = new_rx_count; in fm10k_set_ringparam()
627 interface->rx_ring_count = new_rx_count; in fm10k_set_ringparam()
[all...]
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.h40 u32 new_rx_count, struct wx_ring *temp_ring);
H A Dwx_lib.c3042 u32 new_rx_count, struct wx_ring *temp_ring) in wx_set_ring() argument
3079 if (new_rx_count != wx->rx_ring_count) { in wx_set_ring()
3084 temp_ring[i].count = new_rx_count; in wx_set_ring()
3102 wx->rx_ring_count = new_rx_count; in wx_set_ring()
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c621 u32 new_rx_count, new_tx_count; in idpf_set_ringparam() local
647 new_rx_count = ALIGN(ring->rx_pending, IDPF_REQ_RXQ_DESC_MULTIPLE); in idpf_set_ringparam()
648 if (new_rx_count != ring->rx_pending) in idpf_set_ringparam()
650 new_rx_count); in idpf_set_ringparam()
658 new_rx_count == vport->rxq_desc_count && in idpf_set_ringparam()
672 config_data->num_req_rxq_desc = new_rx_count; in idpf_set_ringparam()
679 IDPF_RX_BUFQ_DESC_COUNT(new_rx_count, in idpf_set_ringparam()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c494 u32 new_rx_count, new_tx_count; in iavf_set_ringparam() local
515 new_rx_count = ALIGN(ring->rx_pending, IAVF_REQ_DESCRIPTOR_MULTIPLE); in iavf_set_ringparam()
516 if (new_rx_count != ring->rx_pending) in iavf_set_ringparam()
518 new_rx_count); in iavf_set_ringparam()
522 (new_rx_count == adapter->rx_desc_count)) { in iavf_set_ringparam()
533 if (new_rx_count != adapter->rx_desc_count) { in iavf_set_ringparam()
535 adapter->rx_desc_count, new_rx_count); in iavf_set_ringparam()
536 adapter->rx_desc_count = new_rx_count; in iavf_set_ringparam()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c666 u16 new_rx_count, new_tx_count; in e1000_set_ringparam() local
671 new_rx_count = clamp_t(u32, ring->rx_pending, E1000_MIN_RXD, in e1000_set_ringparam()
673 new_rx_count = ALIGN(new_rx_count, REQ_RX_DESCRIPTOR_MULTIPLE); in e1000_set_ringparam()
680 (new_rx_count == adapter->rx_ring_count)) in e1000_set_ringparam()
690 adapter->rx_ring->count = new_rx_count; in e1000_set_ringparam()
692 adapter->rx_ring_count = new_rx_count; in e1000_set_ringparam()
697 set_rx = (new_rx_count != adapter->rx_ring_count); in e1000_set_ringparam()
730 temp_rx->count = new_rx_count; in e1000_set_ringparam()
745 adapter->rx_ring_count = new_rx_count; in e1000_set_ringparam()
[all...]
/linux/drivers/net/
H A Dveth.c1300 unsigned int old_rx_count, new_rx_count; in veth_set_channels() local
1319 new_rx_count = ch->rx_count; in veth_set_channels()
1327 err = veth_enable_range_safe(dev, old_rx_count, new_rx_count); in veth_set_channels()
1347 new_rx_count, old_rx_count, err2); in veth_set_channels()
1357 veth_disable_range_safe(dev, new_rx_count, old_rx_count); in veth_set_channels()
1371 new_rx_count = old_rx_count; in veth_set_channels()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1243 u32 new_rx_count, new_tx_count; in ixgbe_set_ringparam() local
1252 new_rx_count = clamp_t(u32, ring->rx_pending, in ixgbe_set_ringparam()
1254 new_rx_count = ALIGN(new_rx_count, IXGBE_REQ_RX_DESCRIPTOR_MULTIPLE); in ixgbe_set_ringparam()
1257 (new_rx_count == adapter->rx_ring_count)) { in ixgbe_set_ringparam()
1271 adapter->rx_ring[i]->count = new_rx_count; in ixgbe_set_ringparam()
1274 adapter->rx_ring_count = new_rx_count; in ixgbe_set_ringparam()
1344 if (new_rx_count != adapter->rx_ring_count) { in ixgbe_set_ringparam()
1353 temp_ring[i].count = new_rx_count; in ixgbe_set_ringparam()
1372 adapter->rx_ring_count = new_rx_count; in ixgbe_set_ringparam()
[all...]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c2063 u32 new_rx_count, new_tx_count, max_num_descriptors; in i40e_set_ringparam() local
2089 new_rx_count = ALIGN(ring->rx_pending, I40E_REQ_DESCRIPTOR_MULTIPLE); in i40e_set_ringparam()
2093 (new_rx_count == vsi->rx_rings[0]->count)) in i40e_set_ringparam()
2114 vsi->rx_rings[i]->count = new_rx_count; in i40e_set_ringparam()
2119 vsi->num_rx_desc = new_rx_count; in i40e_set_ringparam()
2170 if (new_rx_count != vsi->rx_rings[0]->count) { in i40e_set_ringparam()
2173 vsi->rx_rings[0]->count, new_rx_count); in i40e_set_ringparam()
2186 rx_rings[i].count = new_rx_count; in i40e_set_ringparam()
2257 vsi->num_rx_desc = new_rx_count; in i40e_set_ringparam()