Home
last modified time | relevance | path

Searched refs:_tx (Results 1 – 12 of 12) 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.h142 lockdep_set_class(&(dev)->_tx[i]._xmit_lock, \
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst114 struct netdev_queue* _tx read_mostly netdev_get_tx_queue(tx)
/linux/net/core/
H A Dnet-sysfs.c1411 i = queue - dev->_tx;
1950 struct netdev_queue *queue = dev->_tx + index; in netdev_uses_bql()
2005 struct netdev_queue *queue = ndev->_tx + index; in netdev_queue_add_kobject()
2043 struct netdev_queue *queue = dev->_tx + i; in netdev_queue_update_kobjects()
H A Ddev.c3070 struct netdev_queue *txq = &dev->_tx[dev->num_tx_queues]; in netdev_unbind_all_sb_channels()
3073 while (txq-- != &dev->_tx[0]) { in netdev_unbind_all_sb_channels()
3125 struct netdev_queue *txq = &dev->_tx[dev->num_tx_queues]; in netdev_unbind_sb_channel()
3133 while (txq-- != &dev->_tx[0]) { in netdev_unbind_sb_channel()
11216 kvfree(dev->_tx); in netif_alloc_netdev_queues()
11232 dev->_tx = tx; in netif_tx_stop_all_queues()
13107 CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, _tx); in net_dev_struct_check()
/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.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()
161 /* The buffer pool is stored both in the _rx struct and the _tx struct as we do
/linux/include/linux/
H A Dnetdevice.h1989 * @_tx: Array of TX queues
2162 struct netdev_queue *_tx;
2717 return &dev->_tx[index];
2735 f(dev, &dev->_tx[i], arg); in netdev_get_ml_priv()
2139 struct netdev_queue *_tx; global() member
/linux/net/sched/
H A Dsch_generic.c1478 ret = qdisc_change_tx_queue_len(dev, &dev->_tx[i]); in dev_init_scheduler()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c11355 int _rx = *rx, _tx = *tx; in bnxt_trim_rings()
11359 *tx = min_t(int, _tx, max); in bnxt_trim_rings()
11364 while (_rx + _tx > max) { in bnxt_trim_rings()
11365 if (_rx > _tx && _rx > 1) in bnxt_trim_rings()
11367 else if (_tx > 1) in bnxt_setup_msix()
11368 _tx--; in bnxt_setup_msix()
11371 *tx = _tx; in bnxt_setup_msix()
11306 int _rx = *rx, _tx = *tx; __bnxt_trim_rings() local
/linux/drivers/net/wireless/broadcom/b43/
H A Dradio_2056.c3011 .tx = prefix##_tx, \
3012 .tx_length = ARRAY_SIZE(prefix##_tx), \