[PATCH for-next 0/3] DONT_TRAP support for mlx5 flow steering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Maor Gottlieb <maorg@xxxxxxxxxxxx>

Hi Doug,

This series adds support for mlx5 driver DONE_TRAP flow steering
rules. DONT_TRAP rules are rules which allow their attached QPs
to receive the traffic, but also continue matching rules which
are in lower or equal priorities.

The series includes three patches:
The first patch creates a flow table which is used as an end anchor of
the RX NIC name space. This simplifies the implementation of downstream
patches in this series.

The second patch introduces MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO
flow steering action. This action forwards the packet to the first
flow table of the next priority in order to continue matching
in lower or equal priorities.

The third implements the DONT_TRAP feature in mlx5_ib driver. This
is implemented by using another flow table in each user priority.
All rules in this new flow table forward the packet to TIRs and to
the next flow table.

This series depends on
'commit a3100a787941 ("IB/core: Add don't trap flag to flow creation")'
which was accepted to your mlx4 branch.

Thanks,
Maor and Matan

Maor Gottlieb (3):
  net/mlx5_core: Create anchor of last flow table
  net/mlx5_core: Introduce forward to next priority action
  IB/mlx5: Add support for don't trap rules

 drivers/infiniband/hw/mlx5/main.c                 |  54 +++++-
 drivers/infiniband/hw/mlx5/mlx5_ib.h              |   2 +-
 drivers/net/ethernet/mellanox/mlx5/core/fs_core.c | 225 ++++++++++++++++++++--
 drivers/net/ethernet/mellanox/mlx5/core/fs_core.h |  15 ++
 include/linux/mlx5/device.h                       |   7 +-
 include/linux/mlx5/fs.h                           |   5 +
 include/linux/mlx5/mlx5_ifc.h                     |   3 +-
 7 files changed, 289 insertions(+), 22 deletions(-)

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux