Re: [PATCH net] cxgb4/cxgb4vf: Fixes regression in perf when tx vlan offload is disabled

2016-07-30 Thread David Miller
From: Hariprasad Shenai Date: Thu, 28 Jul 2016 13:28:57 +0530 > The commit 637d3e997351 ("cxgb4: Discard the packet if the length is > greater than mtu") introduced a regression in the VLAN interface > performance when Tx VLAN offload is disabled. > > Check if skb is tagged, regardless of whethe

[PATCH net] cxgb4/cxgb4vf: Fixes regression in perf when tx vlan offload is disabled

2016-07-28 Thread Hariprasad Shenai
The commit 637d3e997351 ("cxgb4: Discard the packet if the length is greater than mtu") introduced a regression in the VLAN interface performance when Tx VLAN offload is disabled. Check if skb is tagged, regardless of whether it is hardware accelerated or not. Presently we were checking only for h