1. 17 5月, 2017 12 次提交
  2. 16 5月, 2017 20 次提交
  3. 15 5月, 2017 1 次提交
  4. 14 5月, 2017 5 次提交
  5. 13 5月, 2017 2 次提交
    • N
      vmxnet3: ensure that adapter is in proper state during force_close · 1c4d5f51
      Neil Horman 提交于
      There are several paths in vmxnet3, where settings changes cause the
      adapter to be brought down and back up (vmxnet3_set_ringparam among
      them).  Should part of the reset operation fail, these paths call
      vmxnet3_force_close, which enables all napi instances prior to calling
      dev_close (with the expectation that vmxnet3_close will then properly
      disable them again).  However, vmxnet3_force_close neglects to clear
      VMXNET3_STATE_BIT_QUIESCED prior to calling dev_close.  As a result
      vmxnet3_quiesce_dev (called from vmxnet3_close), returns early, and
      leaves all the napi instances in a enabled state while the device itself
      is closed.  If a device in this state is activated again, napi_enable
      will be called on already enabled napi_instances, leading to a BUG halt.
      
      The fix is to simply enausre that the QUIESCED bit is cleared in
      vmxnet3_force_close to allow quesence to be completed properly on close.
      Signed-off-by: NNeil Horman <nhorman@tuxdriver.com>
      CC: Shrikrishna Khare <skhare@vmware.com>
      CC: "VMware, Inc." <pv-drivers@vmware.com>
      CC: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      1c4d5f51
    • B
      sfc: revert changes to NIC revision numbers · 42e6cae1
      Bert Kenward 提交于
      The revision enum values (eg EFX_REV_HUNT_A0) form part of our API,
       and are included in ethtool. If these are inconsistent then ethtool
       will print garbage for a register dump (ethtool -d).
      
      Fixes: 5a6681e2 ("sfc: separate out SFC4000 ("Falcon") support into new sfc-falcon driver")
      Signed-off-by: NEdward Cree <ecree@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      42e6cae1