[ovs-dev] About the bandwith performance of vxlan tunnel

openvswitcher openvswitcher at 163.com
Thu Sep 24 00:07:24 UTC 2015


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" <pshelar at nicira.com> wrote:
>On Tue, Sep 22, 2015 at 4:45 PM, openvswitcher <openvswitcher at 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.


More information about the dev mailing list