1. 26 1月, 2017 1 次提交
  2. 18 1月, 2017 2 次提交
  3. 17 1月, 2017 2 次提交
    • E
      sfc: get PIO buffer size from the NIC · c634700f
      Edward Cree 提交于
      The 8000 series SFC NICs have 4K PIO buffers, rather than the 2K of
       the 7000 series.  Rather than having a hard-coded PIO buffer size
       (ER_DZ_TX_PIOBUF_SIZE), read it from the GET_CAPABILITIES_V2 MCDI
       response.
      Signed-off-by: NEdward Cree <ecree@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c634700f
    • E
      sfc: allow PIO more often · de1deff9
      Edward Cree 提交于
      If an option descriptor has been sent on a queue but not followed by a
       packet, there will have been no completion event, so the read and write
       counts won't match and we'll think we can't do PIO.  This combines with
       the fact that we have two TX queues (for en/disable checksum offload),
       and that both must be empty for PIO to happen.
      This patch adds a separate "packet_write_count" that tracks the most
       recent write_count we expect to see a completion event for; this excludes
       option descriptors but _includes_ PIO descriptors (even though they look
       like option descriptors).  This is then used, rather than write_count,
       in efx_nic_tx_is_empty().
      We only bother to maintain packet_write_count on EF10, since on Siena
       (a) there are no option descriptors and it always equals write_count, and
       (b) there's no PIO, so we don't need it anyway.
      Signed-off-by: NEdward Cree <ecree@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      de1deff9
  4. 11 1月, 2017 2 次提交
  5. 05 1月, 2017 1 次提交
  6. 04 12月, 2016 1 次提交
  7. 19 11月, 2016 3 次提交
  8. 10 11月, 2016 2 次提交
  9. 27 8月, 2016 4 次提交
  10. 19 8月, 2016 1 次提交
  11. 13 8月, 2016 4 次提交
  12. 16 6月, 2016 14 次提交
  13. 26 5月, 2016 1 次提交
  14. 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
  15. 24 12月, 2015 1 次提交