From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v2 iproute2] net:sched: add action inheritdsfield to skbedit Date: Sat, 7 Jul 2018 09:55:09 -0700 Message-ID: <20180707095509.7bbf8ed0@xeon-e3> References: <20180707164001.28476-1-qiaobinf@bu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: davem@davemloft.net, netdev@vger.kernel.org, jhs@mojatatu.com, michel@digirati.com.br, marcelo.leitner@gmail.com, xiyou.wangcong@gmail.com, dcaratti@redhat.com To: Qiaobin Fu Return-path: Received: from mail-pf0-f195.google.com ([209.85.192.195]:34787 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754247AbeGGQzM (ORCPT ); Sat, 7 Jul 2018 12:55:12 -0400 Received: by mail-pf0-f195.google.com with SMTP id e10-v6so10768309pfn.1 for ; Sat, 07 Jul 2018 09:55:12 -0700 (PDT) In-Reply-To: <20180707164001.28476-1-qiaobinf@bu.edu> Sender: netdev-owner@vger.kernel.org List-ID: 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. > > Original idea by Jamal Hadi Salim > > Signed-off-by: Qiaobin Fu > Reviewed-by: Michel Machado This needs to be targeted at iproute2-next since it depends on a net-next flag.