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

Function ngbe_dev_save_tx_queue

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

Source from the content-addressed store, hash-verified

3099}
3100
3101void
3102ngbe_dev_save_tx_queue(struct ngbe_hw *hw, uint16_t tx_queue_id)
3103{
3104 u32 *reg = &hw->q_tx_regs[tx_queue_id * 8];
3105 *(reg++) = rd32(hw, NGBE_TXBAL(tx_queue_id));
3106 *(reg++) = rd32(hw, NGBE_TXBAH(tx_queue_id));
3107 *(reg++) = rd32(hw, NGBE_TXCFG(tx_queue_id));
3108}
3109
3110void
3111ngbe_dev_store_tx_queue(struct ngbe_hw *hw, uint16_t tx_queue_id)

Callers 1

ngbe_dev_tx_queue_stopFunction · 0.85

Calls 1

rd32Function · 0.50

Tested by

no test coverage detected