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

2018-07-10 Thread Cong Wang
On Sun, Jul 8, 2018 at 2:27 PM Qiaobin Fu wrote: > @@ -111,6 +114,9 @@ parse_skbedit(struct action_util *a, int *argc_p, char > ***argv_p, int tca_id, > } > flags |= SKBEDIT_F_PTYPE; > ok++; > + } else if (match

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

2018-07-08 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. Original idea by Jamal Hadi Salim Signed-off-by: Qiaobin Fu Reviewed-by: Michel Machado --- Note that the motivation for this patc