1. 08 Nov, 2016 1 commit
  2. 07 Nov, 2016 21 commits
  3. 05 Nov, 2016 16 commits
  4. 04 Nov, 2016 2 commits
    • David S. Miller's avatar
      Merge branch 'nfp-ring-reconfig-and-xdp-support' · 95ae31a9
      David S. Miller authored
      Jakub Kicinski says:
      
      ====================
      ring reconfiguration and XDP support
      
      This set adds support for ethtool channel API and XDP.
      
      I kick off with ethtool get_channels() implementation.
      set_channels() needs some preparations to get right.  I follow
      the prepare/commit paradigm and allocate all resources before
      stopping the device.  It has already been done for ndo_change_mtu
      and ethtool set_ringparam(), it makes sense now to consolidate all
      the required logic in one place.
      
      XDP support requires splitting TX rings into two classes -
      for the stack and for XDP.  The ring structures are identical.
      The differences are in how they are connected to IRQ vector
      structs and how the completion/cleanup works.  When XDP is enabled
      I switch from the frag allocator to page-per-packet and map buffers
      BIDIRECTIONALly.
      
      Last but not least XDP offload is added (the patch just takes
      care of the small formal differences between cls_bpf and XDP).
      
      There is a tiny & trivial DebugFS patch in the mix, I hope it can
      be taken via net-next provided we have the right Acks.
      
      Resending with improved commit message and CCing more people on patch 10.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      95ae31a9
    • Jakub Kicinski's avatar
      nfp: add support for offload of XDP programs · 6d677075
      Jakub Kicinski authored
      Most infrastructure can be reused, provide separate handling
      of context offsets and exit codes.
      Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6d677075