Thread (5 messages) 5 messages, 4 authors, 2016-09-07

Re: [PATCH v4 net-next 1/1] net_sched: Introduce skbmod action

flat view

From: Eric Dumazet <hidden>
Date: 2016-09-06 14:30:46

On Tue, 2016-09-06 at 09:37 -0400, Jamal Hadi Salim wrote:
From: Jamal Hadi Salim <jhs@mojatatu.com>
+
+struct tcf_skbmod_params {
+	struct rcu_head	rcu;
+	u64	flags; /*up to 64 types of operations; extend if needed */
+	u8	eth_dst[ETH_ALEN];
+	u16	eth_type;
+	u8	eth_src[ETH_ALEN];
+};
+
+struct tcf_skbmod {
+	struct tc_action	common;
+	struct tcf_skbmod_params  *skbmod_p;
struct tcf_skbmod_params __rcu *skbmod_p;
+};
Then add CONFIG_SPARSE_RCU_POINTER=y to your .config
And build/check

make C=2 M=net/sched

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help