netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <simon.horman@corigine.com>
To: netdev@vger.kernel.org
Cc: Cong Wang <xiyou.wangcong@gmail.com>,
	Dan Carpenter <dan.carpenter@oracle.com>,
	Ido Schimmel <idosch@nvidia.com>,
	Jamal Hadi Salim <jhs@mojatatu.com>,
	Jiri Pirko <jiri@resnulli.us>, Oz Shlomo <ozsh@nvidia.com>,
	Roi Dayan <roid@nvidia.com>, Vlad Buslov <vladbu@nvidia.com>,
	Baowen Zheng <baowen.zheng@corigine.com>,
	Louis Peens <louis.peens@corigine.com>,
	oss-drivers@corigine.com
Subject: Re: [PATCH v6 net-next 00/12] allow user to offload tc action to net device
Date: Thu, 9 Dec 2021 11:41:53 +0100	[thread overview]
Message-ID: <20211209104152.GF30443@corigine.com> (raw)
In-Reply-To: <20211209092806.12336-1-simon.horman@corigine.com>

On Thu, Dec 09, 2021 at 10:27:54AM +0100, Simon Horman wrote:
> Baowen Zheng says:

...

Sorry, I appear to have included two sets of slightly different
information in this cover letter.

Please ignore the following two paragraphs, and instead refer
to the two after that.

Ignore this:

> Baowen Zheng (12):
>   flow_offload: fill flags to action structure
>   flow_offload: reject to offload tc actions in offload drivers
>   flow_offload: add index to flow_action_entry structure
>   flow_offload: return EOPNOTSUPP for the unsupported mpls action type
>   flow_offload: add ops to tc_action_ops for flow action setup
>   flow_offload: allow user to offload tc action to net device
>   flow_offload: add skip_hw and skip_sw to control if offload the action
>   flow_offload: add process to update action stats from hardware
>   net: sched: save full flags for tc action
>   flow_offload: add reoffload process to update hw_count
>   flow_offload: validate flags of filter and actions
>   selftests: tc-testing: add action offload selftest for action and
>     filter
> 
>  drivers/net/dsa/ocelot/felix_vsc9959.c        |   4 +-
>  drivers/net/dsa/sja1105/sja1105_flower.c      |   2 +-
>  drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c  |   2 +-
>  .../net/ethernet/freescale/enetc/enetc_qos.c  |   6 +-
>  .../ethernet/mellanox/mlx5/core/en/rep/tc.c   |   3 +
>  .../ethernet/mellanox/mlxsw/spectrum_flower.c |   2 +-
>  drivers/net/ethernet/mscc/ocelot_flower.c     |   2 +-
>  .../ethernet/netronome/nfp/flower/offload.c   |   3 +
>  include/linux/netdevice.h                     |   1 +
>  include/net/act_api.h                         |  27 +-
>  include/net/flow_offload.h                    |  20 +-
>  include/net/pkt_cls.h                         |  27 +-
>  include/net/tc_act/tc_gate.h                  |   5 -
>  include/uapi/linux/pkt_cls.h                  |   9 +-
>  net/core/flow_offload.c                       |  46 +-
>  net/sched/act_api.c                           | 450 +++++++++++++++++-
>  net/sched/act_bpf.c                           |   2 +-
>  net/sched/act_connmark.c                      |   2 +-
>  net/sched/act_csum.c                          |  19 +
>  net/sched/act_ct.c                            |  21 +
>  net/sched/act_ctinfo.c                        |   2 +-
>  net/sched/act_gact.c                          |  38 ++
>  net/sched/act_gate.c                          |  51 +-
>  net/sched/act_ife.c                           |   2 +-
>  net/sched/act_ipt.c                           |   2 +-
>  net/sched/act_mirred.c                        |  50 ++
>  net/sched/act_mpls.c                          |  54 ++-
>  net/sched/act_nat.c                           |   2 +-
>  net/sched/act_pedit.c                         |  36 +-
>  net/sched/act_police.c                        |  27 +-
>  net/sched/act_sample.c                        |  32 +-
>  net/sched/act_simple.c                        |   2 +-
>  net/sched/act_skbedit.c                       |  38 +-
>  net/sched/act_skbmod.c                        |   2 +-
>  net/sched/act_tunnel_key.c                    |  54 +++
>  net/sched/act_vlan.c                          |  48 ++
>  net/sched/cls_api.c                           | 263 ++--------
>  net/sched/cls_flower.c                        |   9 +-
>  net/sched/cls_matchall.c                      |   9 +-
>  net/sched/cls_u32.c                           |  12 +-
>  .../tc-testing/tc-tests/actions/police.json   |  24 +
>  .../tc-testing/tc-tests/filters/matchall.json |  24 +
>  42 files changed, 1144 insertions(+), 290 deletions(-)

