1. 17 Oct, 2018 2 commits
    • Mark Bloch's avatar
      net/mlx5: E-Switch, Get counters for offloaded flows from callers · b8aee822
      Mark Bloch authored
      There's no real reason for the e-switch logic to manage the creation of
      counters for offloaded flows. The API already has the directive for the
      caller to denote they want to attach a counter to the created flow.
      As such, we go and move the management of flow counters to the mlx5e
      tc offload logic. This also lets us remove an inelegant interface where
      the FS layer had to provide a way to retrieve a counter from a flow rule.
      Signed-off-by: default avatarMark Bloch <markb@mellanox.com>
      Reviewed-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      b8aee822
    • Saeed Mahameed's avatar
      Merge branch 'mlx5-next' of... · 186daf0c
      Saeed Mahameed authored
      Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux into net-next
      
      mlx5 updates for both net-next and rdma-next
      
      * 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux: (21 commits)
        net/mlx5: Expose DC scatter to CQE capability bit
        net/mlx5: Update mlx5_ifc with DEVX UID bits
        net/mlx5: Set uid as part of DCT commands
        net/mlx5: Set uid as part of SRQ commands
        net/mlx5: Set uid as part of SQ commands
        net/mlx5: Set uid as part of RQ commands
        net/mlx5: Set uid as part of QP commands
        net/mlx5: Set uid as part of CQ commands
        net/mlx5: Rename incorrect naming in IFC file
        net/mlx5: Export packet reformat alloc/dealloc functions
        net/mlx5: Pass a namespace for packet reformat ID allocation
        net/mlx5: Expose new packet reformat capabilities
        {net, RDMA}/mlx5: Rename encap to reformat packet
        net/mlx5: Move header encap type to IFC header file
        net/mlx5: Break encap/decap into two separated flow table creation flags
        net/mlx5: Add support for more namespaces when allocating modify header
        net/mlx5: Export modify header alloc/dealloc functions
        net/mlx5: Add proper NIC TX steering flow tables support
        net/mlx5: Cleanup flow namespace getter switch logic
        net/mlx5: Add memic command opcode to command checker
        ...
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      186daf0c
  2. 16 Oct, 2018 38 commits