]> 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)
commit99ebba2a1ad914344856a203ca476330af050935
tree5aa45da744e35975a8c2dbbeed83170f5947e4bb
parent621b64a720af84ab9ee30bd74cbc88cdc1bb5d3c
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