[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190409113315.64132-1-ldir@darbyshire-bryant.me.uk>
Date: Tue, 9 Apr 2019 11:33:44 +0000
From: Kevin 'ldir' Darbyshire-Bryant <ldir@...byshire-bryant.me.uk>
To: Kevin 'ldir' Darbyshire-Bryant <ldir@...byshire-bryant.me.uk>
CC: "jhs@...atatu.com" <jhs@...atatu.com>,
"jiri@...nulli.us" <jiri@...nulli.us>,
"marcelo.leitner@...il.com" <marcelo.leitner@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"ozsh@...lanox.com" <ozsh@...lanox.com>,
"paulb@...lanox.com" <paulb@...lanox.com>,
"xiyou.wangcong@...il.com" <xiyou.wangcong@...il.com>
Subject: [RFC net-next 0/1] net: sched: Introduce act_ctinfo action
Hi Cong & everyone.
Another rename & some more tweaks. I'm not sure quite what version
we're up to but on the basis of the name change (again) I'm assuming v1.
Changes:
Changed the netlink parameter passing to mostly indepedent
flags/structures to hopefully facilitate easier future extension of this
action/module.
Sanity checks on userspace passed parameters now return with -EINVAL
instead of silently nulling them out.
RCU'ified the action update based on structure seen in act_csum. I hope
to $DEITY I've done that right :-)
Closer to perfection?
Kevin Darbyshire-Bryant (1):
net: sched: Introduce act_ctinfo action
include/net/tc_act/tc_ctinfo.h | 24 ++
include/uapi/linux/pkt_cls.h | 1 +
include/uapi/linux/tc_act/tc_ctinfo.h | 33 ++
net/sched/Kconfig | 13 +
net/sched/Makefile | 1 +
net/sched/act_ctinfo.c | 372 ++++++++++++++++++++++
tools/testing/selftests/tc-testing/config | 1 +
7 files changed, 445 insertions(+)
create mode 100644 include/net/tc_act/tc_ctinfo.h
create mode 100644 include/uapi/linux/tc_act/tc_ctinfo.h
create mode 100644 net/sched/act_ctinfo.c
--
2.20.1 (Apple Git-117)
Powered by blists - more mailing lists