[PATCH v5 net-next] net:sched: add action inheritdsfield to skbedit

2018-06-26 Thread Fu, Qiaobin
The new action inheritdsfield copies the field DS of IPv4 and IPv6 packets into skb->priority. This enables later classification of packets based on the DS field. v5: *Update the drop counter for TC_ACT_SHOT v4: *Not allow setting flags other than the expected ones. *Allow dumping the pure flags

[PATCH v5 net-next] net:sched: add action inheritdsfield to skbedit

2018-06-21 Thread Fu, Qiaobin
The new action inheritdsfield copies the field DS of IPv4 and IPv6 packets into skb->priority. This enables later classification of packets based on the DS field. v5: *Update the drop counter for TC_ACT_SHOT v4: *Not allow setting flags other than the expected ones. *Allow dumping the pure flags

Re: [PATCH v4 net-next] net:sched: add action inheritdsfield to skbedit

2018-06-21 Thread Fu, Qiaobin
The new action inheritdsfield copies the field DS of IPv4 and IPv6 packets into skb->priority. This enables later classification of packets based on the DS field. v5: *Update the drop counter for TC_ACT_SHOT. v4: *Not allow setting flags other than the expected ones. *Allow dumping the pure flag

[PATCH v4 net-next] net:sched: add action inheritdsfield to skbedit

2018-06-12 Thread Fu, Qiaobin
The new action inheritdsfield copies the field DS of IPv4 and IPv6 packets into skb->priority. This enables later classification of packets based on the DS field. v4: *Not allow setting flags other than the expected ones. *Allow dumping the pure flags. Original idea by Jamal Hadi Salim Signed-

Re: [PATCH v2 iproute2] net:sched: add action inheritdsfield to skbedit

2018-06-09 Thread Fu, Qiaobin
The new action inheritdsfield copies the field DS of IPv4 and IPv6 packets into skb->priority. This enables later classification of packets based on the DS field. v2: *Use optional flags, so that it won't break old versions of tc. Original idea by Jamal Hadi Salim Signed-off-by: Qiaobin Fu Rev

[PATCH v3 net-next] net:sched: add action inheritdsfield to skbedit

2018-06-09 Thread Fu, Qiaobin
The new action inheritdsfield copies the field DS of IPv4 and IPv6 packets into skb->priority. This enables later classification of packets based on the DS field. v3: *Use optional flags, so that it won't break old versions of tc. *Allow users to set both SKBEDIT_F_PRIORITY and SKBEDIT_F_INHERITD

[PATCH iproute2] net:sched: add action inheritdsfield to skbedit

2018-05-27 Thread Fu, Qiaobin
The new action inheritdsfield copies the field DS of IPv4 and IPv6 packets into skb->priority. This enables later classification of packets based on the DS field. Original idea by Jamal Hadi Salim Signed-off-by: Qiaobin Fu Reviewed-by: Michel Machado --- Note that the motivation for this patc

[PATCH v2 net-next] net:sched: add action inheritdsfield to skbedit

2018-05-27 Thread Fu, Qiaobin
The new action inheritdsfield copies the field DS of IPv4 and IPv6 packets into skb->priority. This enables later classification of packets based on the DS field. Original idea by Jamal Hadi Salim Signed-off-by: Qiaobin Fu Reviewed-by: Michel Machado --- Note that the motivation for this patc

Re: [PATCH net-next] net:sched: add action inheritdsfield to skbmod

2018-05-24 Thread Fu, Qiaobin
D_F_INHERITDSFIELD) + lflags |= SKBMOD_F_INHERITDSFIELD; + exists = tcf_idr_check(tn, parm->index, a, bind); if (exists && bind) return 0; > On May 23, 2018, at 2:06 PM, Marcelo Ricardo Leitner > wrote: > > Hi, > > Some style

[PATCH net-next] net:sched: add action inheritdsfield to skbmod

2018-05-17 Thread Fu, Qiaobin
net/sched: add action inheritdsfield to skbmod The new action inheritdsfield copies the field DS of IPv4 and IPv6 packets into skb->prioriry. This enables later classification of packets based on the DS field. Original idea by Jamal Hadi Salim Signed-off-by: Qiaobin Fu Reviewed-by: Michel Mach