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

2018-07-07 Thread Stephen Hemminger
On Sat, 7 Jul 2018 12:40:01 -0400 Qiaobin Fu wrote: > 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.

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

2018-07-07 Thread Qiaobin Fu
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

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