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

2018-07-17 Thread David Ahern
On 7/14/18 1:10 AM, Qiaobin Fu wrote: > @@ -156,6 +162,9 @@ parse_skbedit(struct action_util *a, int *argc_p, char > ***argv_p, int tca_id, > if (flags & SKBEDIT_F_PTYPE) > addattr_l(n, MAX_MSG, TCA_SKBEDIT_PTYPE, > &ptype, sizeof(ptype)); > + if (pu

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

2018-07-14 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. v3: * Make flag represented in JSON output as a null value v2: * Align the output syntax with the input syntax * Fix the style issues