diff options
author | Matthew Vick <matthew.vick@intel.com> | 2015-01-29 07:17:22 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-03-03 01:07:21 -0800 |
commit | 8c1a90aa497dc4e2f971028c4484566629757357 (patch) | |
tree | f32bb06ba0904ef78696b6f9ee035df82822b844 /drivers/xen/dbgp.c | |
parent | b898441f4ece44933af90b116b467f7864dd1ae7 (diff) |
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>
Diffstat (limited to 'drivers/xen/dbgp.c')
0 files changed, 0 insertions, 0 deletions