1. 17 6月, 2017 1 次提交
    • N
      ibmvnic: driver initialization for kdump/kexec · 6a2fb0e9
      Nathan Fontenot 提交于
      When booting into the kdump/kexec kernel, pHyp and vios
      are not prepared for the initialization crq request and
      a failover transport event is generated. This is not
      handled correctly.
      
      At this point in initialization the driver is still in
      the 'probing' state and cannot handle a full reset of the
      driver as is normally done for a failover transport event.
      
      To correct this we catch driver resets while still in the
      'probing' state and return EAGAIN. This results in the
      driver tearing down the main crq and calling ibmvnic_init()
      again.
      Signed-off-by: NNathan Fontenot <nfont@linux.vnet.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6a2fb0e9
  2. 16 6月, 2017 5 次提交
  3. 14 6月, 2017 2 次提交
    • N
      ibmvnic: Remove netdev notify for failover resets · 61d3e1d9
      Nathan Fontenot 提交于
      When handling a driver reset due to a failover of the backing
      server on the vios, doing the netdev_notify_peers() can cause
      network traffic to stall or halt. Remove the netdev notify call
      for failover resets.
      Signed-off-by: NNathan Fontenot <nfont@linux.vnet.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      61d3e1d9
    • T
      ibmvnic: Client-initiated failover · 40c9db8a
      Thomas Falcon 提交于
      The IBM vNIC protocol provides support for the user to initiate
      a failover from the client LPAR in case the current backing infrastructure
      is deemed inadequate or in an error state.
      
      Support for two H_VIOCTL sub-commands for vNIC devices are required
      to implement this function. These commands are H_GET_SESSION_TOKEN
      and H_SESSION_ERR_DETECTED.
      
      "[H_GET_SESSION_TOKEN] is used to obtain a session token from a VNIC client
      adapter.  This token is opaque to the caller and is intended to be used in
      tandem with the SESSION_ERROR_DETECTED vioctl subfunction."
      
      "[H_SESSION_ERR_DETECTED] is used to report that the currently active
      backing device for a VNIC client adapter is behaving poorly, and that
      the hypervisor should attempt to fail over to a different backing device,
      if one is available."
      
      To provide tools access to this functionality the vNIC driver creates a
      sysfs file that, when written to, will send a request to pHyp to failover
      to a different backing device.
      Signed-off-by: NThomas Falcon <tlfalcon@linux.vnet.ibm.com>
      Reviewed-by: NNathan Fontenot <nfont@linux.vnet.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      40c9db8a
  4. 08 6月, 2017 1 次提交
  5. 03 6月, 2017 1 次提交
  6. 27 5月, 2017 11 次提交
  7. 19 5月, 2017 1 次提交
  8. 03 5月, 2017 11 次提交
  9. 27 4月, 2017 2 次提交
  10. 25 4月, 2017 5 次提交