1. 02 Sep, 2014 5 commits
  2. 01 Sep, 2014 31 commits
  3. 29 Aug, 2014 4 commits
    • Ley Foon Tan's avatar
      net: stmmac: fix warning from Sparse for socfpga · dace1b54
      Ley Foon Tan authored
      
      
      Warning:
      drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:122:41:
      sparse: cast removes address space of expression
      drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:122:38:
      sparse: incorrect type in assignment (different address spaces)
      Signed-off-by: default avatarLey Foon Tan <lftan@altera.com>
      Acked-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      dace1b54
    • David S. Miller's avatar
      Merge branch 'csums-next' · 030824e0
      David S. Miller authored
      
      
      Tom Herbert says:
      
      ====================
      net: Checksum offload changes - Part VI
      
      I am working on overhauling RX checksum offload. Goals of this effort
      are:
      
      - Specify what exactly it means when driver returns CHECKSUM_UNNECESSARY
      - Preserve CHECKSUM_COMPLETE through encapsulation layers
      - Don't do skb_checksum more than once per packet
      - Unify GRO and non-GRO csum verification as much as possible
      - Unify the checksum functions (checksum_init)
      - Simplify code
      
      What is in this sixth patch set:
      
      - Clarify the specific requirements of devices returning
        CHECKSUM_UNNECESSARY (comments in skbuff.h).
      - Add csum_level field to skbuff. This is used to express how
        many checksums are covered by CHECKSUM_UNNECESSARY (stores n - 1).
      - Change __skb_checksum_validate_needed to "consume" each checksum
        as indicated by csum_level as layers of the the packet are parsed.
      - Remove skb_pop_rcv_encapsulation, no longer needed in the new
        csum_level model.
      - Allow GRO path to "consume" checksums provided in CHECKSUM_UNNECESSARY
        and to report new verfied checksums for use in normal path fallback.
      - Add proper support to SCTP to accept CHECKSUM_UNNECESSARY to validate
        header CRC.
      - Modify drivers to set skb->csum_level instead of setting
        skb->encapsulation to indicate validation of an encapsulated
        checksum on receive.
      
      v2:
      
      Allocate a new 16 bits for flags in skbuff.
      
      Please review carefully and test if possible, mucking with basic
      checksum functions is always a little precarious :-)
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      030824e0
    • Tom Herbert's avatar
      qlcnic: Set skb->csum_level for encapsulated checksum · 71d7a277
      Tom Herbert authored
      
      
      Set skb->csum_level instead of skb->encapsulation when indicating
      CHECKSUM_UNNECESSARY for an encapsulated checksum.
      Signed-off-by: default avatarTom Herbert <therbert@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      71d7a277
    • Tom Herbert's avatar
      mlx4: Set skb->csum_level for encapsulated checksum · 9ca8600e
      Tom Herbert authored
      
      
      Set skb->csum_level instead of skb->encapsulation when indicating
      CHECKSUM_UNNECESSARY for an encapsulated checksum.
      Signed-off-by: default avatarTom Herbert <therbert@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9ca8600e