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

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

Completed in 259 milliseconds