Home
last modified time | relevance | path

Searched refs:_tx (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_resc.c139 u16 _rx = *rx, _tx = *tx; in bnge_fix_rings_count() local
143 *tx = min_t(u16, _tx, max); in bnge_fix_rings_count()
147 while (_rx + _tx > max) { in bnge_fix_rings_count()
148 if (_rx > _tx && _rx > 1) in bnge_fix_rings_count()
150 else if (_tx > 1) in bnge_fix_rings_count()
151 _tx--; in bnge_fix_rings_count()
154 *tx = _tx; in bnge_fix_rings_count()
/linux/drivers/net/ethernet/brocade/bna/
H A Dbna.h202 #define bna_tx_from_rid(_bna, _rid, _tx) \ argument
206 _tx = NULL; \
209 (_tx) = __tx; \
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k.h169 return &ring->netdev->_tx[ring->queue_index]; in txring_txq()
/linux/net/core/
H A Dnet-sysfs.c1411 i = queue - dev->_tx; in get_netdev_queue_index()
1950 struct netdev_queue *queue = dev->_tx + index; in netdev_queue_add_kobject()
2005 struct netdev_queue *queue = ndev->_tx + index; in tx_queue_change_owner()
2043 struct netdev_queue *queue = dev->_tx + i; in netdev_queue_update_kobjects()
H A Ddev.c3101 struct netdev_queue *txq = &dev->_tx[dev->num_tx_queues]; in netdev_unbind_all_sb_channels()
3104 while (txq-- != &dev->_tx[0]) { in netdev_unbind_all_sb_channels()
3164 struct netdev_queue *txq = &dev->_tx[dev->num_tx_queues]; in netdev_unbind_sb_channel()
3175 while (txq-- != &dev->_tx[0]) { in netdev_unbind_sb_channel()
11279 kvfree(dev->_tx); in netif_free_tx_queues()
11295 dev->_tx = tx; in netif_alloc_netdev_queues()
13304 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, _tx); in net_dev_struct_check()
/linux/net/xdp/
H A Dxsk.c117 return dev->_tx[queue_id].pool; in xsk_get_pool_from_qid()
128 dev->_tx[queue_id].pool = NULL; in __xsk_clear_pool_at_qid()
156 dev->_tx[queue_id].pool = pool; in __xsk_reg_pool_at_qid()
/linux/include/linux/
H A Dnetdevice.h2173 struct netdev_queue *_tx; member
2731 return &dev->_tx[index]; in netdev_get_tx_queue()
2749 f(dev, &dev->_tx[i], arg); in netdev_for_each_tx_queue()
/linux/net/sched/
H A Dsch_generic.c1478 ret = qdisc_change_tx_queue_len(dev, &dev->_tx[i]); in dev_qdisc_change_tx_queue_len()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c11374 int _rx = *rx, _tx = *tx; in __bnxt_trim_rings() local
11378 *tx = min_t(int, _tx, max); in __bnxt_trim_rings()
11383 while (_rx + _tx > max) { in __bnxt_trim_rings()
11384 if (_rx > _tx && _rx > 1) in __bnxt_trim_rings()
11386 else if (_tx > 1) in __bnxt_trim_rings()
11387 _tx--; in __bnxt_trim_rings()
11390 *tx = _tx; in __bnxt_trim_rings()
/linux/drivers/net/wireless/broadcom/b43/
H A Dradio_2056.c3011 .tx = prefix##_tx, \
3012 .tx_length = ARRAY_SIZE(prefix##_tx), \