1. 23 Jul, 2014 5 commits
  2. 21 Jul, 2014 12 commits
  3. 13 Jul, 2014 1 commit
  4. 01 Jul, 2014 3 commits
  5. 22 May, 2014 1 commit
  6. 13 May, 2014 1 commit
  7. 04 Apr, 2014 1 commit
  8. 27 Mar, 2014 1 commit
    • Florian Fainelli's avatar
      net: bcmgenet: set RBUF_SKIP_FCS based on UniMAC CRC forwarding · ebe5e3c6
      Florian Fainelli authored
      
      
      When the UniMAC block is configured to forward the CRC as part of the
      Ethernet frame (priv->crc_fwd_en, set by default), enabling the hardware
      RX checksum block unveiled that the dma_rxchk_bit was never set in the
      per-packet status bits (dma_flag in bcmgenet_desc_rx). This would make
      the chksum_ok variable to be never set to 1, and the networking stack
      would have to compute the packet checksums, which takes a substantial
      amount of time.
      
      In order for the RXCHK block to properly compute the packet checksum in
      hardware, we also need to set the RBUF_SKIP_FCS bit accordingly.
      Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ebe5e3c6
  9. 20 Mar, 2014 4 commits
  10. 24 Feb, 2014 5 commits
  11. 13 Feb, 2014 4 commits