Skip to content

use traffic class PRM field for IPv6 modification

Gavin Li dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/mlx5: discover IPv6 traffic class support in RDMA coredrivers/net/mlx5/linux/mlx5_os.c drivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_flow.c +1 more+48 -00 replies
2/2net/mlx5: use traffic class PRM field for IPv6 modificationdrivers/common/mlx5/mlx5_devx_cmds.c drivers/common/mlx5/mlx5_devx_cmds.h drivers/common/mlx5/mlx5_prm.h +4 more+92 -130 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSuanming Mou
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [V1 0/2] use traffic class PRM field for IPv6 modification

New field ID OUT_IPV6_TRAFFIC_CLASS for IPv6 was defined and will be used by both IPv6 ECN and DSCP.

To apply the new ID and keep backward compatibility with different RDMA core and FW releases
1) detect the support of the new ID in RDMA core and FW.
2) apply the new ID if possible otherwise, keep using the old ID.

Gavin Li (2):
net/mlx5: discover IPv6 traffic class support in RDMA core net/mlx5: use traffic class PRM field for IPv6 modification

 drivers/common/mlx5/mlx5_devx_cmds.c |  3 ++
 drivers/common/mlx5/mlx5_devx_cmds.h |  1 +
 drivers/common/mlx5/mlx5_prm.h       |  8 ++-
 drivers/net/mlx5/linux/mlx5_os.c     |  5 ++
 drivers/net/mlx5/mlx5.h              |  1 +
 drivers/net/mlx5/mlx5_flow.c         | 42 +++++++++++++++
 drivers/net/mlx5/mlx5_flow.h         |  4 ++
 drivers/net/mlx5/mlx5_flow_dv.c      | 78 ++++++++++++++++++++++++----
 drivers/net/mlx5/mlx5_flow_hw.c      |  7 +++
 9 files changed, 138 insertions(+), 11 deletions(-)
Signature · 1 line
2.39.1