Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c2660 static int dpaa2_eth_set_rx_mfl(struct dpaa2_eth_priv *priv, int mtu, bool has_xdp) in dpaa2_eth_set_rx_mfl() argument
2669 if (has_xdp) in dpaa2_eth_set_rx_mfl()
2703 static int dpaa2_eth_update_rx_buffer_headroom(struct dpaa2_eth_priv *priv, bool has_xdp) in dpaa2_eth_update_rx_buffer_headroom() argument
2717 (has_xdp ? XDP_PACKET_HEADROOM : 0); in dpaa2_eth_update_rx_buffer_headroom()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_main.c3857 bool has_xdp = i40e_enabled_xdp_vsi(vsi); in i40e_vsi_configure_msix() local
3893 u32 nextqp = has_xdp ? qp + vsi->alloc_queue_pairs : qp; in i40e_vsi_configure_msix()
3905 if (has_xdp) { in i40e_vsi_configure_msix()