linux/drivers/net/ethernet/chelsio/cxgb4
Hariprasad Shenai 8d09e6b8b9 cxgb4/cxgb4vf: Fixes regression in perf when tx vlan offload is disabled
The commit 637d3e9973 ("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 hardware acclereated one,
which caused performance to drop to ~0.17Mbps on a 10GbE adapter for
VLAN interface, when tx vlan offload is turned off using ethtool.
The ethernet head length calculation was going wrong in this case, and
driver ended up dropping packets.

Fixes: 637d3e9973 ("cxgb4: Discard the packet if the length is greater than mtu")
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-30 20:39:59 -07:00
..
clip_tbl.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-01-06 22:54:18 -05:00
clip_tbl.h cxgb4: Fix incorrect 'c' suffix to %pI4, use %pISc instead 2015-02-20 17:25:52 -05:00
cxgb4_dcb.c cxgb4: DCB message handler needs to use correct portid to netdev mapping 2016-04-26 13:23:57 -04:00
cxgb4_dcb.h cxgb4 : Improve IEEE DCBx support, other minor open-lldp fixes 2015-02-02 18:54:35 -08:00
cxgb4_debugfs.c cxgb4: Add support to enable logging of firmware mailbox commands 2016-04-29 13:41:46 -04:00
cxgb4_debugfs.h VFS: Fix up some ->d_inode accesses in the chelsio driver 2015-04-15 15:06:54 -04:00
cxgb4_ethtool.c cxgb4/cxgb4vf: Add link mode mask API to cxgb4 and cxgb4vf 2016-07-25 10:26:45 -07:00
cxgb4_fcoe.c cxgb4: fix boolreturn.cocci warnings 2015-03-29 12:15:56 -07:00
cxgb4_fcoe.h cxgb4: add cxgb4_fcoe.h and macro definitions for FCoE 2015-03-24 15:24:38 -04:00
cxgb4_main.c cxgb4/cxgb4vf: Synchronize all MAC addresses 2016-06-15 14:46:05 -07:00
cxgb4_uld.h cxgb4: update struct cxgb4_lld_info definition 2016-03-22 00:25:04 -07:00
cxgb4.h cxgb4/cxgb4vf: Add link mode mask API to cxgb4 and cxgb4vf 2016-07-25 10:26:45 -07:00
l2t.c cxgb4: move VLAN_NONE macro definition 2016-03-22 00:25:05 -07:00
l2t.h cxgb4: move VLAN_NONE macro definition 2016-03-22 00:25:05 -07:00
Makefile libcxgb: add library module for Chelsio drivers 2016-07-25 10:31:08 -07:00
sge.c cxgb4/cxgb4vf: Fixes regression in perf when tx vlan offload is disabled 2016-07-30 20:39:59 -07:00
t4_chip_type.h cxgb4: T6 adapter lld support for iw_cxgb4 driver 2015-10-21 23:16:38 -04:00
t4_hw.c cxgb4/cxgb4vf: Add link mode mask API to cxgb4 and cxgb4vf 2016-07-25 10:26:45 -07:00
t4_hw.h cxgb4: add new routine to get adapter info 2016-04-26 13:23:56 -04:00
t4_msg.h RDMA/iw_cxgb4: set the correct FID value in DSGL commands 2016-05-13 19:38:05 -04:00
t4_pci_id_tbl.h cxgb4: Add device id of T540-BT adapter 2016-06-08 10:23:46 -07:00
t4_regs.h cxgb4: Update mps_tcam output to include T6 fields 2015-12-23 22:34:45 -05:00
t4_values.h cxgb4/cxgb4vf: For T6 adapter, set FBMIN to 64 bytes 2016-03-02 14:46:29 -05:00
t4fw_api.h cxgb4/cxgb4vf: Add link mode mask API to cxgb4 and cxgb4vf 2016-07-25 10:26:45 -07:00
t4fw_version.h cxgb4: update latest firmware version supported 2016-07-05 11:53:25 -07:00