i40evf: Be much more verbose about what we can and cannot offload
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 25 Oct 2016 23:08:47 +0000 (16:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 3 Dec 2016 06:20:48 +0000 (22:20 -0800)
commit06fc016c43eac5d88a53677ed0db7e28a7a1b4bd
tree5aa45da744e35975a8c2dbbeed83170f5947e4bb
parentf114dca2533ca770aebebffb5ed56e5e7d1fb3fb
i40evf: Be much more verbose about what we can and cannot offload

This change makes it so that we are much more robust about defining what we
can and cannot offload.  Previously we were performing no checks.  This
should bring us up to parity with the i40e PF driver.

In addition the device only supports GSO as long as the MSS is 64 or
greater.  We were not checking this so an MSS less than that was resulting
in Tx hangs.

Change-ID: If533553ec92fc6ba694eab6ac81fdaf3004f3592
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c