mbox series

[RFC,net-next,0/3] Introduce tc block ports tracking and use

Message ID 20230815162530.150994-1-jhs@mojatatu.com (mailing list archive)
Headers show
Series Introduce tc block ports tracking and use | expand

Message

Jamal Hadi Salim Aug. 15, 2023, 4:25 p.m. UTC
In this patchset we introduce tc block netdev tracking infra.
Patch 1 introduces the infra. Patch 2 exposes it to the datapath and patch 3
shows its usage via a new tc action "blockcast".


Jamal Hadi Salim (3):
  Introduce tc block netdev tracking infra
  Expose tc block ports to the datapath
  Introduce blockcast tc action

 include/net/sch_generic.h |   8 +
 include/net/tc_wrapper.h  |   5 +
 net/sched/Kconfig         |  13 ++
 net/sched/Makefile        |   1 +
 net/sched/act_blockcast.c | 315 ++++++++++++++++++++++++++++++++++++++
 net/sched/cls_api.c       |   7 +-
 net/sched/sch_api.c       |  83 +++++++++-
 net/sched/sch_generic.c   |  37 ++++-
 8 files changed, 463 insertions(+), 6 deletions(-)
 create mode 100644 net/sched/act_blockcast.c

Comments

Jiri Pirko Aug. 16, 2023, 6:46 a.m. UTC | #1
Tue, Aug 15, 2023 at 06:25:27PM CEST, jhs@mojatatu.com wrote:
>In this patchset we introduce tc block netdev tracking infra.
>Patch 1 introduces the infra. Patch 2 exposes it to the datapath and patch 3
>shows its usage via a new tc action "blockcast".

This is very brief. Please describe motivation, how you solve the
problem, provide examples, etc. From the cover letter, the reader should
know what is going on without looking at the patches.


>
>
>Jamal Hadi Salim (3):
>  Introduce tc block netdev tracking infra
>  Expose tc block ports to the datapath
>  Introduce blockcast tc action
>
> include/net/sch_generic.h |   8 +
> include/net/tc_wrapper.h  |   5 +
> net/sched/Kconfig         |  13 ++
> net/sched/Makefile        |   1 +
> net/sched/act_blockcast.c | 315 ++++++++++++++++++++++++++++++++++++++
> net/sched/cls_api.c       |   7 +-
> net/sched/sch_api.c       |  83 +++++++++-
> net/sched/sch_generic.c   |  37 ++++-
> 8 files changed, 463 insertions(+), 6 deletions(-)
> create mode 100644 net/sched/act_blockcast.c
>
>-- 
>2.34.1
>