1. 27 9月, 2011 6 次提交
  2. 24 9月, 2011 18 次提交
  3. 23 9月, 2011 14 次提交
  4. 22 9月, 2011 2 次提交
    • F
      r8169: jumbo fixes. · d58d46b5
      Francois Romieu 提交于
      - fix features : jumbo frames and checksumming can not be used at the
        same time.
      
      - introduce hw_jumbo_{enable / disable} helpers. Their content has been
        creatively extracted from Realtek's own drivers. As an illustration,
        it would be nice to know how/if the MaxTxPacketSize register operates
        when the device can work with a 9k jumbo frame as its documentation
        (8168c) can not be applied beyond ~7k.
      
      - rtl_tx_performance_tweak is moved forward. No change.
      Signed-off-by: NFrancois Romieu <romieu@fr.zoreil.com>
      d58d46b5
    • F
      r8169: expand received packet length indication. · deb9d93c
      Francois Romieu 提交于
      8168d and above allow jumbo frames beyond 8k. Bump the received
      packet length check before enabling jumbo frames on these chipsets.
      
      Frame length indication covers bits 0..13 of the first Rx descriptor
      32 bits for the 8169 and 8168. I only have authoritative documentation
      for the allowed use of the extra (13) bit with the 8169 and 8168c.
      Realtek's drivers use the same mask for the 816x and the fast ethernet
      only 810x.
      Signed-off-by: NFrancois Romieu <romieu@fr.zoreil.com>
      deb9d93c