]> 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)
commit7f0837a031d319421846676a93c7da58a8b88515
treedbc073f935499df2f3fa87961b30d3d08c2f83e8
parenta03934a42560452a66d9bab552ec064f9da0c97d
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