From: David Ahern
Date: Sat, 7 May 2016 21:16:44 -0700
> +static inline
> +struct sk_buff *l3mdev_l3_rcv(struct sk_buff *skb, u16 proto)
> +{
> + struct net_device *master = NULL;
> +
> + if (netif_is_l3_slave(skb->dev))
> + master = netdev_master_upper_dev_get_rcu(skb->dev);
Currently the VRF driver uses the rx_handler to switch the skb device
to the VRF device. Switching the dev prior to the ip / ipv6 layer
means the VRF driver has to duplicate IP/IPv6 processing which adds
overhead and makes features such as retaining the ingress device index
more complicated than ne