Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c2662 static int dpaa2_eth_set_rx_mfl(struct dpaa2_eth_priv *priv, int mtu, bool has_xdp) in dpaa2_eth_set_rx_mfl() argument
2671 if (has_xdp) in dpaa2_eth_set_rx_mfl()
2705 static int dpaa2_eth_update_rx_buffer_headroom(struct dpaa2_eth_priv *priv, bool has_xdp) in dpaa2_eth_update_rx_buffer_headroom() argument
2719 (has_xdp ? XDP_PACKET_HEADROOM : 0); in dpaa2_eth_update_rx_buffer_headroom()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_main.c3878 bool has_xdp = i40e_enabled_xdp_vsi(vsi); in i40e_vsi_configure_msix() local
3914 u32 nextqp = has_xdp ? qp + vsi->alloc_queue_pairs : qp; in i40e_vsi_configure_msix()
3926 if (has_xdp) { in i40e_vsi_configure_msix()