Home
last modified time | relevance | path

Searched refs:stmmac_xdp_is_enabled (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_xdp.c34 need_update = netif_running(priv->dev) && stmmac_xdp_is_enabled(priv); in stmmac_xdp_enable_pool()
72 need_update = netif_running(priv->dev) && stmmac_xdp_is_enabled(priv); in stmmac_xdp_disable_pool()
132 priv->sph = priv->sph_cap && !stmmac_xdp_is_enabled(priv); in stmmac_xdp_set_prog()
Dstmmac.h425 static inline bool stmmac_xdp_is_enabled(struct stmmac_priv *priv) in stmmac_xdp_is_enabled() function
432 if (stmmac_xdp_is_enabled(priv)) in stmmac_rx_offset()
Dstmmac_main.c213 if (stmmac_xdp_is_enabled(priv) && in __stmmac_disable_all_queues()
262 if (stmmac_xdp_is_enabled(priv) && in stmmac_enable_all_queues()
1662 if (!stmmac_xdp_is_enabled(priv) || !test_bit(queue, priv->af_xdp_zc_qps)) in stmmac_get_xsk_pool()
2029 bool xdp_prog = stmmac_xdp_is_enabled(priv); in __alloc_dma_rx_desc_resources()
2080 if (stmmac_xdp_is_enabled(priv) && in __alloc_dma_rx_desc_resources()
5864 if (stmmac_xdp_is_enabled(priv) && new_mtu > ETH_DATA_LEN) { in stmmac_change_mtu()
7027 if (!stmmac_xdp_is_enabled(priv)) in stmmac_xsk_wakeup()