1. 27 3月, 2020 2 次提交
  2. 24 3月, 2020 2 次提交
  3. 21 3月, 2020 1 次提交
  4. 26 2月, 2020 2 次提交
  5. 25 2月, 2020 1 次提交
  6. 19 2月, 2020 1 次提交
  7. 27 1月, 2020 1 次提交
  8. 19 1月, 2020 3 次提交
  9. 12 1月, 2020 1 次提交
  10. 11 1月, 2020 2 次提交
  11. 09 1月, 2020 1 次提交
  12. 13 11月, 2019 1 次提交
  13. 12 11月, 2019 1 次提交
  14. 10 11月, 2019 1 次提交
  15. 09 11月, 2019 1 次提交
  16. 08 11月, 2019 2 次提交
  17. 12 10月, 2019 1 次提交
  18. 06 10月, 2019 1 次提交
  19. 05 10月, 2019 2 次提交
  20. 14 9月, 2019 2 次提交
  21. 11 9月, 2019 1 次提交
  22. 05 9月, 2019 1 次提交
  23. 01 9月, 2019 1 次提交
  24. 18 8月, 2019 3 次提交
    • I
      Documentation: Add devlink-trap documentation · f3047ca0
      Ido Schimmel 提交于
      Add initial documentation of the devlink-trap mechanism, explaining the
      background, motivation and the semantics of the interface.
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Acked-by: NJiri Pirko <jiri@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f3047ca0
    • I
      devlink: Add generic packet traps and groups · 391203ab
      Ido Schimmel 提交于
      Add generic packet traps and groups that can report dropped packets as
      well as exceptions such as TTL error.
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Acked-by: NJiri Pirko <jiri@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      391203ab
    • I
      devlink: Add packet trap infrastructure · 0f420b6c
      Ido Schimmel 提交于
      Add the basic packet trap infrastructure that allows device drivers to
      register their supported packet traps and trap groups with devlink.
      
      Each driver is expected to provide basic information about each
      supported trap, such as name and ID, but also the supported metadata
      types that will accompany each packet trapped via the trap. The
      currently supported metadata type is just the input port, but more will
      be added in the future. For example, output port and traffic class.
      
      Trap groups allow users to set the action of all member traps. In
      addition, users can retrieve per-group statistics in case per-trap
      statistics are too narrow. In the future, the trap group object can be
      extended with more attributes, such as policer settings which will limit
      the amount of traffic generated by member traps towards the CPU.
      
      Beside registering their packet traps with devlink, drivers are also
      expected to report trapped packets to devlink along with relevant
      metadata. devlink will maintain packets and bytes statistics for each
      packet trap and will potentially report the trapped packet with its
      metadata to user space via drop monitor netlink channel.
      
      The interface towards the drivers is simple and allows devlink to set
      the action of the trap. Currently, only two actions are supported:
      'trap' and 'drop'. When set to 'trap', the device is expected to provide
      the sole copy of the packet to the driver which will pass it to devlink.
      When set to 'drop', the device is expected to drop the packet and not
      send a copy to the driver. In the future, more actions can be added,
      such as 'mirror'.
      Signed-off-by: NIdo Schimmel <idosch@mellanox.com>
      Acked-by: NJiri Pirko <jiri@mellanox.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      0f420b6c
  25. 10 8月, 2019 1 次提交
  26. 10 7月, 2019 3 次提交
  27. 16 6月, 2019 1 次提交