mbox series

[net,0/2] ibmvnic: Fix netdev features settings on reset

Message ID 1554912420-10796-1-git-send-email-tlfalcon@linux.ibm.com
Headers show
Series ibmvnic: Fix netdev features settings on reset | expand

Message

Thomas Falcon April 10, 2019, 4:06 p.m. UTC
In its current state, a driver reset clobbers any feature settings
a user may have toggled and will disable GRO as it is not explicitly
enabled in the driver. This patch set enables GRO and tries to retain
user settings after a reset. If the underlying carrier changes, however,
the driver will disable features unsupported by the new carrier.

Thomas Falcon (2):
  ibmvnic: Enable GRO
  ibmvnic: Fix netdev feature clobbering during a reset

 drivers/net/ethernet/ibm/ibmvnic.c | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

Comments

David Miller April 10, 2019, 7:29 p.m. UTC | #1
From: Thomas Falcon <tlfalcon@linux.ibm.com>
Date: Wed, 10 Apr 2019 11:06:58 -0500

> In its current state, a driver reset clobbers any feature settings
> a user may have toggled and will disable GRO as it is not explicitly
> enabled in the driver. This patch set enables GRO and tries to retain
> user settings after a reset. If the underlying carrier changes, however,
> the driver will disable features unsupported by the new carrier.

Series applied.