projects
/
project
/
qosify.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f7fbe6
)
qosify-bpf: inline check_flow() to ensure that it is jited
author
Felix Fietkau
<nbd@nbd.name>
Thu, 4 Nov 2021 19:35:07 +0000
(20:35 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 4 Nov 2021 19:35:07 +0000
(20:35 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
qosify-bpf.c
patch
|
blob
|
history
diff --git
a/qosify-bpf.c
b/qosify-bpf.c
index 77b50e51a8d3ebcdf45935de170ff7b995fc17db..a40e75a20dc0576f8f716fd45af99924962c115a 100644
(file)
--- a/
qosify-bpf.c
+++ b/
qosify-bpf.c
@@
-250,7
+250,7
@@
parse_l4proto(struct qosify_config *config, struct __sk_buff *skb,
*dscp_out = *value;
}
-static void
+static
__always_inline
void
check_flow(struct qosify_config *config, struct __sk_buff *skb,
uint8_t *dscp)
{