i40evf: Fix turning TSO, GSO and GRO on after
authorPaweł Jabłoński <pawel.jablonski@intel.com>
Fri, 20 Apr 2018 08:41:36 +0000 (01:41 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 30 Apr 2018 16:19:55 +0000 (09:19 -0700)
commite4062894d5939bbba9fbed5a70a9eaf6fa397b10
tree346da440d0731f9852fd4a8d343465b84fa865a8
parent6ee4d32255865fc4b383355a8354603d60ab9f8a
i40evf: Fix turning TSO, GSO and GRO on after

This patch fixes the problem where each MTU change turns TSO,
GSO and GRO on from off state.

Now when TSO, GSO or GRO is turned off, MTU change does not
turn them on.

Signed-off-by: Paweł Jabłoński <pawel.jablonski@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