1. 25 Jun, 2014 1 commit
    • George Spelvin's avatar
      lib: crc32: Greatly shrink CRC combining code · 6d514b4e
      George Spelvin authored
      
      
      There's no need for a full 32x32 matrix, when rows before the last are
      just shifted copies of the rows after them.
      
      There's still room for improvement (especially on X86 processors with
      CRC32 and PCLMUL instructions), but this is a large step in the
      right direction [which is in particular useful for its current user,
      namely SCTP checksumming over multiple skb frags[] entries, i.e. in
      IPVS balancing when other CRC32 offloads are not available].
      
      The internal primitive is now called crc32_generic_shift and takes one
      less argument; the XOR with crc2 is done in inline wrappers.
      Signed-off-by: default avatarGeorge Spelvin <linux@horizon.com>
      Signed-off-by: default avatarDaniel Borkmann <dborkman@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6d514b4e
  2. 24 Jun, 2014 1 commit
  3. 23 Jun, 2014 22 commits
  4. 21 Jun, 2014 3 commits
    • Duan Jiong's avatar
      net: em_canid: remove useless statements from em_canid_change · 2b74e2ca
      Duan Jiong authored
      
      
      tcf_ematch is allocated by kzalloc in function tcf_em_tree_validate(),
      so cm_old is always NULL.
      Signed-off-by: default avatarDuan Jiong <duanj.fnst@cn.fujitsu.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2b74e2ca
    • Li RongQing's avatar
      bridge: use list_for_each_entry_continue_reverse · a3f5ee71
      Li RongQing authored
      
      
      use list_for_each_entry_continue_reverse to rollback in fdb_add_hw
      when add address failed
      Signed-off-by: default avatarLi RongQing <roy.qing.li@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      a3f5ee71
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · 545a112b
      David S. Miller authored
      
      
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates 2014-06-20
      
      This series contains updates to i40e and i40evf.
      
      Anjali provides an update to the registers to handle the updates from the
      hardware.  Also provides a fix so that we do not try to access the rings
      through the qvectors at the time of freeing the qvectors.
      
      Jesse provides a workaround for some older NVM versions where the NVM
      was not filling in the GLQF_HKEY register, so made sure that the
      critical register is initialized.
      
      Michal provides a fix to reset the head and tail on admin queue
      initialization where head and tail are not reset by the hardware.
      
      Neerav adds a helper routine that would wait for the Rx/Tx queue to reach
      the enable or disable state that is requested.  Also provides a fix
      to the debugfs command "lldp get remote" which was dumping the local
      LLDPDU instead of the peer's LLDPDU.  Fixed a bug when all the Tx hang
      recovery mechanisms have failed and the driver tries to bring down the
      interface in the interrupt context.
      
      Shannon provides a patch to clear the Virtual Ethernet Bridge (VEB) stats
      when the PF stats are cleared.  Also cleans the service tasks so that
      they do not run while a reset is in progress.
      
      Mitch fixes an issue in i40evf_get_rxfh() where only fifteen registers
      were being read instead of all sixteen.
      
      Carolyn provides a change to the RSS configuration to set table size and
      write to the hardware to confirm the RSS table size being used.
      
      Kamil makes a change to the admin queue debug prints so that they will not
      cause segmentation faults in some of our tool applications.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      545a112b
  5. 20 Jun, 2014 13 commits