1. 13 8月, 2016 2 次提交
  2. 16 6月, 2016 14 次提交
  3. 26 5月, 2016 1 次提交
  4. 29 4月, 2016 1 次提交
    • J
      sfc: disable RSS when unsupported · dcb4123c
      Jon Cooper 提交于
      When certain firmware variants are selected (via the sfboot utility) the
      SFC7000 and SFC8000 series NICs don't support RSS. The driver still
      tries (and fails) to insert filters with the RSS flag, and the NIC fails
      to pass traffic.
      
      When the firmware reports RSS_LIMITED suppress allocating a default RSS
      context. The absence of an RSS context is picked up in filter insertion
      and RSS flags are discarded.
      Signed-off-by: NBert Kenward <bkenward@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      dcb4123c
  5. 24 12月, 2015 2 次提交
  6. 12 12月, 2015 1 次提交
  7. 06 12月, 2015 1 次提交
    • D
      sfc: check warm_boot_count after other functions have been reset · abd86a55
      Daniel Pieczko 提交于
      A change in MCFW behaviour means that the net driver must update its record
      of the warm_boot_count by reading it from the ER_DZ_BIU_MC_SFT_STATUS
      register.
      
      On v4.6.x MCFW the global boot count was incremented when some functions
      needed to be reset to enable multicast chaining, so all functions saw the
      same value.  In that case, the driver needed to increment its
      warm_boot_count when other functions were reset, to avoid noticing it later
      and then trying to reset itself to recover unnecessarily.
      
      With v4.7+ MCFW, the boot count in firmware doesn't change as that is
      unnecessary since the PFs that have been reset will each receive an MC
      reboot notification.  In that case, the driver re-reads the unchanged
      value.
      Signed-off-by: NBert Kenward <bkenward@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      abd86a55
  8. 02 12月, 2015 1 次提交
  9. 03 11月, 2015 1 次提交
  10. 12 10月, 2015 1 次提交
    • D
      sfc: fully reset if MC_REBOOT event received without warm_boot_count increment · c577e59e
      Daniel Pieczko 提交于
      On EF10, MC_CMD_VPORT_RECONFIGURE can cause a CODE_MC_REBOOT event
      to be sent to a function without incrementing the (adapter-wide)
      warm_boot_count.  In this case, the reboot is not detected by the
      loop on efx_mcdi_poll_reboot(), so prepare for recovery from an MC
      reboot anyway.  When this codepath is run, the MC has always just
      rebooted, so this recovery is valid.
      
      The loop on efx_mcdi_poll_reboot() is still required for other MC
      reboot cases, so that actions in response to an MC reboot are
      performed, such as clearing locally calculated statistics.
      Siena NICs are unaffected by this change as the above scenario
      does not apply.
      Signed-off-by: NShradha Shah <sshah@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c577e59e
  11. 29 8月, 2015 1 次提交
    • S
      sfc: Allow driver to cope with a lower number of VIs than it needs for RSS · b0fbdae1
      Shradha Shah 提交于
      Previously, the driver would refuse to load if it couldn't secure
      enough VIs from the MC to fulfill its RSS requirements.
      This was causing probe to fail on later functions in
      configurations where we'd run out of VIs, such as having many
      VFs.
      
      This change allows the driver to load with fewer VIs, down to a
      minimum of 2. A warning will be printed saying that RSS
      requirements were not met, possibly affecting performance.
      
      efx->max_tx_channels needs to be set to avoid going down the
      failure path in efx_probe_nic() immediately in the loop after the
      probe() NIC-type function.
      Also, Set rc=ENOSPC when bombing out of efx_probe_nic due to lack
      of VIs.
      Signed-off-by: NShradha Shah <sshah@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b0fbdae1
  12. 28 8月, 2015 1 次提交
  13. 01 8月, 2015 2 次提交
  14. 22 7月, 2015 8 次提交
  15. 09 7月, 2015 3 次提交