]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40evf: Be much more verbose about what we can and cannot offload
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 21 Dec 2016 22:07:35 +0000 (17:07 -0500)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:41:06 +0000 (19:41 -0500)
commit299260f03d09e4ec909345b43537bb89bed6d751
treeab237fa6b6a25e0a3f04c97b1896330363163949
parent7c8bc6fb1c7c6289bfa4c437108055bf294e3223
i40evf: Be much more verbose about what we can and cannot offload

Orabug: 24568124

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>
(cherry picked from commit 06fc016c43eac5d88a53677ed0db7e28a7a1b4bd)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c
drivers/net/ethernet/intel/i40evf/kcompat.h