From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00043.outbound.protection.outlook.com [40.107.0.43]) by dpdk.org (Postfix) with ESMTP id 6BA355B32 for ; Thu, 1 Nov 2018 21:33:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HNb5jKk7XHuY7jpYvASO/Z/ae2MeLxD5+69kf8W3lAE=; b=cjL+L7v3Cyzjkqovcpc4YOCfC7IXbslHsQDGvOHa4FsQz8+LPF/Ti1R/39eyg1kDxMRLNZRKodYeXwR+zIn/YYPBQr+NsweMsjvjSIezteWHl3+jUchhwCG5Tmd/13dHtF8fT6wWGvtuhlqqX3sWoaC3LO5jM33nzYkQ1tj2U6M= Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com (52.134.72.27) by DB3PR0502MB3977.eurprd05.prod.outlook.com (52.134.70.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.21; Thu, 1 Nov 2018 20:33:16 +0000 Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::f8a1:fcab:94f0:97cc]) by DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::f8a1:fcab:94f0:97cc%4]) with mapi id 15.20.1273.030; Thu, 1 Nov 2018 20:33:16 +0000 From: Yongseok Koh To: Slava Ovsiienko CC: Shahaf Shuler , "dev@dpdk.org" Thread-Topic: [PATCH v3 01/13] net/mlx5: prepare makefile for adding e-switch VXLAN Thread-Index: AQHUcd0f0ILJBeJC50WFbmUbHHoKlKU7YHgA Date: Thu, 1 Nov 2018 20:33:16 +0000 Message-ID: <20181101203307.GB6118@mtidpdk.mti.labs.mlnx> References: <1539612815-47199-1-git-send-email-viacheslavo@mellanox.com> <1541074741-41368-1-git-send-email-viacheslavo@mellanox.com> <1541074741-41368-2-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1541074741-41368-2-git-send-email-viacheslavo@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BYAPR03CA0021.namprd03.prod.outlook.com (2603:10b6:a02:a8::34) To DB3PR0502MB3980.eurprd05.prod.outlook.com (2603:10a6:8:10::27) authentication-results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB3PR0502MB3977; 6:Aa9EOWypYUTkt++ZoGc4IE5vQNDVHTh4sFYwsaMK4++S0LFX3I3Upj+Sp8e5sZOOzZwVkydbEMaIPr9kzhQCkmfZaXMJNp48G+vSiTymHvwgHnTnavg6R9nORecwmyzLeFpDCadcaTzvLhhPpHFTmHqhxtQOx21CNOF8/yvvtA/P1FF8jtliMEZLN7kFkL3KlRNm9aVfq/M/cFbBlR3Y1xvuMCeYXynetZhbfzHKQonhOnmz/1pzkD2UlUK0sezOGrPCN5F08zFQLpEm4sfgELT23x4f9tp+MER4k2unbHZRHfX3OWnHj0ZglRPf8qPTxRSPaDECyZ2p5wNIWOGKIaLDmpWNNj0E2Pz+OBSqpjIbWFyJvfKWWrYyY+Fu+G0OrHWOLiFXwk7uqub6FsA7gGuE37J4hsUdjCwANBLD+yWpYFBBIciZBA/P8b3WjY0rDApVg0SpVH5MM0uNjRdcag==; 5:YbQAjqZPE/OeXzqOPL3LwSbPVxrZyO2EUVL13Mmo1iRFfPeROo6q9BSNAiGYuJ2scoyCW02v7oiz72gLca96rv0x63C/D6zvMKI5MIYn1vOJ7ri8GTDjxCX9URSy7mWvDzzAUiBgt8NissPnhtE7ntMsAG7Gc4r1V4YxcOA/Uds=; 7:S7qaRwOO5T832ljnVKYKfEMIjx435DYB+rtBx5xtqQR5NJnB6PAC8TrBFLYhs/HGGV5+jfFOH6ZYhD6OCMvLEelo/34M3DQEXL7Ekk/MfPBjrwL48qmQ6fvzBIDhZB9ompF19froH8EoB9nooykdNA== x-ms-office365-filtering-correlation-id: 3a19a598-b463-4539-b681-08d64039405e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DB3PR0502MB3977; x-ms-traffictypediagnostic: DB3PR0502MB3977: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:DB3PR0502MB3977; BCL:0; PCL:0; RULEID:; SRVR:DB3PR0502MB3977; x-forefront-prvs: 0843C17679 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(376002)(39860400002)(396003)(366004)(199004)(189003)(71190400001)(81156014)(81166006)(8676002)(14454004)(11346002)(446003)(486006)(33656002)(1076002)(476003)(68736007)(66066001)(6862004)(256004)(8936002)(71200400001)(105586002)(2900100001)(6116002)(3846002)(106356001)(2906002)(4326008)(53936002)(25786009)(9686003)(6512007)(99286004)(6246003)(186003)(52116002)(86362001)(6486002)(6436002)(386003)(6506007)(33896004)(5660300001)(229853002)(54906003)(316002)(305945005)(6636002)(7736002)(97736004)(5250100002)(478600001)(102836004)(76176011)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB3977; H:DB3PR0502MB3980.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: jaoe6ankSy5p79Q62KznPU02Pb/L1YqPzFZ3+li9FZFxAMKmD+EEuLmOQrsga7/epQLWHH8n9UsgcxqNE7W8DV9ZIIZ3H60FhRq4itsNjHKC9Q9/0lFCd7OHeafYaaMAaS3BhD27FZyjt5VhagZQ9lzPtN9yStaQcK9K18FuKSobC8bv5cMawphRV9yyL9FdOoX+YpijiQfIPW5YzAhKK4aHG74p6eQn30g3G0Nc+zGSHERvyvVC8r/0zQT7wN8wIUkKgbqB5JXatfYFamOP0P2rJGYTFIIG1cMcWrEoEJnjj9D0G0yenmKB1cEShdsvExLXnJbZEpEwZB2i33kckBA7XF7/+lcSUu9RsrqzLbw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <309B5C496D21A74EBB70D7D8A80736A8@eurprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a19a598-b463-4539-b681-08d64039405e X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Nov 2018 20:33:16.1459 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB3977 Subject: Re: [dpdk-dev] [PATCH v3 01/13] net/mlx5: prepare makefile for adding e-switch VXLAN X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2018 20:33:18 -0000 On Thu, Nov 01, 2018 at 05:19:22AM -0700, Slava Ovsiienko wrote: > This patch updates makefile before adding E-Switch VXLAN > encapsulation/decapsulation hardware offload support. > E-Switch rules are controlled via tc Netilnk commands, > so we need to include tc related headers, and check for > some tunnel specific key definitions. >=20 > Suggested-by: Adrien Mazarguil > Signed-off-by: Viacheslav Ovsiienko > --- Acked-by: Yongseok Koh Thanks > drivers/net/mlx5/Makefile | 85 +++++++++++++++++++++++++++++++++++++++++= ++++++ > 1 file changed, 85 insertions(+) >=20 > diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile > index ba433d3..f4fa075 100644 > --- a/drivers/net/mlx5/Makefile > +++ b/drivers/net/mlx5/Makefile > @@ -218,6 +218,11 @@ mlx5_autoconf.h.new: $(RTE_SDK)/buildtools/auto-conf= ig-h.sh > enum IFLA_PHYS_PORT_NAME \ > $(AUTOCONF_OUTPUT) > $Q sh -- '$<' '$@' \ > + HAVE_IFLA_VXLAN_COLLECT_METADATA \ > + linux/if_link.h \ > + enum IFLA_VXLAN_COLLECT_METADATA \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > HAVE_TCA_CHAIN \ > linux/rtnetlink.h \ > enum TCA_CHAIN \ > @@ -378,6 +383,86 @@ mlx5_autoconf.h.new: $(RTE_SDK)/buildtools/auto-conf= ig-h.sh > enum TCA_VLAN_PUSH_VLAN_PRIORITY \ > $(AUTOCONF_OUTPUT) > $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_KEY_ID \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_KEY_ID \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_IPV4_SRC \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_IPV4_SRC \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_IPV4_SRC_MASK \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_IPV4_SRC_MASK \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_IPV4_DST \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_IPV4_DST \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_IPV4_DST_MASK \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_IPV4_DST_MASK \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_IPV6_SRC \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_IPV6_SRC \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_IPV6_SRC_MASK \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_IPV6_SRC_MASK \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_IPV6_DST \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_IPV6_DST \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_IPV6_DST_MASK \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_IPV6_DST_MASK \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_UDP_SRC_PORT \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_UDP_SRC_PORT \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_UDP_SRC_PORT_MASK \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_UDP_SRC_PORT_MASK \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_UDP_DST_PORT \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_UDP_DST_PORT \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_FLOWER_KEY_ENC_UDP_DST_PORT_MASK \ > + linux/pkt_cls.h \ > + enum TCA_FLOWER_KEY_ENC_UDP_DST_PORT_MASK \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TC_ACT_TUNNEL_KEY \ > + linux/tc_act/tc_tunnel_key.h \ > + define TCA_ACT_TUNNEL_KEY \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_TUNNEL_KEY_ENC_DST_PORT \ > + linux/tc_act/tc_tunnel_key.h \ > + enum TCA_TUNNEL_KEY_ENC_DST_PORT \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > + HAVE_TCA_TUNNEL_KEY_NO_CSUM \ > + linux/tc_act/tc_tunnel_key.h \ > + enum TCA_TUNNEL_KEY_NO_CSUM \ > + $(AUTOCONF_OUTPUT) > + $Q sh -- '$<' '$@' \ > HAVE_TC_ACT_PEDIT \ > linux/tc_act/tc_pedit.h \ > enum TCA_PEDIT_KEY_EX_HDR_TYPE_UDP \ > --=20 > 1.8.3.1 >=20