Home
last modified time | relevance | path

Searched refs:_tx (Results 1 – 11 of 11) 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/include/net/
H A Dnetdev_lock.h128 lockdep_set_class(&(dev)->_tx[i]._xmit_lock, \
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst116 struct netdev_queue* _tx read_mostly …
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k.h169 return &ring->netdev->_tx[ring->queue_index]; in txring_txq()
/linux/net/xdp/
H A Dxsk.c112 return dev->_tx[queue_id].pool; in xsk_get_pool_from_qid()
123 dev->_tx[queue_id].pool = NULL; in xsk_clear_pool_at_qid()
126 /* The buffer pool is stored both in the _rx struct and the _tx struct as we do
141 dev->_tx[queue_id].pool = pool; in xsk_reg_pool_at_qid()
/linux/include/linux/
H A Dnetdevice.h2120 struct netdev_queue *_tx; member
2662 return &dev->_tx[index]; in netdev_get_tx_queue()
2680 f(dev, &dev->_tx[i], arg); in netdev_for_each_tx_queue()
/linux/net/core/
H A Ddev.c3063 struct netdev_queue *txq = &dev->_tx[dev->num_tx_queues]; in netdev_unbind_all_sb_channels()
3066 while (txq-- != &dev->_tx[0]) { in netdev_unbind_all_sb_channels()
3118 struct netdev_queue *txq = &dev->_tx[dev->num_tx_queues]; in netdev_unbind_sb_channel()
3126 while (txq-- != &dev->_tx[0]) { in netdev_unbind_sb_channel()
11191 kvfree(dev->_tx); in netif_free_tx_queues()
11207 dev->_tx = tx; in netif_alloc_netdev_queues()
13065 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, _tx); in net_dev_struct_check()
/linux/net/sched/
H A Dsch_generic.c1456 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.c11156 int _rx = *rx, _tx = *tx; in __bnxt_trim_rings() local
11160 *tx = min_t(int, _tx, max); in __bnxt_trim_rings()
11165 while (_rx + _tx > max) { in __bnxt_trim_rings()
11166 if (_rx > _tx && _rx > 1) in __bnxt_trim_rings()
11168 else if (_tx > 1) in __bnxt_trim_rings()
11169 _tx--; in __bnxt_trim_rings()
11172 *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), \