1. 04 Mar, 2015 1 commit
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · b97526f3
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates 2015-03-03
      
      This series contains updates to fm10k, i40e and i40evf.
      
      Matthew updates the fm10k driver by cleaning up code comments and whitespace
      issues.  Also modifies the tunnel length header check, to make it more robust
      by calculating the inner L4 header length based on whether it is TCP or UDP.
      Implemented ndo_features_check() that allows drivers to report their offload
      capabilities per-skb.
      
      Neerav updates the i40e driver to skip over priority tagging if DCB is not
      enabled.  Fixes an issue where the driver is not flushing out the
      DCBNL app table for applications that are not present in the local DCBX
      application configuration TLVs.  Fixed i40e where, in the case of MFP
      mode, the driver was returning the incorrect number of traffic classes
      for partitions that are not enabled for iSCSI.  Even though the driver
      was not configuring these traffic classes in the transmit scheduler for
      the NIC partitions, it does use this map to setup the queue mappings.
      
      Shannon updates i40e/i40evf to include the firmware build number in the
      formatted firmware version string.
      
      Akeem adds a safety net (by adding a 'default' case) for the possible
      unmatched switch calls.
      
      Mitch updates i40e to not automatically disable PF loopback at runtime,
      now that we have the functionality to enable and disable PF loopback.  This
      fix cleans up a bogus error message when removing the PF module with VFs
      enabled.  Adds a extra check to make sure that the indirection table
      pointer is valid before dereferencing it.
      
      Anjali enables i40e to enable more than the max RSS qps when running in a
      single TC mode for the main VSI.  It is possible to enable as many as
      num_online_cpus().  Adds a firmware check to ensure that DCB is disabled for
      firmware versions older than 4.33.  Updates i40e/i40evf to add missing
      packet types for VXLAN offload.  Updated i40e to be able to handle varying
      RSS table size for each VSI, since all VSI's do not have the same RSS table
      size.
      
      v2: Dropped previous patch #9 "i40e/i40evf: Add capability to gather VEB
          per TC stats" since the stats should be in ethtool and not debugfs.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b97526f3
  2. 03 Mar, 2015 33 commits
  3. 02 Mar, 2015 6 commits
    • David S. Miller's avatar
      Merge branch 'neigh_cleanups' · b898441f
      David S. Miller authored
      Eric W. Biederman says:
      
      ====================
      Neighbour table and ax25 cleanups
      
      While looking at the neighbour table to what it would take to allow
      using next hops in a different address family than the current packets
      I found a partial resolution for my issues and I stumbled upon some
      work that makes the neighbour table code easier to understand and
      maintain.
      
      Long ago in a much younger kernel ax25 found a hack to use
      dev_rebuild_header to transmit it's packets instead of going through
      what today is ndo_start_xmit.
      
      When the neighbour table was rewritten into it's current form the ax25
      code was such a challenge that arp_broken_ops appeard in arp.c and
      neigh_compat_output appeared in neighbour.c to keep the ax25 hack alive.
      
      With a little bit of work I was able to remove some of the hack that
      is the ax25 transmit path for ip packets and to isolate what remains
      into a slightly more readable piece of code in ax25_ip.c.  Removing the
      need for the generic code to worry about ax25 special cases.
      
      After cleaning up the old ax25 hacks I also performed a little bit of
      work on neigh_resolve_output to remove the need for a dst entry and to
      ensure cached headers get a deterministic protocol value in their cached
      header.   This guarantees that a cached header will not be different
      depending on which protocol of packet is transmitted, and it allows
      packets to be transmitted that don't have a dst entry.  There remains
      a small amount of code that takes advantage of when packets have a dst
      entry but that is something different.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b898441f
    • Eric W. Biederman's avatar
      neigh: Don't require a dst in neigh_resolve_output · 435e8eb2
      Eric W. Biederman authored
      Having a dst helps a little bit for teql but is fundamentally
      unnecessary and there are code paths where a dst is not available that
      it would be nice to use the neighbour cache.
      Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      435e8eb2
    • Eric W. Biederman's avatar
      neigh: Don't require dst in neigh_hh_init · bdf53c58
      Eric W. Biederman authored
      - Add protocol to neigh_tbl so that dst->ops->protocol is not needed
      - Acquire the device from neigh->dev
      
      This results in a neigh_hh_init that will cache the samve values
      regardless of the packets flowing through it.
      Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      bdf53c58
    • Eric W. Biederman's avatar
      arp: Kill arp_find · 59b2af26
      Eric W. Biederman authored
      There are no more callers so kill this function.
      Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      59b2af26
    • Eric W. Biederman's avatar
      net: Kill dev_rebuild_header · d476059e
      Eric W. Biederman authored
      Now that there are no more users kill dev_rebuild_header and all of it's
      implementations.
      
      This is long overdue.
      Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d476059e
    • Eric W. Biederman's avatar
      ax25: Stop depending on arp_find · 945db424
      Eric W. Biederman authored
      Have ax25_neigh_output perform ordinary arp resolution before calling
      ax25_neigh_xmit.
      
      Call dev_hard_header in ax25_neigh_output with a destination address so
      it will not fail, and the destination mac address will not need to be
      set in ax25_neigh_xmit.
      
      Remove arp_find from ax25_neigh_xmit (the ordinary arp resolution added
      to ax25_neigh_output removes the need for calling arp_find).
      
      Document how close ax25_neigh_output is to neigh_resolve_output.
      
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: linux-hams@vger.kernel.org
      Signed-off-by: default avatar"Eric W. Biederman" <ebiederm@xmission.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      945db424