1. 16 8月, 2019 30 次提交
  2. 15 8月, 2019 6 次提交
  3. 14 8月, 2019 4 次提交
    • J
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next · c162610c
      Jakub Kicinski 提交于
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter/IPVS updates for net-next
      
      The following patchset contains Netfilter/IPVS updates for net-next:
      
      1) Rename mss field to mss_option field in synproxy, from Fernando Mancera.
      
      2) Use SYSCTL_{ZERO,ONE} definitions in conntrack, from Matteo Croce.
      
      3) More strict validation of IPVS sysctl values, from Junwei Hu.
      
      4) Remove unnecessary spaces after on the right hand side of assignments,
         from yangxingwu.
      
      5) Add offload support for bitwise operation.
      
      6) Extend the nft_offload_reg structure to store immediate date.
      
      7) Collapse several ip_set header files into ip_set.h, from
         Jeremy Sowden.
      
      8) Make netfilter headers compile with CONFIG_KERNEL_HEADER_TEST=y,
         from Jeremy Sowden.
      
      9) Fix several sparse warnings due to missing prototypes, from
         Valdis Kletnieks.
      
      10) Use static lock initialiser to ensure connlabel spinlock is
          initialized on boot time to fix sched/act_ct.c, patch
          from Florian Westphal.
      ====================
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      c162610c
    • J
      Merge branch 'r8152-RX-improve' · b753c5a7
      Jakub Kicinski 提交于
      Hayes says:
      
      ====================
      v2:
      For patch #2, replace list_for_each_safe with list_for_each_entry_safe.
      Remove unlikely in WARN_ON. Adjust the coding style.
      
      For patch #4, replace list_for_each_safe with list_for_each_entry_safe.
      Remove "else" after "continue".
      
      For patch #5. replace sysfs with ethtool to modify rx_copybreak and
      rx_pending.
      
      v1:
      The different chips use different rx buffer size.
      
      Use skb_add_rx_frag() to reduce memory copy for RX.
      ====================
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      b753c5a7
    • H
      r8152: change rx_copybreak and rx_pending through ethtool · e4a5017a
      Hayes Wang 提交于
      Let the rx_copybreak and rx_pending could be modified by
      ethtool.
      Signed-off-by: NHayes Wang <hayeswang@realtek.com>
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      e4a5017a
    • H
      r8152: support skb_add_rx_frag · 47922fcd
      Hayes Wang 提交于
      Use skb_add_rx_frag() to reduce the memory copy for rx data.
      
      Use a new list of rx_used to store the rx buffer which couldn't be
      reused yet.
      
      Besides, the total number of rx buffer may be increased or decreased
      dynamically. And it is limited by RTL8152_MAX_RX_AGG.
      Signed-off-by: NHayes Wang <hayeswang@realtek.com>
      Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com>
      47922fcd