Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp5313721ybb; Tue, 24 Mar 2020 15:03:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvWURkVjjrGTp5Xt6C78My2VSGz5K5loSU2M6jFptwRSEVUe+7fdsHpQnnVE+XNKh5Mu17d X-Received: by 2002:aca:534d:: with SMTP id h74mr271968oib.173.1585087429406; Tue, 24 Mar 2020 15:03:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585087429; cv=none; d=google.com; s=arc-20160816; b=CKaqMkkGFsfyq5t0r0C0kuuZVJAq8NqZXjO+KGG1kqsbrN78gW6cgK9hoXFohjJaqA q0hg0eLUIo5MqosQWJrdFyv0ci0ANMxeTNUGJAluXFABbhViaOvu+c3Xb/9TbOjgcLVC IBZzG1+fhTBKWxHQ8OJviaC8f8zELU0gcSMSALwHZgGYbmH8gkTW2FR7jLZ52WUeS/X7 hQPz7Mn1//7NaO3zcDFY4OqqAb3TXa7qYa+lDQgQNVoMs92V4XR3DdCfUKHA1pw2zy6H +P3tZmmf0BNMccyx/OZ89V2NEGohxnHxPqE4/U7i9DztLbPn6molQH1QdCx6P+Sv2HNz VHlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=oYZJ5wco7JJuTDAxaIpsWcgx8KVREzLx7l31AjoBp64=; b=uqJYDH7zd+ak6Ax9fRb6PU1DZmJOLfcAxesDKv75AuW2iWZlufmAqXmjf+YuUrwtiX 0Vtg+tYHrg4FbDygdvAmuB6NXHOsbZqu14VG3qh5BVgENkhgI9xuZ9i/ogErrDZ2jb+c FepQb7kYzpu55fnKbR+inLHLSceDLbhSsvE1H1ixDCmLw4wZyVbOmK3iC1HJ0xIxgQe+ mCT2gpt9JqFzuRnJfjRpPu/l0/oekR/U46vw+RpOmUHM9G0qoPgZFYprmV+fzAr+/Pcy xUyWdzI+1JP+YwMRnhbCQ2/RA+fEOMuXHouOQe94iBN0GFv/QkcoROCH/VuQrGYhzBEf fMrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=DEAfs6gW; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t144si9085201oie.129.2020.03.24.15.03.25; Tue, 24 Mar 2020 15:03:49 -0700 (PDT) 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; dkim=pass header.i=@networkplumber-org.20150623.gappssmtp.com header.s=20150623 header.b=DEAfs6gW; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728282AbgCXV7Y (ORCPT + 99 others); Tue, 24 Mar 2020 17:59:24 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:36165 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727040AbgCXV7Y (ORCPT ); Tue, 24 Mar 2020 17:59:24 -0400 Received: by mail-pf1-f196.google.com with SMTP id i13so10029690pfe.3 for ; Tue, 24 Mar 2020 14:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oYZJ5wco7JJuTDAxaIpsWcgx8KVREzLx7l31AjoBp64=; b=DEAfs6gW3ASPQcEXUoJf0ITDVQ6oe7LgZ3p93IWuh8Jo8EPp5BxvDh48gkmgSQbNpJ Gu3d/vTzT7phk8mHFXeDh/bpynDnRlCn061b/bRHN2QbVzWMmrdBJt3PPKr5KDQt8F3c 8l/SnPsA6hVHURgUhFmdHzOJzIQUaIfVXf0Wlc9Msx9sYKhdVNaajn7LU7Db1bEcjfpc snzmeJk9EtiM14RiDhEY8/tNTLvbS0xJfRTtbjKxfB8nO1didpQcVuDwn2U6Y8tzH5Ku 750K1aIH7kSsDIaEqQsL728McNdYoyzOxB6MzgnE+HN91GH8cmBH0A+bmjyLEm/M3b0F HPJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oYZJ5wco7JJuTDAxaIpsWcgx8KVREzLx7l31AjoBp64=; b=cKfm7kYGqXZXFMw9VK1sZrFd2N+qCmOTJQNq7SX336AgEhcSpYcDIegjcO6S0/aJof qUnMc8JWoxSoRavBdDE/N+kfpKMF1inGLVAxU7GEBmHx0s2L7vBb0VfaUa4DuohzCIJ+ jzfEWU9S8BctoO4xy33RlxOEwEaUUl1Nd2kQ6ZFAk+n0c1dArMCARNHoHDdqJcJPEuRf 6XV4zIOBJvKyruY3Kgq47FwPYPe4HMf6nbcvawvqsj7rL1XIkbFPnrC3dHyvECETNCrH ghGgsKtMLUNti7nadp75TR3SNJ9OZY6JCDe3xPJq3olZVR01Gek6+DbdLn3DK3PlOm94 zNRg== X-Gm-Message-State: ANhLgQ0RbpTy26R1vF2xNaBfSeKQPdPRkLUjQ034ZMbyMjVpdceehm5K WkSz1WDxKT6wLfQmvk2uiX79bw== X-Received: by 2002:a63:7015:: with SMTP id l21mr2199075pgc.200.1585087161635; Tue, 24 Mar 2020 14:59:21 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id fa16sm74957pjb.39.2020.03.24.14.59.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Mar 2020 14:59:21 -0700 (PDT) Date: Tue, 24 Mar 2020 14:59:12 -0700 From: Stephen Hemminger To: Po Liu Cc: davem@davemloft.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, vinicius.gomes@intel.com, claudiu.manoil@nxp.com, vladimir.oltean@nxp.com, alexandru.marginean@nxp.com, xiaoliang.yang_1@nxp.com, roy.zang@nxp.com, mingkai.hu@nxp.com, jerry.huang@nxp.com, leoyang.li@nxp.com, michael.chan@broadcom.com, vishal@chelsio.com, saeedm@mellanox.com, leon@kernel.org, jiri@mellanox.com, idosch@mellanox.com, alexandre.belloni@bootlin.com, UNGLinuxDriver@microchip.com, kuba@kernel.org, jhs@mojatatu.com, xiyou.wangcong@gmail.com, simon.horman@netronome.com, pablo@netfilter.org, moshe@mellanox.com, m-karicheri2@ti.com, andre.guedes@linux.intel.com, David Ahern Subject: Re: [v1,iproute2 1/2] iproute2:tc:action: add a gate control action Message-ID: <20200324145912.657f2c9e@hermes.lan> In-Reply-To: <20200324034745.30979-7-Po.Liu@nxp.com> References: <20200306125608.11717-11-Po.Liu@nxp.com> <20200324034745.30979-1-Po.Liu@nxp.com> <20200324034745.30979-7-Po.Liu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Mar 2020 11:47:44 +0800 Po Liu wrote: > diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h > index a6aa466..7a047a9 100644 > --- a/include/uapi/linux/pkt_cls.h > +++ b/include/uapi/linux/pkt_cls.h > @@ -106,6 +106,7 @@ enum tca_id { > TCA_ID_SAMPLE = TCA_ACT_SAMPLE, > TCA_ID_CTINFO, > TCA_ID_MPLS, > + TCA_ID_GATE, > TCA_ID_CT, > /* other actions go here */ > __TCA_ID_MAX = 255 All uapi headers need to come from checked in kernel. This is an example of why, you have an out of date version because this version would have broken ABI. This patch should be against iproute2-next since because it depends on net-next.