Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp44512imj; Wed, 6 Feb 2019 23:46:57 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib4ullvctZjKuqvumihCTXlTiAWAkaPBaZOLTGso4yhW8K0Mn/uQHi7dfvYU8xdVV9AlR+F X-Received: by 2002:a17:902:a03:: with SMTP id 3mr15249033plo.112.1549525617615; Wed, 06 Feb 2019 23:46:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549525617; cv=none; d=google.com; s=arc-20160816; b=D5gmjQsS9AkQMJjfK1fpQ/zxK3gjM552ggcY+UbmpLfdIT8y4QIrlNzCMhcuxWd0Kz x1iqg6715AhzqUPV/jbEeH6FjeToQkR/uEqW8Vs48XmdJeQjb+jES4rgO9kVMrAvw0qW 72NsgnV9ZLeS/cY8Nb8le+Zl+1NHVYBtvVOmUiCEUMb9y82CbHY5dtZ9JBMrF8SAigCs m5zfBz4ebrIIzCTvNQt85TrK7lLV/iLpsRvG9iiWpXKGIvsu2/aq/hnuEZBYttUPVagP pvGcupU5SlL0usSeHaO0rAoH+0DvqaPB+qb0sIQJAHILHpXtLkbj3O2p+eJZ48DU8MGO UtjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ETfyzuiyaB8aRG+SZzRDTzrpMAfyKd2uBQR6OO0eqQs=; b=U2Qk2PQ9UiupVX5ojBN9dI4DX/Jw1AJhnBWihMfknRRKlSzFoDXTVi5hgRY1EyxHl+ CvTMyEUtdS3z8NQeqreBeie8WWbOBNUxOeXnAR0NtR+SpcR9puvFSGYf9yvrWIyDZdne Ub4fJc7i00zQajB1B9jpjrsNlq/d5cilq20xMHZQCSdXeSRFW7mzdVINvNC7/A3n/ja5 voSz0rofkO3/6jabwl9Lqn+CWiK5X+3pEZGKrMILhHNp5IwQheh2RJvyJ3nt+wvMQ/3x FRMQJzFY7lnLgInFLu37eH7tEjpzLVYamthM6NqonNKEicm5/zMaArG+BriaYytSxZXa HR/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w13si8112690pll.126.2019.02.06.23.46.41; Wed, 06 Feb 2019 23:46:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726854AbfBGHqe (ORCPT + 99 others); Thu, 7 Feb 2019 02:46:34 -0500 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:44252 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726410AbfBGHqe (ORCPT ); Thu, 7 Feb 2019 02:46:34 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from eli@mellanox.com) with ESMTPS (AES256-SHA encrypted); 7 Feb 2019 09:46:31 +0200 Received: from nps-server-21.mtl.labs.mlnx (nps-server-21.mtl.labs.mlnx [10.137.240.120]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x177kVDu026569; Thu, 7 Feb 2019 09:46:31 +0200 Received: from nps-server-21.mtl.labs.mlnx (localhost [127.0.0.1]) by nps-server-21.mtl.labs.mlnx (8.14.7/8.14.7) with ESMTP id x177kV0c030213; Thu, 7 Feb 2019 09:46:31 +0200 Received: (from eli@localhost) by nps-server-21.mtl.labs.mlnx (8.14.7/8.14.7/Submit) id x177kPdV030210; Thu, 7 Feb 2019 09:46:25 +0200 From: Eli Cohen To: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: simon.horman@netronome.com, jakub.kicinski@netronome.com, dirk.vandermerwe@netronome.com, francois.theron@netronome.com, quentin.monnet@netronome.com, john.hurley@netronome.com, edwin.peer@netronome.com, Eli Cohen Subject: [PATCH net-next 0/2] Change tc action identifiers to be more consistent Date: Thu, 7 Feb 2019 09:45:47 +0200 Message-Id: <20190207074549.29861-1-eli@mellanox.com> X-Mailer: git-send-email 2.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This two patch series modifies TC actions identifiers to be more consistent and also puts them in one place so new identifiers numbers can be chosen more easily. Eli Cohen (2): net: Move all TC actions identifiers to one place net: Change TCA_ACT_* to TCA_ID_* to match that of TCA_ID_POLICE include/net/act_api.h | 2 +- include/net/tc_act/tc_csum.h | 2 +- include/net/tc_act/tc_gact.h | 2 +- include/net/tc_act/tc_mirred.h | 4 +-- include/net/tc_act/tc_pedit.h | 2 +- include/net/tc_act/tc_sample.h | 2 +- include/net/tc_act/tc_skbedit.h | 2 +- include/net/tc_act/tc_tunnel_key.h | 4 +-- include/net/tc_act/tc_vlan.h | 2 +- include/uapi/linux/pkt_cls.h | 45 ++++++++++++++++++++++++++++--- include/uapi/linux/tc_act/tc_bpf.h | 2 -- include/uapi/linux/tc_act/tc_connmark.h | 2 -- include/uapi/linux/tc_act/tc_csum.h | 2 -- include/uapi/linux/tc_act/tc_gact.h | 1 - include/uapi/linux/tc_act/tc_ife.h | 1 - include/uapi/linux/tc_act/tc_ipt.h | 3 --- include/uapi/linux/tc_act/tc_mirred.h | 1 - include/uapi/linux/tc_act/tc_nat.h | 2 -- include/uapi/linux/tc_act/tc_pedit.h | 2 -- include/uapi/linux/tc_act/tc_sample.h | 2 -- include/uapi/linux/tc_act/tc_skbedit.h | 2 -- include/uapi/linux/tc_act/tc_skbmod.h | 2 -- include/uapi/linux/tc_act/tc_tunnel_key.h | 2 -- include/uapi/linux/tc_act/tc_vlan.h | 2 -- net/sched/act_api.c | 2 +- net/sched/act_bpf.c | 2 +- net/sched/act_connmark.c | 2 +- net/sched/act_csum.c | 2 +- net/sched/act_gact.c | 2 +- net/sched/act_ife.c | 2 +- net/sched/act_ipt.c | 4 +-- net/sched/act_mirred.c | 2 +- net/sched/act_nat.c | 2 +- net/sched/act_pedit.c | 2 +- net/sched/act_police.c | 2 +- net/sched/act_sample.c | 2 +- net/sched/act_simple.c | 4 +-- net/sched/act_skbedit.c | 2 +- net/sched/act_skbmod.c | 2 +- net/sched/act_tunnel_key.c | 2 +- net/sched/act_vlan.c | 2 +- tools/include/uapi/linux/tc_act/tc_bpf.h | 2 -- 42 files changed, 70 insertions(+), 63 deletions(-) -- 1.8.3.1