]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Update reset infrastructure to support tunable parameters
authorJohn Allen <jallen@linux.vnet.ibm.com>
Thu, 26 Oct 2017 21:23:25 +0000 (16:23 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Oct 2017 15:23:58 +0000 (00:23 +0900)
commit57becf9a44f9415361c158acf17cfd0efeb750bf
treedbc073f935499df2f3fa87961b30d3d08c2f83e8
parent22f8750972c4e8a09ed5cb42198e979b87b6d7a1
ibmvnic: Update reset infrastructure to support tunable parameters

Update ibmvnic reset infrastructure to include a new reset option that will
allow changing of tunable parameters. There currently is no way to request
different capabilities from the vnic server on the fly so this patch
achieves this by resetting the driver and attempting to log in with the
requested changes. If the reset operation fails, the old values of the
tunable parameters are stored in the "fallback" struct and we attempt to
login with the fallback values.

Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/ibm/ibmvnic.h