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

Function ngbe_dev_store_rx_queue

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

Source from the content-addressed store, hash-verified

3090}
3091
3092void
3093ngbe_dev_store_rx_queue(struct ngbe_hw *hw, uint16_t rx_queue_id)
3094{
3095 u32 *reg = &hw->q_rx_regs[rx_queue_id * 8];
3096 wr32(hw, NGBE_RXBAL(rx_queue_id), *(reg++));
3097 wr32(hw, NGBE_RXBAH(rx_queue_id), *(reg++));
3098 wr32(hw, NGBE_RXCFG(rx_queue_id), *(reg++) & ~NGBE_RXCFG_ENA);
3099}
3100
3101void
3102ngbe_dev_save_tx_queue(struct ngbe_hw *hw, uint16_t tx_queue_id)

Callers 1

ngbe_dev_rx_queue_stopFunction · 0.85

Calls 1

wr32Function · 0.50

Tested by

no test coverage detected