Hi, all

I see the function skb_udp_tunnel_segment in file  linux-3.14\net\ipv4\udp.c
struct sk_buff *skb_udp_tunnel_segment(struct sk_buff *skb,
      netdev_features_t features)
        (...skip...)
/* segment inner packet. */
enc_features = skb->dev->hw_enc_features & netif_skb_features(skb);  ★
        (...skip...)


Is ★ used for deciding if the NIC support vxlan offload or not?
If so, where is the skb->dev set ? Is it the physical NIC or the vxlan virtual 
port?



_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to