Re: [E1000-devel] Questions about VXLAN OFFLOAD with VLAN interface of 82599 NIC.

2016-11-09 Thread 张东亚
Hi Alexander, Thank you very much for all your explanation about vlan and UDP tunnel TSO support, I have checked 4.7+ kernel again, it turns out I misunderstand vlan_dev_fix_features, it just use vlan_features&features of real device to check HW_CSUM support, and does not even care about GSO_UDP_T

Re: [E1000-devel] Questions about VXLAN OFFLOAD with VLAN interface of 82599 NIC.

2016-11-09 Thread Alexander Duyck
On Wed, Nov 9, 2016 at 3:16 AM, 张东亚 wrote: > Hi Alexander, > > Thanks a lot for your reply, the following code is excerpted from function > ixgbe_probe in ixgbe_main.c of 4.1.5 driver code. > > #ifdef HAVE_ENCAP_TSO_OFFLOAD > netdev->features |= NETIF_F_GSO_UDP_TUNNEL; > #endif As far as I know t

Re: [E1000-devel] Questions about VXLAN OFFLOAD with VLAN interface of 82599 NIC.

2016-11-09 Thread 张东亚
Hi Alexander, Thanks a lot for your reply, the following code is excerpted from function ixgbe_probe in ixgbe_main.c of 4.1.5 driver code. #ifdef HAVE_ENCAP_TSO_OFFLOAD netdev->features |= NETIF_F_GSO_UDP_TUNNEL; #endif As you can see, its controlled by a macro which will be defined with 3.10+ k

Re: [E1000-devel] Questions about VXLAN OFFLOAD with VLAN interface of 82599 NIC.

2016-11-08 Thread Alexander Duyck
On Mon, Nov 7, 2016 at 11:42 PM, 张东亚 wrote: > Hi, > > I am now research on VXLAN OFFLOAD of intel 82599 NIC with openvswitch > 2.6.0, after reading some code and does the test, and I have concluded it > seems if the VXLAN endpoint ip is configured on a vlan interface like > eth0.100, VXLAN OFFLOAD

[E1000-devel] Questions about VXLAN OFFLOAD with VLAN interface of 82599 NIC.

2016-11-07 Thread 张东亚
Hi, I am now research on VXLAN OFFLOAD of intel 82599 NIC with openvswitch 2.6.0, after reading some code and does the test, and I have concluded it seems if the VXLAN endpoint ip is configured on a vlan interface like eth0.100, VXLAN OFFLOAD will not work, while eth0 itself is 82599 NIC which hav