Extend flow steering IPv4 and IPv6 specification.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Changes in v1 from the cover letter
* Add Reviewed-by from Sagi G.
* Split mlx4, mlx5 and uverbs to separate patches
* Rename IB/core to be IB/uverbs
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | IB/mlx4: Add validation to flow specifications parsingdrivers/ | +25 | 0 replies | |
| 2/7 | IB/mlx5: Add validation to flow specifications parsingdrivers/ | +26 | 0 replies | |
| 3/7 | IB/uverbs: Add support to extend flow steering specificationsdrivers/ include/ | +83 | 0 replies | |
| 4/7 | IB/uverbs: Add more fields to IPv4 flow specificationinclude/ include/ | +15 | 0 replies | |
| 5/7 | IB/core: Add more fields to IPv6 flow specificationdrivers/ include/ include/ | +15 | 0 replies | |
| 6/7 | IB/mlx5: Add support in TOS and protocol to flow steeringdrivers/ | +21 | 0 replies | |
| 7/7 | IB/mlx5: Add support of more IPv6 fields to flow steeringdrivers/ | +45 | 0 replies |
Reviews trailers per patch
4 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Sagi Grimberg |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH rdma-next V1 0/7] Extend flow steering IPv4 and IPv6 specification.
This patch set extends the IPv4 and IPv6 flow specification.
New fields in IPv4:
1. Type of Service
2. Time to Live
3. Flags
4. Protocol
New fields in IPv6:
1. Traffic Class
2. Flow Label
3. Next Header
4. Hop Limit
The first patch in this series adds support to extend the flow steering specification. Previously, user flow specification and kernel flow specification were must to be equal in their size.
To support extensions, we change the flow specifications conditions test to be as following:
1. Every mask field that is given by the user and doesn't exist in kernel is validated to be zero. Thus, new user-space would only fail if it's using (i.e field_mask != 0) a field which doesn't exist in the current kernel version.
2. All types are known by the kernel.
3. If the kernel is newer than the user-space, all fields (and by that, their masks) weren't given by the user are assumed as zeros and ignored.
4. The ABI declares filters as 32bit aligned. This is necessary to avoid unaligned access when reading the header.
Changes from v0 to v1:
* Add Reviewed-by from Sagi G.
* Split mlx4, mlx5 and uverbs to separate patches
* Rename IB/core to be IB/uverbs
Available in the "topic/ext-flow" topic branch of this git repo:git://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git
Or for browsing:
https://git.kernel.org/cgit/linux/kernel/git/leon/linux-rdma.git/log/?h=topic/ext-flow
Thanks,
Maor & Leon
Maor Gottlieb (7):
IB/mlx4: Add validation to flow specifications parsing IB/mlx5: Add validation to flow specifications parsing IB/uverbs: Add support to extend flow steering specifications IB/uverbs: Add more fields to IPv4 flow specification IB/uverbs: Add more fields to IPv6 flow specification IB/mlx5: Add support in TOS and protocol to flow steering IB/mlx5: Add support of more IPv6 fields to flow steering
drivers/infiniband/core/uverbs_cmd.c | 102 ++++++++++++++++++++++++-------- drivers/infiniband/hw/mlx4/main.c | 25 ++++++++ drivers/infiniband/hw/mlx5/main.c | 110 ++++++++++++++++++++++++++++------- include/rdma/ib_verbs.h | 25 ++++++++ include/uapi/rdma/ib_user_verbs.h | 13 ++++- 5 files changed, 228 insertions(+), 47 deletions(-)
--
2.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html