Home
last modified time | relevance | path

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

/linux-6.6.21/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.h368 static inline bool stmmac_xdp_is_enabled(struct stmmac_priv *priv) in stmmac_xdp_is_enabled() function
375 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()
1660 if (!stmmac_xdp_is_enabled(priv) || !test_bit(queue, priv->af_xdp_zc_qps)) in stmmac_get_xsk_pool()
2027 bool xdp_prog = stmmac_xdp_is_enabled(priv); in __alloc_dma_rx_desc_resources()
2078 if (stmmac_xdp_is_enabled(priv) && in __alloc_dma_rx_desc_resources()
5722 if (stmmac_xdp_is_enabled(priv) && new_mtu > ETH_DATA_LEN) { in stmmac_change_mtu()
6899 if (!stmmac_xdp_is_enabled(priv)) in stmmac_xsk_wakeup()