Lines Matching full:rcv
336 const struct net_device *rcv, in veth_skb_is_eligible_for_gro() argument
341 rcv->features & (NETIF_F_GRO_FRAGLIST | NETIF_F_GRO_UDP_FWD)); in veth_skb_is_eligible_for_gro()
349 struct net_device *rcv; in veth_xmit() local
355 rcv = rcu_dereference(priv->peer); in veth_xmit()
356 if (unlikely(!rcv) || !pskb_may_pull(skb, ETH_HLEN)) { in veth_xmit()
361 rcv_priv = netdev_priv(rcv); in veth_xmit()
363 if (rxq < rcv->real_num_rx_queues) { in veth_xmit()
371 veth_skb_is_eligible_for_gro(dev, rcv, skb); in veth_xmit()
375 if (likely(veth_forward_skb(rcv, skb, rq, use_napi) == NET_RX_SUCCESS)) { in veth_xmit()
480 struct net_device *rcv; in veth_xdp_xmit() local
488 rcv = rcu_dereference(priv->peer); in veth_xdp_xmit()
489 if (unlikely(!rcv)) in veth_xdp_xmit()
492 rcv_priv = netdev_priv(rcv); in veth_xdp_xmit()
493 rq = &rcv_priv->rq[veth_select_rxq(rcv)]; in veth_xdp_xmit()
500 max_len = rcv->mtu + rcv->hard_header_len + VLAN_HLEN; in veth_xdp_xmit()
573 struct net_device *rcv; in veth_xdp_flush() local
578 rcv = rcu_dereference(priv->peer); in veth_xdp_flush()
579 if (unlikely(!rcv)) in veth_xdp_flush()
582 rcv_priv = netdev_priv(rcv); in veth_xdp_flush()
583 rcv_rq = &rcv_priv->rq[veth_select_rxq(rcv)]; in veth_xdp_flush()