MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ngbe_dev_store_tx_queue

Function ngbe_dev_store_tx_queue

dpdk/drivers/net/ngbe/ngbe_rxtx.c:3110–3117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3108}
3109
3110void
3111ngbe_dev_store_tx_queue(struct ngbe_hw *hw, uint16_t tx_queue_id)
3112{
3113 u32 *reg = &hw->q_tx_regs[tx_queue_id * 8];
3114 wr32(hw, NGBE_TXBAL(tx_queue_id), *(reg++));
3115 wr32(hw, NGBE_TXBAH(tx_queue_id), *(reg++));
3116 wr32(hw, NGBE_TXCFG(tx_queue_id), *(reg++) & ~NGBE_TXCFG_ENA);
3117}
3118
3119/*
3120 * Start Receive Units for specified queue.

Callers 1

ngbe_dev_tx_queue_stopFunction · 0.85

Calls 1

wr32Function · 0.50

Tested by

no test coverage detected