1. 08 7月, 2014 21 次提交
  2. 03 7月, 2014 16 次提交
  3. 02 7月, 2014 3 次提交
    • E
      inet: move ipv6only in sock_common · 9fe516ba
      Eric Dumazet 提交于
      When an UDP application switches from AF_INET to AF_INET6 sockets, we
      have a small performance degradation for IPv4 communications because of
      extra cache line misses to access ipv6only information.
      
      This can also be noticed for TCP listeners, as ipv6_only_sock() is also
      used from __inet_lookup_listener()->compute_score()
      
      This is magnified when SO_REUSEPORT is used.
      
      Move ipv6only into struct sock_common so that it is available at
      no extra cost in lookups.
      Signed-off-by: NEric Dumazet <edumazet@google.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9fe516ba
    • D
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · 090cce42
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates 2014-07-01
      
      This series contains updates to i40e, i40evf, igb and ixgbe.
      
      Shannon adds the Base Address High and Low to the admin queue structure
      to simplify the logic in the configuration routines.  Also adds code to
      clear all queues and interrupts to help clean up after a PXE or other
      early boot activity.
      
      Kevin fixes mask assignment value since -1 cannot be used for unsigned
      integer types.
      
      Mitch fixes an issue where in some circumstances the reply from the PF
      would come back before we were able to properly modify the admin queue
      pending and required flags.  This would mess up the flags and put the
      driver in an indeterminate state, so fix this by simply setting the flags
      before sending the request to the admin queue.  Also changes the branding
      string for i40evf to reduce confusion and to match up with our other
      marketing materials.
      
      Kamil adds a new variable defining admin send queue (ASQ) command write
      back timeout to allow for dynamic modification of this timeout.
      
      Anjali fix a bug in the flow director filter replay logic, so that we
      call a replay after a sideband reset correctly.
      
      Jesse adds code to initialize all members of the context descriptor to
      prevent possible stale data.
      
      Christopher fixes i40e to prevent writing to reserved bits, since the
      queue index is only 0-127.
      
      Jacob removes the unneeded header export.h from the i40e PTP code.
      Fixes ixgbe PTP code where the PPS signal was not correct, as it
      generates a one half HZ clock signal, it only generates one level
      change per second.  To generate a full clock, we need two level changes
      per second.
      
      Todd provides a fix for igb to bring up link when the PHY has powered
      up, which was reported by Jeff Westfahl.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      090cce42
    • J
      bonding: allow to add vlans on top of empty bond · 763e0ecd
      Jiri Pirko 提交于
      This limitation maybe had some reason in the past, but now there is not
      one -> removing this.
      Signed-off-by: NJiri Pirko <jiri@resnulli.us>
      Acked-by: NVeaceslav Falico <vfalico@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      763e0ecd