linux/drivers/net/ethernet/intel/fm10k
Matthew Vick 8c1a90aa49 fm10k: Modify tunnel length header check when offloading
The FM10000 host interface can only support up to 184 bytes when
performing tunnel offloads. Because of this, a check was added to
prevent the driver from attempting to feed a header to the hardware too
big for it to parse. Make this check a little more robust by calculating
the inner L4 header length based on whether it is TCP or UDP.

Cc: Joe Stringer <joestringer@nicira.com>
Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2015-03-03 01:07:21 -08:00
..
fm10k.h fm10k: Reduce buffer size when pages are larger than 4K 2014-10-01 23:42:01 -07:00
fm10k_common.c
fm10k_common.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k_dcbnl.c fm10k: Add support for IEEE DCBx 2014-09-23 03:59:21 -07:00
fm10k_debugfs.c fm10k: Add support for debugfs 2014-09-23 03:59:22 -07:00
fm10k_ethtool.c ethtool: Support for configurable RSS hash function 2014-12-08 21:07:10 -05:00
fm10k_iov.c fm10k: Add support for SR-IOV to driver 2014-09-23 03:59:21 -07:00
fm10k_main.c fm10k: Modify tunnel length header check when offloading 2015-03-03 01:07:21 -08:00
fm10k_mbx.c fm10k: Resolve compile warnings with W=1 2015-02-05 19:41:51 -08:00
fm10k_mbx.h
fm10k_netdev.c net/fm10k: Avoid double setting of NETIF_F_SG for the HW encapsulation feature mask 2015-01-22 18:10:20 -08:00
fm10k_pci.c fm10k: use netdev_rss_key_fill() helper 2014-11-16 15:59:12 -05:00
fm10k_pf.c fm10k: Validate VLAN ID in fm10k_update_xc_addr_pf 2015-02-05 19:41:50 -08:00
fm10k_pf.h fm10k: Add support for SR-IOV to PF core files 2014-09-23 03:59:21 -07:00
fm10k_ptp.c fm10k: Resolve compile warnings with W=1 2015-02-05 19:41:51 -08:00
fm10k_tlv.c
fm10k_tlv.h
fm10k_type.h fm10k: Modify tunnel length header check when offloading 2015-03-03 01:07:21 -08:00
fm10k_vf.c fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
fm10k_vf.h fm10k: Add support for ptp to hw specific files 2014-09-23 03:59:22 -07:00
Makefile fm10k: Add support for PTP 2014-09-23 03:59:23 -07:00