1. 17 7月, 2012 1 次提交
  2. 10 5月, 2012 2 次提交
  3. 09 5月, 2012 1 次提交
    • B
      sfc: Fix division by zero when using one RX channel and no SR-IOV · 3132d282
      Ben Hutchings 提交于
      If RSS is disabled on the PF (efx->n_rx_channels == 1) we try to set
      up the indirection table so that VFs can use it, setting
      efx->rss_spread = efx_vf_size(efx).  But if SR-IOV was disabled at
      compile time, this evaluates to 0 and we end up dividing by zero when
      initialising the table.
      
      I considered changing the fallback definition of efx_vf_size() to
      return 1, but its value is really meaningless if we are not going to
      enable VFs.  Therefore add a condition of efx_sriov_wanted(efx) in
      efx_probe_interrupts().
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      3132d282
  4. 07 3月, 2012 3 次提交
  5. 24 2月, 2012 1 次提交
  6. 23 2月, 2012 1 次提交
  7. 16 2月, 2012 7 次提交
  8. 14 2月, 2012 3 次提交
  9. 27 1月, 2012 11 次提交
  10. 10 1月, 2012 3 次提交
  11. 06 1月, 2012 2 次提交
  12. 17 12月, 2011 1 次提交
  13. 07 12月, 2011 1 次提交
  14. 17 11月, 2011 1 次提交
  15. 17 9月, 2011 2 次提交