From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [patch net-next 2/2] sched: introduce vlan action Date: Wed, 12 Nov 2014 08:47:55 +0100 Message-ID: <20141112074755.GA1882@nanopsycho.orion> References: <1415700789-9171-1-git-send-email-jiri@resnulli.us> <1415700789-9171-2-git-send-email-jiri@resnulli.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev , David Miller , Jamal Hadi Salim , Pravin B Shelar , Tom Herbert , Eric Dumazet , willemb@google.com, Daniel Borkmann , mst@redhat.com, Florian Westphal , Paul.Durrant@citrix.com, Thomas Graf To: Cong Wang Return-path: Received: from mail-wi0-f173.google.com ([209.85.212.173]:57313 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750749AbaKLHr6 (ORCPT ); Wed, 12 Nov 2014 02:47:58 -0500 Received: by mail-wi0-f173.google.com with SMTP id n3so3941318wiv.12 for ; Tue, 11 Nov 2014 23:47:56 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Wed, Nov 12, 2014 at 12:18:47AM CET, cwang@twopensource.com wrote: >On Tue, Nov 11, 2014 at 2:13 AM, Jiri Pirko wrote: >> This tc action allows to work with vlan tagged skbs. Two supported >> sub-actions are header pop and header push. >> > >Can we add this to skbedit instead of adding a new action? > >I know vlan tag is not exactly the skb metadata, but still seems >fits in skbedit for me. I was thinking about that as well. It seems much clearer to add a new action.