1. 12 Jan, 2017 1 commit
  2. 10 Dec, 2016 1 commit
  3. 02 Dec, 2016 1 commit
    • Sunil Goutham's avatar
      net: thunderx: Fix transmit queue timeout issue · bd3ad7d3
      Sunil Goutham authored
      
      
      Transmit queue timeout issue is seen in two cases
      - Due to a race condition btw setting stop_queue at xmit()
        and checking for stopped_queue in NAPI poll routine, at times
        transmission from a SQ comes to a halt. This is fixed
        by using barriers and also added a check for SQ free descriptors,
        incase SQ is stopped and there are only CQE_RX i.e no CQE_TX.
      - Contrary to an assumption, a HW errata where HW doesn't stop transmission
        even though there are not enough CQEs available for a CQE_TX is
        not fixed in T88 pass 2.x. This results in a Qset error with
        'CQ_WR_FULL' stalling transmission. This is fixed by adjusting
        RXQ's  RED levels for CQ level such that there is always enough
        space left for CQE_TXs.
      Signed-off-by: default avatarSunil Goutham <sgoutham@cavium.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      bd3ad7d3
  4. 26 Nov, 2016 4 commits
  5. 16 Nov, 2016 5 commits
  6. 18 Oct, 2016 1 commit
    • Jarod Wilson's avatar
      ethernet/cavium: use core min/max MTU checking · 109cc165
      Jarod Wilson authored
      
      
      liquidio: min_mtu 68, max_mtu 16000
      
      thunder: min_mtu 64, max_mtu 9200
      
      CC: netdev@vger.kernel.org
      CC: Sunil Goutham <sgoutham@cavium.com>
      CC: Robert Richter <rric@kernel.org>
      CC: Derek Chickles <derek.chickles@caviumnetworks.com>
      CC: Satanand Burla <satananda.burla@caviumnetworks.com>
      CC: Felix Manlunas <felix.manlunas@caviumnetworks.com>
      CC: Raghu Vatsavayi <raghu.vatsavayi@caviumnetworks.com>
      Signed-off-by: default avatarJarod Wilson <jarod@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      109cc165
  7. 24 Sep, 2016 2 commits
  8. 01 Sep, 2016 2 commits
    • Sunil Goutham's avatar
      net: thunderx: Fix for issues with multiple CQEs posted for a TSO packet · 7ceb8a13
      Sunil Goutham authored
      
      
      On ThunderX 88xx pass 2.x chips when TSO is offloaded to HW,
      HW posts a CQE for every TSO segment transmitted. Current code
      does handles this, but is prone to issues when segment sizes are
      small resulting in SW processing too many CQEs and also at times
      frees a SKB which is not yet transmitted.
      
      This patch handles the errata in a different way and eliminates issues
      with earlier approach, TSO packet is submitted to HW with post_cqe=0,
      so that no CQE is posted upon completion of transmission of TSO packet
      but a additional HDR + IMMEDIATE descriptors are added to SQ due to
      which a CQE is posted and will have required info to be used while
      cleanup in napi. This way only one CQE is posted for a TSO packet.
      Signed-off-by: default avatarSunil Goutham <sgoutham@cavium.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      7ceb8a13
    • Sunil Goutham's avatar
      net: thunderx: Fix for HW issue while padding TSO packet · 57e81d44
      Sunil Goutham authored
      
      
      There is a issue in HW where-in while sending GSO sized pkts
      as part of TSO, if pkt len falls below configured min packet
      size i.e 60, NIC will zero PAD packet and also updates IP total length.
      Hence set this value to lessthan min pkt size of MAC + IP + TCP
      headers, BGX will anyway do the padding to transmit 64 byte pkt
      including FCS.
      Signed-off-by: default avatarSunil Goutham <sgoutham@cavium.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      57e81d44
  9. 19 Aug, 2016 1 commit
  10. 15 Aug, 2016 1 commit
  11. 13 Aug, 2016 21 commits