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

Function ixgbe_enable_rx_dma_generic

dpdk/drivers/net/ixgbe/base/ixgbe_common.c:3405–3415  ·  view source on GitHub ↗

* ixgbe_enable_rx_dma_generic - Enable the Rx DMA unit * @hw: pointer to hardware structure * @regval: register value to write to RXCTRL * * Enables the Rx DMA unit **/

Source from the content-addressed store, hash-verified

3403 * Enables the Rx DMA unit
3404 **/
3405s32 ixgbe_enable_rx_dma_generic(struct ixgbe_hw *hw, u32 regval)
3406{
3407 DEBUGFUNC("ixgbe_enable_rx_dma_generic");
3408
3409 if (regval & IXGBE_RXCTRL_RXEN)
3410 ixgbe_enable_rx(hw);
3411 else
3412 ixgbe_disable_rx(hw);
3413
3414 return IXGBE_SUCCESS;
3415}
3416
3417/**
3418 * ixgbe_blink_led_start_generic - Blink LED based on index.

Callers

nothing calls this directly

Calls 2

ixgbe_enable_rxFunction · 0.85
ixgbe_disable_rxFunction · 0.85

Tested by

no test coverage detected