1. 20 10月, 2011 2 次提交
  2. 16 9月, 2011 4 次提交
  3. 12 8月, 2011 1 次提交
  4. 17 10月, 2010 1 次提交
  5. 25 9月, 2010 1 次提交
  6. 18 9月, 2010 1 次提交
    • G
      stmmac: consolidate and tidy-up the COE support · ebbb293f
      Giuseppe CAVALLARO 提交于
      The first version of the driver had hard-coded the logic
      for handling the checksum offloading.
      This was designed according to the chips included in
      the STM platforms where:
      o MAC10/100 supports no COE at all.
      o GMAC fully supports RX/TX COE.
      
      This is not good for other chip configurations where,
      for example, the mac10/100 supports the tx csum in HW
      or when the GMAC has no IPC.
      
      Thanks to Johannes Stezenbach; he provided me a first
      draft of this patch that only reviewed the IPC for the
      GMAC devices.
      
      This patch also helps on SPEAr platforms where the
      MAC10/100 can perform the TX csum in HW.
      Thanks to Deepak SIKRI for his support on this.
      
      In the end, GMAC devices for STM platforms have
      a bugged Jumbo frame support that needs to have
      the Tx COE disabled for oversized frames (due to
      limited buffer sizes). This information is also
      passed through the driver's platform structure.
      Signed-off-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: NJohannes Stezenbach <js@sig21.net>
      Signed-off-by: NDeepak SIKRI <deepak.sikri@st.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ebbb293f
  7. 26 8月, 2010 1 次提交
  8. 28 7月, 2010 1 次提交
    • G
      stmmac: fix automatic PAD/FCS stripping · 3eeb2997
      Giuseppe CAVALLARO 提交于
      For Simple Ethernet frames (802.2 and 802.3) the GMAC Core
      never strips pad and fcs. This means the ACS has no effect
      on IPv4/6 frames.
      The FL bits, in the RDES0, include the FCS so the driver
      has to remove it in SW.
      For 802.3 frame format with LLC or LLC-SNAP, when set the ACS
      bit, the HW strips both PAD and FCS.
      The FL bits, in the RDES0, actually represents the frame length
      already stripped.
      This patch fixes this logic within the device driver that
      erroneously removed 4byte from 802.3 frames already stripped
      corrupting the payload.
      Signed-off-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3eeb2997
  9. 14 4月, 2010 3 次提交
  10. 05 2月, 2010 1 次提交
  11. 08 1月, 2010 5 次提交
  12. 15 10月, 2009 1 次提交