Instead, refer to this:

> Baowen Zheng (12):
>   flow_offload: fill flags to action structure
>   flow_offload: reject to offload tc actions in offload drivers
>   flow_offload: add index to flow_action_entry structure
>   flow_offload: return EOPNOTSUPP for the unsupported mpls action type
>   flow_offload: add ops to tc_action_ops for flow action setup
>   flow_offload: allow user to offload tc action to net device
>   flow_offload: add skip_hw and skip_sw to control if offload the action
>   flow_offload: add process to update action stats from hardware
>   net: sched: save full flags for tc action
>   flow_offload: add reoffload process to update hw_count
>   flow_offload: validate flags of filter and actions
>   selftests: tc-testing: add action offload selftest for action and
>     filter
> 
>  drivers/net/dsa/ocelot/felix_vsc9959.c        |   4 +-
>  drivers/net/dsa/sja1105/sja1105_flower.c      |   2 +-
>  drivers/net/ethernet/broadcom/bnxt/bnxt_tc.c  |   2 +-
>  .../net/ethernet/freescale/enetc/enetc_qos.c  |   6 +-
>  .../ethernet/mellanox/mlx5/core/en/rep/tc.c   |   3 +
>  .../ethernet/mellanox/mlxsw/spectrum_flower.c |   2 +-
>  drivers/net/ethernet/mscc/ocelot_flower.c     |   2 +-
>  .../ethernet/netronome/nfp/flower/offload.c   |   3 +
>  include/linux/netdevice.h                     |   1 +
>  include/net/act_api.h                         |  27 +-
>  include/net/flow_offload.h                    |  20 +-
>  include/net/pkt_cls.h                         |  27 +-
>  include/net/tc_act/tc_gate.h                  |   5 -
>  include/uapi/linux/pkt_cls.h                  |   9 +-
>  net/core/flow_offload.c                       |  46 +-
>  net/sched/act_api.c                           | 451 +++++++++++++++++-
>  net/sched/act_bpf.c                           |   2 +-
>  net/sched/act_connmark.c                      |   2 +-
>  net/sched/act_csum.c                          |  19 +
>  net/sched/act_ct.c                            |  21 +
>  net/sched/act_ctinfo.c                        |   2 +-
>  net/sched/act_gact.c                          |  38 ++
>  net/sched/act_gate.c                          |  51 +-
>  net/sched/act_ife.c                           |   2 +-
>  net/sched/act_ipt.c                           |   2 +-
>  net/sched/act_mirred.c                        |  50 ++
>  net/sched/act_mpls.c                          |  54 ++-
>  net/sched/act_nat.c                           |   2 +-
>  net/sched/act_pedit.c                         |  36 +-
>  net/sched/act_police.c                        |  27 +-
>  net/sched/act_sample.c                        |  32 +-
>  net/sched/act_simple.c                        |   2 +-
>  net/sched/act_skbedit.c                       |  38 +-
>  net/sched/act_skbmod.c                        |   2 +-
>  net/sched/act_tunnel_key.c                    |  54 +++
>  net/sched/act_vlan.c                          |  48 ++
>  net/sched/cls_api.c                           | 263 ++--------
>  net/sched/cls_flower.c                        |   9 +-
>  net/sched/cls_matchall.c                      |   9 +-
>  net/sched/cls_u32.c                           |  12 +-
>  .../tc-testing/tc-tests/actions/police.json   |  24 +
>  .../tc-testing/tc-tests/filters/matchall.json |  24 +
>  42 files changed, 1145 insertions(+), 290 deletions(-)

  parent reply	other threads:[~2021-12-09 10:42 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09  9:27 [PATCH v6 net-next 00/12] allow user to offload tc action to net device Simon Horman
2021-12-09  9:27 ` [PATCH v6 net-next 01/12] flow_offload: fill flags to action structure Simon Horman
2021-12-11 19:05   ` Jamal Hadi Salim
2021-12-09  9:27 ` [PATCH v6 net-next 02/12] flow_offload: reject to offload tc actions in offload drivers Simon Horman
2021-12-11 19:07   ` Jamal Hadi Salim
2021-12-09  9:27 ` [PATCH v6 net-next 03/12] flow_offload: add index to flow_action_entry structure Simon Horman
2021-12-11 19:09   ` Jamal Hadi Salim
2021-12-12  8:41     ` Baowen Zheng
2021-12-09  9:27 ` [PATCH v6 net-next 04/12] flow_offload: return EOPNOTSUPP for the unsupported mpls action type Simon Horman
2021-12-11 19:10   ` Jamal Hadi Salim
2021-12-12 12:41   ` Roi Dayan
2021-12-13 14:49     ` Simon Horman
2021-12-09  9:27 ` [PATCH v6 net-next 05/12] flow_offload: add ops to tc_action_ops for flow action setup Simon Horman
2021-12-11 19:31   ` Jamal Hadi Salim
2021-12-12  8:52     ` Baowen Zheng
2021-12-09  9:28 ` [PATCH v6 net-next 06/12] flow_offload: allow user to offload tc action to net device Simon Horman
2021-12-11 19:42   ` Jamal Hadi Salim
2021-12-12  9:22     ` Baowen Zheng
2021-12-14 12:03       ` Jamal Hadi Salim
2021-12-09  9:28 ` [PATCH v6 net-next 07/12] flow_offload: add skip_hw and skip_sw to control if offload the action Simon Horman
2021-12-11 19:48   ` Jamal Hadi Salim
2021-12-16 13:50   ` [flow_offload] 42adbf37c1: kernel-selftests.tc-testing.d4cd.Add_skbedit_action_with_valid_mark_and_mask.fail kernel test robot
2021-12-17  8:32     ` Baowen Zheng
2021-12-09  9:28 ` [PATCH v6 net-next 08/12] flow_offload: add process to update action stats from hardware Simon Horman
2021-12-11 19:52   ` Jamal Hadi Salim
2021-12-12  9:00     ` Baowen Zheng
2021-12-14 12:01       ` Jamal Hadi Salim
2021-12-14 13:43         ` Baowen Zheng
2021-12-14 14:29           ` Jamal Hadi Salim
2021-12-09  9:28 ` [PATCH v6 net-next 09/12] net: sched: save full flags for tc action Simon Horman
2021-12-11 19:54   ` Jamal Hadi Salim
2021-12-09  9:28 ` [PATCH v6 net-next 10/12] flow_offload: add reoffload process to update hw_count Simon Horman
2021-12-09  9:28 ` [PATCH v6 net-next 11/12] flow_offload: validate flags of filter and actions Simon Horman
2021-12-11 19:55   ` Jamal Hadi Salim
2021-12-09  9:28 ` [PATCH v6 net-next 12/12] selftests: tc-testing: add action offload selftest for action and filter Simon Horman
2021-12-11 19:57   ` Jamal Hadi Salim
2021-12-12  9:04     ` Baowen Zheng
2021-12-09 10:41 ` Simon Horman [this message]
2021-12-11 19:04 ` [PATCH v6 net-next 00/12] allow user to offload tc action to net device Jamal Hadi Salim
2021-12-13  9:16   ` Simon Horman
2021-12-13 19:21 ` Vlad Buslov
2021-12-14  7:55   ` Simon Horman

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=20211209104152.GF30443@corigine.com \
    --to=simon.horman@corigine.com \
    --cc=baowen.zheng@corigine.com \
    --cc=dan.carpenter@oracle.com \
    --cc=idosch@nvidia.com \
    --cc=jhs@mojatatu.com \
    --cc=jiri@resnulli.us \
    --cc=louis.peens@corigine.com \
    --cc=netdev@vger.kernel.org \
    --cc=oss-drivers@corigine.com \
    --cc=ozsh@nvidia.com \
    --cc=roid@nvidia.com \
    --cc=vladbu@nvidia.com \
    --cc=xiyou.wangcong@gmail.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).