Where is it set? I think normally it is set in the route module, but I could not find where. Could you tell me?
At 2015-09-24 03:48:53, "Pravin Shelar" <pshe...@nicira.com> wrote: >On Tue, Sep 22, 2015 at 4:45 PM, openvswitcher <openvswitc...@163.com> wrote: >> Thank you for your reply. >> >> >> 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 whether the NIC supports vxlan offload ? >> If so, where is the skb->dev set ? Is skb->dev the physical NIC or is it the >> vxlan virtual port? >> >skb->dev is the physical NIC. If physical NIC can not handle the >offload then it is handled in software. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev