mbox series

[net-next,0/3] net/sched: act_pedit: minor improvements

Message ID 20230309185158.310994-1-pctammela@mojatatu.com (mailing list archive)
Headers show
Series net/sched: act_pedit: minor improvements | expand

Message

Pedro Tammela March 9, 2023, 6:51 p.m. UTC
This series aims to improve the code and usability of act_pedit for
netlink users.

Patch 1 improves error reporting for extended keys parsing with extack.
While at it, do a minor refactor on error handling.

Patch 2 checks the static offsets a priori on create/update. Currently,
this is done at the datapath for both static and runtime offsets.

Patch 3 changes the 'pr_info()' calls in the datapath to rate limited
versions.

Pedro Tammela (3):
  net/sched: act_pedit: use extack in 'ex' parsing errors
  net/sched: act_pedit: check static offsets a priori
  net/sched: act_pedit: rate limit datapath messages

 net/sched/act_pedit.c | 58 ++++++++++++++++++++-----------------------
 1 file changed, 27 insertions(+), 31 deletions(-)