Searched refs:new_tx_count (Results 1 - 14 of 14) sorted by relevance

/linux-master/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_ethtool.c20 u32 new_rx_count, new_tx_count; local
24 new_tx_count = clamp_t(u32, ring->tx_pending, WX_MIN_TXD, WX_MAX_TXD);
25 new_tx_count = ALIGN(new_tx_count, WX_REQ_TX_DESCRIPTOR_MULTIPLE);
30 if (new_tx_count == wx->tx_ring_count &&
36 wx->tx_ring[i]->count = new_tx_count;
39 wx->tx_ring_count = new_tx_count;
53 wx_set_ring(wx, new_tx_count, new_rx_count, temp_ring);
/linux-master/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_ethtool.c53 u32 new_rx_count, new_tx_count; local
57 new_tx_count = clamp_t(u32, ring->tx_pending, WX_MIN_TXD, WX_MAX_TXD);
58 new_tx_count = ALIGN(new_tx_count, WX_REQ_TX_DESCRIPTOR_MULTIPLE);
63 if (new_tx_count == wx->tx_ring_count &&
69 wx->tx_ring[i]->count = new_tx_count;
72 wx->tx_ring_count = new_tx_count;
86 wx_set_ring(wx, new_tx_count, new_rx_count, temp_ring);
/linux-master/drivers/net/ethernet/intel/igbvf/
H A Dethtool.c200 u32 new_rx_count, new_tx_count; local
209 new_tx_count = max_t(u32, ring->tx_pending, IGBVF_MIN_TXD);
210 new_tx_count = min_t(u32, new_tx_count, IGBVF_MAX_TXD);
211 new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE);
213 if ((new_tx_count == adapter->tx_ring->count) &&
223 adapter->tx_ring->count = new_tx_count;
240 if (new_tx_count != adapter->tx_ring->count) {
243 temp_ring->count = new_tx_count;
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dethtool.c243 u32 new_rx_count, new_tx_count; local
249 new_tx_count = max_t(u32, ring->tx_pending, IXGBEVF_MIN_TXD);
250 new_tx_count = min_t(u32, new_tx_count, IXGBEVF_MAX_TXD);
251 new_tx_count = ALIGN(new_tx_count, IXGBE_REQ_TX_DESCRIPTOR_MULTIPLE);
258 if ((new_tx_count == adapter->tx_ring_count) &&
267 adapter->tx_ring[i]->count = new_tx_count;
269 adapter->xdp_ring[i]->count = new_tx_count;
272 adapter->tx_ring_count = new_tx_count;
[all...]
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.h33 void wx_set_ring(struct wx *wx, u32 new_tx_count,
H A Dwx_lib.c2702 void wx_set_ring(struct wx *wx, u32 new_tx_count, argument
2712 if (new_tx_count != wx->tx_ring_count) {
2717 temp_ring[i].count = new_tx_count;
2736 wx->tx_ring_count = new_tx_count;
/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_ethtool.c529 u32 new_rx_count, new_tx_count; local
534 new_tx_count = clamp_t(u32, ring->tx_pending,
536 new_tx_count = ALIGN(new_tx_count, FM10K_REQ_TX_DESCRIPTOR_MULTIPLE);
542 if ((new_tx_count == interface->tx_ring_count) &&
553 interface->tx_ring[i]->count = new_tx_count;
556 interface->tx_ring_count = new_tx_count;
577 if (new_tx_count != interface->tx_ring_count) {
582 temp_ring[i].count = new_tx_count;
600 interface->tx_ring_count = new_tx_count;
[all...]
/linux-master/drivers/net/ethernet/intel/idpf/
H A Didpf_ethtool.c342 u32 new_rx_count, new_tx_count; local
373 new_tx_count = ALIGN(ring->tx_pending, IDPF_REQ_DESC_MULTIPLE);
374 if (new_tx_count != ring->tx_pending)
376 new_tx_count);
378 if (new_tx_count == vport->txq_desc_count &&
391 config_data->num_req_txq_desc = new_tx_count;
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c593 u16 new_rx_count, new_tx_count; local
603 new_tx_count = min_t(u32, ring->tx_pending, IGC_MAX_TXD);
604 new_tx_count = max_t(u16, new_tx_count, IGC_MIN_TXD);
605 new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE);
607 if (new_tx_count == adapter->tx_ring_count &&
618 adapter->tx_ring[i]->count = new_tx_count;
621 adapter->tx_ring_count = new_tx_count;
644 if (new_tx_count !
[all...]
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c630 u32 new_rx_count, new_tx_count; local
646 new_tx_count = ALIGN(ring->tx_pending, IAVF_REQ_DESCRIPTOR_MULTIPLE);
647 if (new_tx_count != ring->tx_pending)
649 new_tx_count);
657 if ((new_tx_count == adapter->tx_desc_count) &&
663 if (new_tx_count != adapter->tx_desc_count) {
665 adapter->tx_desc_count, new_tx_count);
666 adapter->tx_desc_count = new_tx_count;
/linux-master/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c687 u16 new_rx_count, new_tx_count; local
696 new_tx_count = clamp_t(u32, ring->tx_pending, E1000_MIN_TXD,
698 new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE);
700 if ((new_tx_count == adapter->tx_ring_count) &&
710 adapter->tx_ring->count = new_tx_count;
712 adapter->tx_ring_count = new_tx_count;
717 set_tx = (new_tx_count != adapter->tx_ring_count);
746 temp_tx->count = new_tx_count;
763 adapter->tx_ring_count = new_tx_count;
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ethtool.c1181 u32 new_rx_count, new_tx_count; local
1186 new_tx_count = clamp_t(u32, ring->tx_pending,
1188 new_tx_count = ALIGN(new_tx_count, IXGBE_REQ_TX_DESCRIPTOR_MULTIPLE);
1194 if ((new_tx_count == adapter->tx_ring_count) &&
1205 adapter->tx_ring[i]->count = new_tx_count;
1207 adapter->xdp_ring[i]->count = new_tx_count;
1210 adapter->tx_ring_count = new_tx_count;
1211 adapter->xdp_ring_count = new_tx_count;
1234 if (new_tx_count !
[all...]
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c890 u16 new_rx_count, new_tx_count; local
899 new_tx_count = min_t(u32, ring->tx_pending, IGB_MAX_TXD);
900 new_tx_count = max_t(u16, new_tx_count, IGB_MIN_TXD);
901 new_tx_count = ALIGN(new_tx_count, REQ_TX_DESCRIPTOR_MULTIPLE);
903 if ((new_tx_count == adapter->tx_ring_count) &&
914 adapter->tx_ring[i]->count = new_tx_count;
917 adapter->tx_ring_count = new_tx_count;
940 if (new_tx_count !
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_ethtool.c2060 u32 new_rx_count, new_tx_count, max_num_descriptors; local
2085 new_tx_count = ALIGN(ring->tx_pending, I40E_REQ_DESCRIPTOR_MULTIPLE);
2089 if ((new_tx_count == vsi->tx_rings[0]->count) &&
2110 vsi->tx_rings[i]->count = new_tx_count;
2113 vsi->xdp_rings[i]->count = new_tx_count;
2115 vsi->num_tx_desc = new_tx_count;
2128 if (new_tx_count != vsi->tx_rings[0]->count) {
2131 vsi->tx_rings[0]->count, new_tx_count);
2144 tx_rings[i].count = new_tx_count;
2253 vsi->num_tx_desc = new_tx_count;
[all...]

Completed in 258 milliseconds