]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit689479b72b2cec504e602674b7bfbf1cc1b9846d
tree5aa45da744e35975a8c2dbbeed83170f5947e4bb
parentcdf781a4fbb1aefad42b6bea8293d94dbab79330
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