i40e/i40evf: Add support for IPv4 encapsulated in IPv6
authorAlexander Duyck <aduyck@mirantis.com>
Mon, 25 Jan 2016 05:16:48 +0000 (21:16 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Feb 2016 18:45:12 +0000 (10:45 -0800)
commita0064728f8a34f7a5afd9df86d9cdd8210977c8d
treec336cefcc2942363445af6cbdcc093ad31bbc10f
parentb96b78f2b789ab8398e7ec0111bb8b4588ed42bf
i40e/i40evf: Add support for IPv4 encapsulated in IPv6

This patch fixes two issues.  First was the fact that iphdr(skb)->protocl
was being used to test for the outer transport protocol.  This completely
breaks IPv6 support.  Second was the fact that we cleared the flag for v4
going to v6, but we didn't take care of txflags going the other way.  As
such we would have the v6 flag still set even if the inner header was v4.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c
This page took 0.025526 seconds and 5 git commands to generate.