DPDK patches and discussions
 help / color / mirror / Atom feed
From: Shun Hao <shunh@nvidia.com>
To: <viacheslavo@nvidia.com>, <matan@nvidia.com>, <orika@nvidia.com>
Cc: <dev@dpdk.org>, <rasland@nvidia.com>
Subject: [PATCH v1 0/4] Enable yellow meter hierarchy
Date: Fri, 13 May 2022 10:33:04 +0300	[thread overview]
Message-ID: <20220513073308.10762-1-shunh@nvidia.com> (raw)

To support yellow meter hierarchy, need to support meter action in
yellow policy flow, so both green and yellow packet can go to next
meter. Currently there's the limitation that only the same next meter
supported for green and yellow.

Meanwhile, color aware mode is supported, so the next meter can be aware
of the previous color, so can have different process strategy.

Shun Hao (4):
  net/mlx5: support previous meter color aware
  net/mlx5: support yellow meter action in hierarchy
  net/mlx5: support yellow meter action for hierarchy tag rule
  net/mlx5: add validation for yellow meter action

 doc/guides/nics/mlx5.rst           |   6 +-
 drivers/net/mlx5/mlx5.c            |   8 +-
 drivers/net/mlx5/mlx5.h            |  10 +-
 drivers/net/mlx5/mlx5_flow_aso.c   |  19 +-
 drivers/net/mlx5/mlx5_flow_dv.c    | 406 +++++++++++++++++++----------
 drivers/net/mlx5/mlx5_flow_meter.c |  60 +++--
 6 files changed, 345 insertions(+), 164 deletions(-)

-- 
2.20.0


             reply	other threads:[~2022-05-13  7:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13  7:33 Shun Hao [this message]
2022-05-13  7:33 ` [PATCH v1 1/4] net/mlx5: support previous meter color aware Shun Hao
2022-05-13  7:33 ` [PATCH v1 2/4] net/mlx5: support yellow meter action in hierarchy Shun Hao
2022-05-13  7:33 ` [PATCH v1 3/4] net/mlx5: support yellow meter action for hierarchy tag rule Shun Hao
2022-05-13  7:33 ` [PATCH v1 4/4] net/mlx5: add validation for yellow meter action Shun Hao
2022-05-16 12:59 ` [PATCH v1 0/4] Enable yellow meter hierarchy Raslan Darawsheh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220513073308.10762-1-shunh@nvidia.com \
    --to=shunh@nvidia.com \
    --cc=dev@dpdk.org \
    --cc=matan@nvidia.com \
    --cc=orika@nvidia.com \
    --cc=rasland@nvidia.com \
    --cc=viacheslavo@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).