netfilter: nf_tables: extend retpoline workarounds
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | netfilter: nf_tables: add static key to skip retpoline workaroundsnet/ | +29 | 0 replies | |
| 2/3 | netfilter: nf_tables: avoid retpoline overhead for objref callsinclude/ net/ net/ | +12 | 0 replies | |
| 3/3 | netfilter: nf_tables: avoid retpoline overhead for some ct expression callsinclude/ net/ net/ +2 more | +104 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nf-next 0/3] netfilter: nf_tables: extend retpoline workarounds
- Skip the retpoline if-else cascade if the cpu is recent enough to not need the retpoline thunk.
- add objref and 'ct state' to the builtin-call list.
This means that 'ct state established,related accept' works without an indirect call.
Florian Westphal (3):
netfilter: nf_tables: add static key to skip retpoline workarounds
netfilter: nf_tables: avoid retpoline overhead for objref calls
netfilter: nf_tables: avoid retpoline overhead for some ct expression
calls
include/net/netfilter/nf_tables_core.h | 16 ++++++++ net/netfilter/Makefile | 6 +++ net/netfilter/nf_tables_core.c | 35 +++++++++++++++- net/netfilter/nft_ct.c | 39 ++++++++++++------ net/netfilter/nft_ct_fast.c | 56 ++++++++++++++++++++++++++ net/netfilter/nft_objref.c | 12 +++--- 6 files changed, 145 insertions(+), 19 deletions(-) create mode 100644 net/netfilter/nft_ct_fast.c
Signature · 1 line
2.38.2