1. 12 4月, 2017 3 次提交
  2. 07 4月, 2017 3 次提交
  3. 25 3月, 2017 1 次提交
    • J
      s390/qeth: size calculation outbound buffers · 7d969d2e
      Julian Wiedmann 提交于
      Depending on the device type, hard_start_xmit() builds different output
      buffer formats. For instance with HiperSockets, on both L2 and L3 we
      strip the ETH header from the skb - L3 doesn't need it, and L2 carries
      it in the buffer's header element.
      For this, we pass data_offset = ETH_HLEN all the way down to
      __qeth_fill_buffer(), where skb->data is then adjusted accordingly.
      But the initial size calculation still considers the *full* skb length
      (including the ETH header). So qeth_get_elements_no() can erroneously
      reject a skb as too big, even though it would actually fit into an
      output buffer once the ETH header has been trimmed off later.
      
      Fix this by passing an additional offset to qeth_get_elements_no(),
      that indicates where in the skb the on-wire data actually begins.
      Since the current code uses data_offset=-1 for some special handling
      on OSA, we need to clamp data_offset to 0...
      
      On HiperSockets this helps when sending ~MTU-size skbs with weird page
      alignment. No change for OSA or AF_IUCV.
      Signed-off-by: NJulian Wiedmann <jwi@linux.vnet.ibm.com>
      Signed-off-by: NUrsula Braun <ubraun@linux.vnet.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7d969d2e
  4. 12 1月, 2017 3 次提交
  5. 16 9月, 2016 1 次提交
    • H
      qeth: restore device features after recovery · e830baa9
      Hans Wippel 提交于
      After device recovery, only a basic set of network device features is
      enabled on the device. If features like checksum offloading or TSO were
      enabled by the user before the recovery, this results in a mismatch
      between the network device features, that the kernel assumes to be
      enabled on the device, and the features actually enabled on the device.
      
      This patch tries to restore previously set features, that require
      changes on the device, after the recovery of a device. In case of an
      error, the network device's features are changed to contain only the
      features that are actually turned on.
      Signed-off-by: NHans Wippel <hwippel@linux.vnet.ibm.com>
      Signed-off-by: NUrsula Braun <ubraun@linux.vnet.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e830baa9
  6. 17 6月, 2016 5 次提交
  7. 15 12月, 2015 1 次提交
  8. 07 10月, 2015 1 次提交
  9. 22 9月, 2015 2 次提交
  10. 19 5月, 2015 1 次提交
  11. 18 1月, 2015 1 次提交
  12. 27 10月, 2014 1 次提交
  13. 03 9月, 2014 1 次提交
  14. 22 7月, 2014 3 次提交
  15. 29 4月, 2014 2 次提交
  16. 20 3月, 2014 1 次提交
  17. 29 1月, 2014 1 次提交
  18. 16 1月, 2014 2 次提交
  19. 18 12月, 2013 1 次提交
  20. 26 6月, 2013 1 次提交
  21. 23 4月, 2013 2 次提交
  22. 09 4月, 2013 1 次提交
  23. 19 3月, 2013 1 次提交
  24. 14 2月, 2013 1 次提交