1. 31 Oct, 2016 33 commits
  2. 30 Oct, 2016 7 commits
    • David S. Miller's avatar
      Merge tag 'shared-for-4.10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma · 0a6ce1e3
      David S. Miller authored
      Saeed Mahameed says:
      
      ====================
      Mellanox mlx5 core driver updates 2016-10-25
      
      This series contains some updates and fixes of mlx5 core and
      IB drivers with the addition of two features that demand
      new low level commands and infrastructure updates.
       - SRIOV VF max rate limit support
       - mlx5e tc support for FWD rules with counter.
      
      Needed for both net and rdma subsystems.
      
      Updates and Fixes:
      From Saeed Mahameed (2):
        - mlx5 IB: Skip handling unknown mlx5 events
        - Add ConnectX-5 PCIe 4.0 VF device ID
      
      From Artemy Kovalyov (2):
        - Update struct mlx5_ifc_xrqc_bits
        - Ensure SRQ physical address structure endianness
      
      From Eugenia Emantayev (1):
        - Fix length of async_event_mask
      
      New Features:
      From Mohamad Haj Yahia (3): mlx5 SRIOV VF max rate limit support
        - Introduce TSAR manipulation firmware commands
        - Introduce E-switch QoS management
        - Add SRIOV VF max rate configuration support
      
      From Mark Bloch (7): mlx5e Tc support for FWD rule with counter
        - Don't unlock fte while still using it
        - Use fte status to decide on firmware command
        - Refactor find_flow_rule
        - Group similar rules under the same fte
        - Add multi dest support
        - Add option to add fwd rule with counter
        - mlx5e tc support for FWD rule with counter
        Mark here fixed two trivial issues with the flow steering core, and did
        some refactoring in the flow steering API to support adding mulit destination
        rules to the same hardware flow table entry at once.  In the last two patches
        added the ability to populate a flow rule with a flow counter to the same flow entry.
      
      V2: Dropped some patches that added new structures without adding any usage of them.
          Added SRIOV VF max rate configuration support patch that introduces
          the usage of the TSAR infrastructure.
          Added flow steering fixes and refactoring in addition to mlx5 tc
          support for forward rule with counter.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0a6ce1e3
    • Philippe Reynes's avatar
      net: bonding: use new api ethtool_{get|set}_link_ksettings · d46b6349
      Philippe Reynes authored
      The ethtool api {get|set}_settings is deprecated.
      We move this driver to new api {get|set}_link_ksettings.
      Signed-off-by: default avatarPhilippe Reynes <tremyfr@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d46b6349
    • David S. Miller's avatar
      Merge branch 'mlxsw-IB' · 2701c3b3
      David S. Miller authored
      Jiri Pirko says:
      
      ====================
      mlxsw: Add Infiniband support for Mellanox switches
      
      This patchset adds basic Infiniband support for SwitchX-2, Switch-IB
      and Switch-IB-2 ASIC drivers.
      
      SwitchX-2 ASIC is VPI capable, which means each port can be either
      Ethernet or Infiniband. When the port is configured as Infiniband,
      the Subnet Management Agent (SMA) is managed by the SwitchX-2 firmware
      and not by the host. Port configuration, MTU and more are configured
      remotely by the Subnet Manager (SM).
      
      Usage:
              $ devlink port show
              pci/0000:03:00.0/1: type eth netdev eth0
              pci/0000:03:00.0/3: type eth netdev eth1
              pci/0000:03:00.0/5: type eth netdev eth2
              pci/0000:03:00.0/6: type eth netdev eth3
              pci/0000:03:00.0/8: type eth netdev eth4
      
              $ devlink port set pci/0000:03:00.0/1 type ib
      
              $ devlink port show
              pci/0000:03:00.0/1: type ib
      
      Switch-IB (FDR) and Switch-IB-2 (EDR 100Gbs) ASICs are Infiniband-only
      switches. The support provided in the mlxsw_switchib.ko driver is port
      initialization only. The firmware running in the Silicon implements
      the SMA.
      
      Please note that this patchset does only very basic port initialization.
      ib_device or RDMA implementations are not part of this patchset.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2701c3b3
    • Elad Raz's avatar
      mlxsw: switchib: Introduce SwitchIB and SwitchIB silicon driver · d1ba5263
      Elad Raz authored
      SwitchIB and SwitchIB-2 are Infiniband switches with up to 36 ports. This
      driver initialize the hardware and Firmware which implements the IB
      management and connection with the SM.
      Signed-off-by: default avatarElad Raz <eladr@mellanox.com>
      Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d1ba5263
    • Elad Raz's avatar
      mlxsw: switchx2: Add IB port support · 64b92b01
      Elad Raz authored
      SwitchX-2 is IB capable device. This patch add a support to change the
      port type between Ethernet and Infiniband.
      
      When the port is set to IB, the FW implements the Subnet Management Agent
      (SMA) manage the port. All port attributes can be control remotely by
      the SM.
      
      Usage:
      	$ devlink port show
      	pci/0000:03:00.0/1: type eth netdev eth0
      	pci/0000:03:00.0/3: type eth netdev eth1
      	pci/0000:03:00.0/5: type eth netdev eth2
      	pci/0000:03:00.0/6: type eth netdev eth3
      	pci/0000:03:00.0/8: type eth netdev eth4
      
      	$ devlink port set pci/0000:03:00.0/1 type ib
      
      	$ devlink port show
      	pci/0000:03:00.0/1: type ib
      Signed-off-by: default avatarElad Raz <eladr@mellanox.com>
      Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      64b92b01
    • Elad Raz's avatar
      mlxsw: switchx2: Add eth prefix to port create and remove · 03ddb787
      Elad Raz authored
      Since we are about to add Infiniband port remove and create we will add
      "eth" prefix to port create and remove APIs.
      Signed-off-by: default avatarElad Raz <eladr@mellanox.com>
      Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      03ddb787
    • Elad Raz's avatar
      mlxsw: core: Add port type (Eth/IB) set API · 0c81ea5d
      Elad Raz authored
      Add "port_type_set" API to mlxsw core. The core layer send the change type
      callback to the port along with it's private information.
      Signed-off-by: default avatarElad Raz <eladr@mellanox.com>
      Reviewed-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      0c81ea5d