1. 10 Jan, 2018 9 commits
    • David S. Miller's avatar
      Merge tag 'mlx5-updates-2018-01-08' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux · 65d51f26
      David S. Miller authored
      mlx5-updates-2018-01-08
      
      Four patches from Or that add Hairpin support to mlx5:
      ===========================================================
      From:  Or Gerlitz <ogerlitz@mellanox.com>
      
      We refer the ability of NIC HW to fwd packet received on one port to
      the other port (also from a port to itself) as hairpin. The application API
      is based
      on ingress tc/flower rules set on the NIC with the mirred redirect
      action. Other actions can apply to packets during the redirect.
      
      Hairpin allows to offload the data-path of various SW DDoS gateways,
      load-balancers, etc to HW. Packets go through all the required
      processing in HW (header re-write, encap/decap, push/pop vlan) and
      then forwarded, CPU stays at practically zero usage. HW Flow counters
      are used by the control plane for monitoring and accounting.
      
      Hairpin is implemented by pairing a receive queue (RQ) to send queue (SQ).
      All the flows that share <recv NIC, mirred NIC> are redirected through
      the same hairpin pair. Currently, only header-rewrite is supported as a
      packet modification action.
      
      I'd like to thanks Elijah Shakkour <elijahs@mellanox.com> for implementing this
      functionality
      on HW simulator, before it was avail in the FW so the driver code could be
      tested early.
      ===========================================================
      
      From Feras three patches that provide very small changes that allow IPoIB
      to support RX timestamping for child interfaces, simply by hooking the mlx5e
      timestamping PTP ioctl to IPoIB child interface netdev profile.
      
      One patch from Gal to fix a spilling mistake.
      
      Two patches from Eugenia adds drop counters to VF statistics
      to be reported as part of VF statistics in netlink (iproute2) and
      implemented them in mlx5 eswitch.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      65d51f26
    • David S. Miller's avatar
      Merge branch 'hns3-next' · 45f89822
      David S. Miller authored
      Peng Li says:
      
      ====================
      code improvements in HNS3 driver
      
      This patchset fixes 2 comments for community review.
      [patch 1/2] reverts "net: hns3: Add packet statistics of netdev"
      reported by Jakub Kicinski and David Miller.
      [patch 2/2] reports the function type the same line with
      hns3_nic_get_stats64, reported by Andrew Lunn.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      45f89822
    • Peng Li's avatar
      net: hns3: report the function type the same line with hns3_nic_get_stats64 · 6c88d9d7
      Peng Li authored
      The function type should be on the same line with the function
      name, or it may cause display error if a patch edit the
      function. There is am example following:
      https://www.spinics.net/lists/netdev/msg476141.htmlSigned-off-by: default avatarPeng Li <lipeng321@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      6c88d9d7
    • Peng Li's avatar
      Revert "net: hns3: Add packet statistics of netdev" · bf909456
      Peng Li authored
      This reverts commit 84910007.
      
      It is duplicate to add statistics of netdev for ethtool -S.
      Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      bf909456
    • David S. Miller's avatar
      Merge branch 'Socionext-Synquacer-NETSEC-driver' · 68d5c265
      David S. Miller authored
      Jassi Brar says:
      
      ====================
      Socionext Synquacer NETSEC driver
      
      Changes since v5
      	# Removed helper macros
      	# Removed 'inline' qualifier
      	# Changed multiline empty comment to single line
      	# Added 'clock-names' property in DT binding example
      	# Ignore 'clock-names' property in driver until f/ws in the wild are
      	  upgraded or we support instance that take in more than one clock.
      	# Rebased the patchset onto net-next
      
      Changes since v4
              # Fixed ucode indexing as a word, instead of byte
              # Removed redundant clocks, keep only phy rate reference clock
                and expect it to be 'phy_ref_clk'
      
      Changes since v3
              # Discard 'socionext,snq-mdio', and simply use 'mdio' subnode.
              # Use ioremap on ucode region as well, instead of memremap.
      
      Changes since v2
              # Use 'mdio' subnode in DT bindings.
              # Use phy_interface_mode_is_rgmii(), instead of open coding the check.
              # Use readl/b with eeprom_base pointer.
              # Unregister mdio bus upon failure in probe.
      
      Changes since v1
              # Switched from using memremap to ioremap
              # Implemented ndo_do_ioctl callback
              # Defined optional 'dma-coherent' DT property
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      68d5c265
    • Jassi Brar's avatar
      MAINTAINERS: Add entry for Socionext ethernet driver · 919e66a2
      Jassi Brar authored
      Add entry for the Socionext Netsec controller driver and DT bindings.
      Acked-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      919e66a2
    • Jassi Brar's avatar
      net: socionext: Add Synquacer NetSec driver · 533dd11a
      Jassi Brar authored
      This driver adds support for Socionext "netsec" IP Gigabit
      Ethernet + PHY IP used in the Synquacer SC2A11 SoC.
      Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      533dd11a
    • Jassi Brar's avatar
      dt-bindings: net: Add DT bindings for Socionext Netsec · f78f4107
      Jassi Brar authored
      This patch adds documentation for Device-Tree bindings for the
      Socionext NetSec Controller driver.
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
      Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f78f4107
    • David S. Miller's avatar
      Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue · c215dae4
      David S. Miller authored
      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: default avatarDavid S. Miller <davem@davemloft.net>
      c215dae4
  2. 09 Jan, 2018 31 commits