1. 07 Apr, 2017 38 commits
  2. 06 Apr, 2017 2 commits
    • David S. Miller's avatar
      Merge branch 'ftgmac-rework-batch2-rx-path' · dc423b6b
      David S. Miller authored
      Benjamin Herrenschmidt says:
      
      ====================
      ftgmac: Rework batch 2 - RX path
      
      This is the second batch of updates to the ftgmac100 driver.
      
      This one tackles the RX path of the driver, simplifying
      it greatly to match common practice while significantly
      increasing the performance.
      
      (The bulk of the performance gains of my series will be
      provided by the TX path improvements, notably fragmented
      sends, these will be in the next batch).
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      dc423b6b
    • Benjamin Herrenschmidt's avatar
      ftgmac100: Work around HW bug in runt frame detection · d930655d
      Benjamin Herrenschmidt authored
      The HW incorrectly calculates the frame size without the vlan
      tag and compares that against 64. It will thus flag 64-bytes
      frames with a vlan tag as 60-bytes frames "runt" packets
      which we'll then drop. Thus we end up dropping ARP packets
      on vlan's ...
      
      It does that whether vlan tag stripping is enabled or not.
      
      This works around it by ignoring the "runt" error bit of the
      frame has been vlan tagged and is at least 60 bytes.
      Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d930655d