1. 27 12月, 2014 1 次提交
    • J
      net: Generalize ndo_gso_check to ndo_features_check · 5f35227e
      Jesse Gross 提交于
      GSO isn't the only offload feature with restrictions that
      potentially can't be expressed with the current features mechanism.
      Checksum is another although it's a general issue that could in
      theory apply to anything. Even if it may be possible to
      implement these restrictions in other ways, it can result in
      duplicate code or inefficient per-packet behavior.
      
      This generalizes ndo_gso_check so that drivers can remove any
      features that don't make sense for a given packet, similar to
      netif_skb_features(). It also converts existing driver
      restrictions to the new format, completing the work that was
      done to support tunnel protocols since the issues apply to
      checksums as well.
      
      By actually removing features from the set that are used to do
      offloading, it solves another problem with the existing
      interface. In these cases, GSO would run with the original set
      of features and not do anything because it appears that
      segmentation is not required.
      
      CC: Tom Herbert <therbert@google.com>
      CC: Joe Stringer <joestringer@nicira.com>
      CC: Eric Dumazet <edumazet@google.com>
      CC: Hayes Wang <hayeswang@realtek.com>
      Signed-off-by: NJesse Gross <jesse@nicira.com>
      Acked-by: NTom Herbert <therbert@google.com>
      Fixes: 04ffcb25 ("net: Add ndo_gso_check")
      Tested-by: NHayes Wang <hayeswang@realtek.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5f35227e
  2. 19 12月, 2014 1 次提交
  3. 12 12月, 2014 1 次提交
  4. 09 12月, 2014 1 次提交
  5. 03 12月, 2014 1 次提交
  6. 27 11月, 2014 2 次提交
  7. 22 11月, 2014 1 次提交
  8. 17 11月, 2014 1 次提交
  9. 15 11月, 2014 1 次提交
  10. 23 9月, 2014 8 次提交
  11. 14 9月, 2014 3 次提交
  12. 03 9月, 2014 10 次提交
  13. 30 8月, 2014 2 次提交
  14. 13 8月, 2014 1 次提交
  15. 03 8月, 2014 2 次提交
  16. 02 8月, 2014 1 次提交
  17. 18 7月, 2014 3 次提交