1. 11 Jun, 2014 4 commits
    • Hariprasad Shenai's avatar
      iw_cxgb4: Allocate and use IQs specifically for indirect interrupts · cf38be6d
      Hariprasad Shenai authored
      Currently indirect interrupts for RDMA CQs funnel through the LLD's RDMA
      RXQs, which also handle direct interrupts for offload CPLs during RDMA
      connection setup/teardown.  The intended T4 usage model, however, is to
      have indirect interrupts flow through dedicated IQs. IE not to mix
      indirect interrupts with CPL messages in an IQ.  This patch adds the
      concept of RDMA concentrator IQs, or CIQs, setup and maintained by the
      LLD and exported to iw_cxgb4 for use when creating CQs. RDMA CPLs will
      flow through the LLD's RDMA RXQs, and CQ interrupts flow through the
      CIQs.
      
      Design:
      
      cxgb4 creates and exports an array of CIQs for the RDMA ULD.  These IQs
      are sized according to the max available CQs available at adapter init.
      In addition, these IQs don't need FL buffers since they only service
      indirect interrupts.  One CIQ is setup per RX channel similar to the
      RDMA RXQs.
      
      iw_cxgb4 will utilize these CIQs based on the vector value passed into
      create_cq().  The num_comp_vectors advertised by iw_cxgb4 will be the
      number of CIQs configured, and thus the vector value will be the index
      into the array of CIQs.
      
      Based on original work by Steve Wise <swise@opengridcomputing.com>
      Signed-off-by: default avatarSteve Wise <swise@opengridcomputing.com>
      Signed-off-by: default avatarHariprasad Shenai <hariprasad@chelsio.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      cf38be6d
    • stephen hemminger's avatar
      gre: allow changing mac address when device is up · f8c1b7ce
      stephen hemminger authored
      There is no need to require forcing device down on a Ethernet GRE (gretap)
      tunnel to change the MAC address.
      Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f8c1b7ce
    • Octavian Purdila's avatar
      tcp: add gfp parameter to tcp_fragment · 6cc55e09
      Octavian Purdila authored
      tcp_fragment can be called from process context (from tso_fragment).
      Add a new gfp parameter to allow it to preserve atomic memory if
      possible.
      Signed-off-by: default avatarOctavian Purdila <octavian.purdila@intel.com>
      Reviewed-by: default avatarChristoph Paasch <christoph.paasch@uclouvain.be>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6cc55e09
    • David S. Miller's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next · 27fa589d
      David S. Miller authored
      Jeff Kirsher says:
      
      ====================
      Intel Wired LAN Driver Updates 2014-06-09
      
      This series contains more updates to i40e and i40evf.
      
      Shannon adds checks for error status bits on the admin event queue and
      provides notification if seen.  Cleans up unused variable and memory
      allocation which was used earlier in driver development and is no longer
      needed.  Also fixes the driver to not complain about removing
      non-existent MAC addresses.  Bumps the driver versions for both i40e
      and i40evf.
      
      Catherine fixes a function header comment to make sure the comment correctly
      reflects the function name.
      
      Mitch adds code to allow for additional VSIs since the number of VSIs that
      the firmware reports to us is a guaranteed minimum, not an absolute
      maximum.  The hardware actually supports for more than the reported value,
      which we often need.  Implements anti-spoofing for VFs for both MAC
      addresses and VLANs, as well as enable this feature by default for all VFs.
      
      Anjali changes the interrupt distribution policy to change the way
      resources for special features are handled.  Fixes the driver to not fall
      back to one queue if the only feature enabled is ATR, since FD_SB
      and FD_ATR need to be checked independently in order to decide if we
      will support multiple queue or not.  Allows the RSS table entry range
      and GPS to be any number, not necessarily a power of 2 because hardware
      does not restrict us to use a power of 2 GPS in the case of RSS as long as
      we are not sharing the RSS table with another VSI (VMDq).
      
      Frank modifies the driver to keep SR-IOV enabled in the case that RSS,
      VMFq, FD_SB and DCB are disabled so that SR-IOV does not get turned off
      unnecessarily.
      
      Jesse fixes a bug in receive checksum where the driver was not marking
      packets with bad checksums correctly, especially IPv6 packets with a bad
      checksum.  To do this correctly, we need a define that may be set by
      hardware in rare cases.
      
      Greg fixes the driver to delete all the old and stale MAC filters for the
      VF VSI when the host administrator changes the VF MAC address from under
      its feet.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      27fa589d
  2. 09 Jun, 2014 13 commits
  3. 08 Jun, 2014 17 commits
  4. 06 Jun, 2014 6 commits