1. 11 1月, 2018 2 次提交
    • J
      dt-bindings: net: Add DT bindings for Socionext Netsec · f78f4107
      Jassi Brar 提交于
      This patch adds documentation for Device-Tree bindings for the
      Socionext NetSec Controller driver.
      Reviewed-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NJassi Brar <jaswinder.singh@linaro.org>
      Signed-off-by: NArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f78f4107
    • D
      Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · c215dae4
      David S. Miller 提交于
      Jeff Kirsher says:
      
      ====================
      10GbE Intel Wired LAN Driver Updates 2018-01-09
      
      This series contains updates to ixgbe and ixgbevf only.
      
      Emil fixes an issue with "wake on LAN"(WoL) where we need to ensure we
      enable the reception of multicast packets so that WoL works for IPv6
      magic packets.  Cleaned up code no longer needed with the update to
      adaptive ITR.
      
      Paul update the driver to advertise the highest capable link speed
      when a module gets inserted.  Also extended the displaying of firmware
      version to include the iSCSI and OEM block in the EEPROM to better
      identify firmware versions/images.
      
      Tonghao Zhang cleans up a code comment that no longer applies since
      InterruptThrottleRate has been removed from the driver.
      
      Alex fixes SR-IOV and MACVLAN offload interaction, where the MACVLAN
      offload was incorrectly configuring several filters with the wrong
      pool value which resulted in MACLVAN interfaces not being able to
      receive traffic that had to pass over the physical interface.  Fixed
      transmit hangs and dropped receive frames when the number of VFs
      changed.  Added support for RSS on MACVLAN pools for X550 devices.
      Fixed up the MACVLAN limitations so we can now support 63 offloaded
      devices.  Cleaned up MACVLAN code that is no longer needed with the
      recent changes and fixes.
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c215dae4
  2. 10 1月, 2018 35 次提交
  3. 09 1月, 2018 3 次提交
    • D
      Merge branch 'XDP-transmission-for-tuntap' · e8b18af8
      David S. Miller 提交于
      Jason Wang says:
      
      ====================
      XDP transmission for tuntap
      
      This series tries to implement XDP transmission (ndo_xdp_xmit) for
      tuntap. Pointer ring was used for queuing both XDP buffers and
      sk_buff, this is done by encoding the type into lowest bit of the
      pointer and storin XDP metadata in the headroom of XDP buff.
      
      Tests gets 3.05 Mpps when doing xdp_redirect_map from ixgbe to VM
      (testpmd + virtio-net in guest). This gives us ~20% improvments
      compared to use skb during redirect.
      
      Please review.
      
      Changes from V1:
      
      - slient warnings
      - fix typos
      - add skb mode number in the commit log
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e8b18af8
    • J
      tuntap: XDP transmission · fc72d1d5
      Jason Wang 提交于
      This patch implements XDP transmission for TAP. Since we can't create
      new queues for TAP during XDP set, exist ptr_ring was reused for
      queuing XDP buffers. To differ xdp_buff from sk_buff, TUN_XDP_FLAG
      (0x1UL) was encoded into lowest bit of xpd_buff pointer during
      ptr_ring_produce, and was decoded during consuming. XDP metadata was
      stored in the headroom of the packet which should work in most of
      cases since driver usually reserve enough headroom. Very minor changes
      were done for vhost_net: it just need to peek the length depends on
      the type of pointer.
      
      Tests were done on two Intel E5-2630 2.40GHz machines connected back
      to back through two 82599ES. Traffic were generated/received through
      MoonGen/testpmd(rxonly). It reports ~20% improvements when
      xdp_redirect_map is doing redirection from ixgbe to TAP (from 2.50Mpps
      to 3.05Mpps)
      
      Cc: Jesper Dangaard Brouer <brouer@redhat.com>
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fc72d1d5
    • J
      tun/tap: use ptr_ring instead of skb_array · 5990a305
      Jason Wang 提交于
      This patch switches to use ptr_ring instead of skb_array. This will be
      used to enqueue different types of pointers by encoding type into
      lower bits.
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5990a305