1. 01 Jul, 2019 1 commit
  2. 01 May, 2019 1 commit
  3. 16 Feb, 2019 5 commits
  4. 14 Feb, 2019 4 commits
  5. 01 Oct, 2018 1 commit
  6. 09 Aug, 2018 1 commit
  7. 26 Mar, 2018 1 commit
    • Moshe Shemesh's avatar
      net/mlx5: Add packet dropped while vport down statistics · aaabd078
      Moshe Shemesh authored
      Added the following packets dropped while vport down statistics:
      Rx dropped while vport down - counts packets which were steered by
      e-switch to a vport, but dropped since the vport was down. This counter
      will be shown on ip link tool as part of the vport rx_dropped counter.
      Tx dropped while vport down - counts packets which were transmitted by
      a vport, but dropped due to vport logical link down. This counter
      will be shown on ip link tool as part of the vport tx_dropped counter.
      The counters are read from FW by command QUERY_VNIC_ENV.
      Signed-off-by: default avatarMoshe Shemesh <moshe@mellanox.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
  8. 08 Jan, 2018 1 commit
    • Daniel Jurgens's avatar
      {net, IB}/mlx5: Manage port association for multiport RoCE · 32f69e4b
      Daniel Jurgens authored
      When mlx5_ib_add is called determine if the mlx5 core device being
      added is capable of dual port RoCE operation. If it is, determine
      whether it is a master device or a slave device using the
      num_vhca_ports and affiliate_nic_vport_criteria capabilities.
      If the device is a slave, attempt to find a master device to affiliate it
      with. Devices that can be affiliated will share a system image guid. If
      none are found place it on a list of unaffiliated ports. If a master is
      found bind the port to it by configuring the port affiliation in the NIC
      vport context.
      Similarly when mlx5_ib_remove is called determine the port type. If it's
      a slave port, unaffiliate it from the master device, otherwise just
      remove it from the unaffiliated port list.
      The IB device is registered as a multiport device, even if a 2nd port is
      not available for affiliation. When the 2nd port is affiliated later the
      GID cache must be refreshed in order to get the default GIDs for the 2nd
      port in the cache. Export roce_rescan_device to provide a mechanism to
      refresh the cache after a new port is bound.
      In a multiport configuration all IB object (QP, MR, PD, etc) related
      commands should flow through the master mlx5_core_dev, other commands
      must be sent to the slave port mlx5_core_mdev, an interface is provide
      to get the correct mdev for non IB object commands.
      Signed-off-by: default avatarDaniel Jurgens <danielj@mellanox.com>
      Reviewed-by: default avatarParav Pandit <parav@mellanox.com>
      Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
      Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
  9. 24 Jul, 2017 1 commit
  10. 24 Jan, 2017 1 commit
  11. 24 Nov, 2016 1 commit
  12. 17 Aug, 2016 1 commit
  13. 26 Jul, 2016 1 commit
  14. 10 Jun, 2016 1 commit
  15. 24 Apr, 2016 1 commit
  16. 21 Mar, 2016 2 commits
  17. 01 Mar, 2016 1 commit
  18. 23 Dec, 2015 2 commits
  19. 03 Dec, 2015 5 commits
  20. 08 Jun, 2015 1 commit
  21. 04 Jun, 2015 2 commits
  22. 31 May, 2015 1 commit
    • Amir Vadai's avatar
      net/mlx5: Ethernet resource handling files · afb736e9
      Amir Vadai authored
      This patch contains the resource handling files:
      - flow_table.c: This file contains the code to handle the low level API
      		to configure hardware flow table. It is separated from
      		the flow_table_en.c, because it will be used in the
      		future by Raw Ethernet QP in mlx5_ib too.
      - en_flow_table.[ch]: Ethernet flow steering handling. The flow table
      		object contain a mapping between flow specs and TIRs.
      		This mechanism will be used also to configure e-switch
      		in the future, when SR-IOV support will be added.
      - transobj.[ch] - Low level functions to create/modify/destroy the
                        transport objects: RQ/SQ/TIR/TIS
      - vport.[ch] - Handle attributes of a virtual port (vPort) in the
        embedded switch. Currently this switch is a passthrough, until SR-IOV
        support will be added.
      Signed-off-by: default avatarAmir Vadai <amirv@mellanox.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
  23. 02 Apr, 2015 1 commit
  24. 08 Jul, 2013 1 commit
  25. 15 Feb, 2012 1 commit
  26. 11 Aug, 2011 1 commit