1. 03 5月, 2020 1 次提交
  2. 02 5月, 2020 1 次提交
  3. 29 4月, 2020 9 次提交
  4. 24 4月, 2020 3 次提交
  5. 19 4月, 2020 4 次提交
  6. 28 3月, 2020 1 次提交
  7. 27 3月, 2020 1 次提交
  8. 18 3月, 2020 1 次提交
  9. 13 3月, 2020 3 次提交
  10. 11 3月, 2020 1 次提交
  11. 08 3月, 2020 4 次提交
  12. 05 3月, 2020 1 次提交
    • Y
      net/mlx5: Expose raw packet pacing APIs · 1326034b
      Yishai Hadas 提交于
      Expose raw packet pacing APIs to be used by DEVX based applications.
      The existing code was refactored to have a single flow with the new raw
      APIs.
      
      The new raw APIs considered the input of 'pp_rate_limit_context', uid,
      'dedicated', upon looking for an existing entry.
      
      This raw mode enables future device specification data in the raw
      context without changing the existing logic and code.
      
      The ability to ask for a dedicated entry gives control for application
      to allocate entries according to its needs.
      
      A dedicated entry may not be used by some other process and it also
      enables the process spreading its resources to some different entries
      for use different hardware resources as part of enforcing the rate.
      
      The counter per entry was changed to be u64 to prevent any option to
      overflow.
      Signed-off-by: NYishai Hadas <yishaih@mellanox.com>
      Acked-by: NSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
      1326034b
  13. 28 2月, 2020 1 次提交
  14. 20 2月, 2020 2 次提交
  15. 19 2月, 2020 2 次提交
  16. 18 2月, 2020 1 次提交
  17. 07 2月, 2020 1 次提交
  18. 26 1月, 2020 1 次提交
    • D
      IB/mlx5: Return the administrative GUID if exists · 4bbd4923
      Danit Goldberg 提交于
      A user can change the operational GUID (a.k.a affective GUID) through
      link/infiniband. Therefore it is preferred to return the currently set
      GUID if it exists instead of the operational.
      
      This way the PF can query which VF GUID will be set in the next bind.  In
      order to align with MAC address, zero is returned if administrative GUID
      is not set.
      
      For example, before setting administrative GUID:
       $ ip link show
       ib0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 4092 qdisc mq state UP mode DEFAULT group default qlen 256
       link/infiniband 00:00:00:08:fe:80:00:00:00:00:00:00:52:54:00:c0:fe:12:34:55 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
       vf 0     link/infiniband 00:00:00:08:fe:80:00:00:00:00:00:00:52:54:00:c0:fe:12:34:55 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff,
       spoof checking off, NODE_GUID 00:00:00:00:00:00:00:00, PORT_GUID 00:00:00:00:00:00:00:00, link-state auto, trust off, query_rss off
      
      Then:
      
       $ ip link set ib0 vf 0 node_guid 11:00:af:21:cb:05:11:00
       $ ip link set ib0 vf 0 port_guid 22:11:af:21:cb:05:11:00
      
      After setting administrative GUID:
       $ ip link show
       ib0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 4092 qdisc mq state UP mode DEFAULT group default qlen 256
       link/infiniband 00:00:00:08:fe:80:00:00:00:00:00:00:52:54:00:c0:fe:12:34:55 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
       vf 0     link/infiniband 00:00:00:08:fe:80:00:00:00:00:00:00:52:54:00:c0:fe:12:34:55 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff,
       spoof checking off, NODE_GUID 11:00:af:21:cb:05:11:00, PORT_GUID 22:11:af:21:cb:05:11:00, link-state auto, trust off, query_rss off
      
      Fixes: 9c0015ef ("IB/mlx5: Implement callbacks for getting VFs GUID attributes")
      Link: https://lore.kernel.org/r/20200116120048.12744-1-leon@kernel.orgSigned-off-by: NDanit Goldberg <danitg@mellanox.com>
      Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      4bbd4923
  19. 17 1月, 2020 2 次提交