Re: [E1000-devel] [PATCH 5/8] i40e: Fix TSO and hw checksums for non-accelerated vlan packets.

2014-08-23 Thread Vlad Yasevich
On 08/23/2014 02:43 PM, David Miller wrote: > From: vyasev...@gmail.com > Date: Fri, 22 Aug 2014 22:17:07 -0400 > >> @@ -2295,7 +2295,7 @@ static netdev_tx_t i40e_xmit_frame_ring(struct sk_buff >> *skb, >> goto out_drop; >> >> /* obtain protocol of skb */ >> -protocol = sk

Re: [E1000-devel] [PATCH 5/8] i40e: Fix TSO and hw checksums for non-accelerated vlan packets.

2014-08-23 Thread David Miller
From: vyasev...@gmail.com Date: Fri, 22 Aug 2014 22:17:07 -0400 > @@ -2295,7 +2295,7 @@ static netdev_tx_t i40e_xmit_frame_ring(struct sk_buff > *skb, > goto out_drop; > > /* obtain protocol of skb */ > - protocol = skb->protocol; > + protocol = get_vlan_protocol(skb