1. 18 2月, 2016 36 次提交
  2. 17 2月, 2016 4 次提交
    • J
      i40e: trivial: drop duplicate definition · f3699b3c
      Jesse Brandeburg 提交于
      The probe routine already had a u32 val declared, no need
      to do it again.  Found by W=2 compile.
      
      Change-ID: Id7b65f6d0ef6bb71067d0557f5be0202b6d8741e
      Signed-off-by: NJesse Brandeburg <jesse.brandeburg@intel.com>
      Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      f3699b3c
    • D
      Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · f5515885
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      40GbE Intel Wired LAN Driver Updates 2016-02-16
      
      This series contains updates to i40e/i40evf only.
      
      Shannon adds flags to MAC allocation requests to signify that the MAC VLAN
      filters should come from the shared resource pool.  Added a new "set switch
      config" admin queue command and the new Cisco VXLAN-GPE cloud tunnel type
      for the admin queue commands.  Added more detail to the NVM update debug
      message in order to see the full ethtool request data.  Also added a few
      more bits of netdev data into the debugfs output for dump VSI.
      
      Pandi fixes the width of two datatypes which were being declared a different
      size from what they are assigned.
      
      Anjali fixes an issue where we were not doing write-back on interrupt
      throttle for legacy case in x722.
      
      Mitch adds a counter for ARQ overflows since sometimes an ever-growing
      number indicates that something bad is happening.  Also added 20G speed for
      Tx bandwidth calculations.
      
      Jesse refactors the DCB function based on a community suggestion to change
      the multi-level if statement into a switch statement.  Cleans up VF device
      IDs in the PF, since it does not need to know them.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f5515885
    • D
      Merge branch 'tc-hw-offload' · 86f44778
      David S. Miller 提交于
      John Fastabend says:
      
      ====================
      tc offload for cls_u32 on ixgbe
      
      This extends the setup_tc framework so it can support more than just
      the mqprio offload and push other classifiers and qdiscs into the
      hardware. The series here targets the u32 classifier and ixgbe
      driver. I worked out the u32 classifier because it is protocol
      oblivious and aligns with multiple hardware devices I have access
      to. I did an initial implementation on ixgbe because (a) I have one
      in my box (b) its a stable driver and (c) it is relatively simple
      compared to the other devices I have here but still has enough
      flexibility to exercise the features of cls_u32.
      
      I intentionally limited the scope of this series to the basic
      feature set. Specifically this uses a 'big hammer' feature bit
      to do the offload or not. If the bit is set you get offloaded rules
      if it is not then rules will not be offloaded. If we can agree on
      this patch series there are some more patches on my queue we can
      talk about to make the offload decision per rule using flags similar
      to how we do l2 mac updates. Additionally the error strategy can
      be improved to be hard aborting, log and continue, etc. I think
      these are nice to have improvements but shouldn't block this series.
      
      Also by adding get_parse_graph and set_parse_graph attributes as
      in my previous flow_api work we can build programmable devices
      and programmatically learn when rules can or can not be loaded
      into the hardware. Again future work.
      
      ... v3 includes a couple style fixups suggested by Jiri and a
      quick fix to ixgbe to check features flag and not dev_features
      flag the latter being always set.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      86f44778
    • J
      net: ixgbe: abort with cls u32 divisor groups greater than 1 · db956ae8
      John Fastabend 提交于
      This patch ensures ixgbe will not try to offload hash tables from the
      u32 module. The device class does not currently support this so until
      it is enabled just abort on these tables.
      
      Interestingly the more flexible your hardware is the less code you
      need to implement to guard against these cases.
      Signed-off-by: NJohn Fastabend <john.r.fastabend@intel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      db956ae8