Home
last modified time | relevance | path

Searched refs:has_xdp (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c2518 static int dpaa2_eth_set_rx_mfl(struct dpaa2_eth_priv *priv, int mtu, bool has_xdp) in dpaa2_eth_set_rx_mfl() argument
2527 if (has_xdp) in dpaa2_eth_set_rx_mfl()
2561 static int dpaa2_eth_update_rx_buffer_headroom(struct dpaa2_eth_priv *priv, bool has_xdp) in dpaa2_eth_update_rx_buffer_headroom() argument
2575 (has_xdp ? XDP_PACKET_HEADROOM : 0); in dpaa2_eth_update_rx_buffer_headroom()
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c3723 bool has_xdp = i40e_enabled_xdp_vsi(vsi); in i40e_vsi_configure_msix() local
3759 u32 nextqp = has_xdp ? qp + vsi->alloc_queue_pairs : qp; in i40e_vsi_configure_msix()
3771 if (has_xdp) { in i40e_vsi_configure_msix()