[PATCH for-next 0/2] Add support for don't trap steering rule

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

 



Hi Doug,

This series from Marina adds an option to create a normal flow steering
rule that doesn't trap received packets, allowing them to match lower
prioritized rules.

When the don't trap rule exists and matches a packet, the underlying HCA
should pass the packet to the rule's assigned QP(s). However, the HCA will
continue looking for other matches at lower priority rules, which may be
assigned to other QPs. This will let them get the traffic as well.

The series includes two patches:
The first patch exposes the IB creation flag.
The second patch implements this feature in mlx4 driver.

It was reviewed by Matan and me.

Yishai 

Marina Varshaver (2):
  IB/core: Add don't trap flag to flow creation
  IB/mlx4: Add support for the don't trap rule

 drivers/infiniband/core/uverbs_cmd.c     |  8 ++++
 drivers/infiniband/hw/mlx4/main.c        | 72 ++++++++++++++++++++++++++++++--
 drivers/net/ethernet/mellanox/mlx4/fw.c  |  5 ++-
 drivers/net/ethernet/mellanox/mlx4/mcg.c |  6 ++-
 include/linux/mlx4/device.h              |  3 ++
 include/rdma/ib_verbs.h                  |  5 +++
 6 files changed, 93 insertions(+), 6 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