From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3022AA0561; Mon, 20 Apr 2020 10:24:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 984AF1C2AA; Mon, 20 Apr 2020 10:24:18 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10116.outbound.protection.outlook.com [40.107.1.116]) by dpdk.org (Postfix) with ESMTP id CBFDE1C20E for ; Mon, 20 Apr 2020 10:24:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DPvWi+LegY2nB/Al8Ld6hrwWla25+V++sFPVexOo//HgxELvKTc7SpRP+mh8kMnVRQJgpwSNtx5I6pDw7NMuTmMfdEMgEcmOP3Q8bBdr66Cpmk4ugc+fIWZtVVUuN7V5w6HDZyk3hZa7rczLfc9E4KGBTZUK3YfZWPx9oheD/UAyvl0RuoLt9I1f+/+9ZzxpBMuFbJunR0OToVirB08M7iQBBBfunMwIa85ee2K4OV10UeF61lSwQPg4P21onZWJquWElb2EIv8ErvoKRN1Cu4DTai5G8uUJb3BX4p5tE9Pkx2l0mKvPxHoyzF7g16Y5icM/YwvVmPVYpIxb206JeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bfEm8l3vVWJuUI8fyDWYcc2h4xcgD2WEgN6ljiSeG6Q=; b=PzdwB/9aZ1rRQGnL/b9ZcP1LWFkrNQyH4aVl6zqsHCWSrptyLhZoWv1sqwHV/VaNWbZKXml4nmvB00ff4dP61kCIdgISdScttRCGeuf/K1vtFwHDim553lEE8X+XkqCwBHWRT0vXAuzUI2AlH6hugGhwstEYhxJMCEzP+eEEUPPg4zjuZZ7M274Ed311sBlYAuor0oTZ1slL0anNwwFDAFlo47YU00V0CmS4Vc5QvXWl2Gs3aTZNcxSdHL3vzhjqFQKYHte6ramxDN/sW6/+aH74iVOG/n8Y/TrmH+C4kUjuloxMXCNvOjr8mZtgr6pkxMpHLYxSvZcJZtGr41GtwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=silicom.co.il; dmarc=pass action=none header.from=silicom.co.il; dkim=pass header.d=silicom.co.il; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SILICOMLTD.onmicrosoft.com; s=selector2-SILICOMLTD-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bfEm8l3vVWJuUI8fyDWYcc2h4xcgD2WEgN6ljiSeG6Q=; b=SEE3wdnOpAf4wXWFLcLhhkSOQvPDY+mY/IaXjbbXCngCPzbYoRVyiZ+Jnal4+uFXVC/b8z5rbO9sOCBczvt7SYEbGMmVq+ZgtyEkAgeJn0x70anmELknqUY2edA1rrR25lBO4TFb8NhljdxnLLYZpx9czONxIvLd6/vdHBVR/+s= Received: from VI1PR04MB5150.eurprd04.prod.outlook.com (2603:10a6:803:5c::19) by VI1PR04MB5167.eurprd04.prod.outlook.com (2603:10a6:803:5b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Mon, 20 Apr 2020 08:24:15 +0000 Received: from VI1PR04MB5150.eurprd04.prod.outlook.com ([fe80::79cf:289f:b9b4:53b5]) by VI1PR04MB5150.eurprd04.prod.outlook.com ([fe80::79cf:289f:b9b4:53b5%4]) with mapi id 15.20.2921.027; Mon, 20 Apr 2020 08:24:15 +0000 From: Xiaojun Liu To: Ye Xiaolong CC: Ferruh Yigit , "xiao.w.wang@intel.com" , "qi.z.zhang@intel.com" , "ngai-mint.kwan@intel.com" , "jacob.e.keller@intel.com" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 0/5] support fm10k switch management Thread-Index: AQHWDjfkhNvsrYB88E+dEduLUWHjMqh9acYAgAQZsgCAABry4IAAHKiAgAACI/A= Date: Mon, 20 Apr 2020 08:24:15 +0000 Message-ID: References: <1584687199-19198-1-git-send-email-xiaojun.liu@silicom.co.il> <1586413588-5759-1-git-send-email-xiaojun.liu@silicom.co.il> <9867e3b7-01a7-21e8-3060-8997d38ee61c@intel.com> <20200420045546.GA33101@intel.com> <20200420081447.GD33101@intel.com> In-Reply-To: <20200420081447.GD33101@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=xiaojun.liu@silicom.co.il; x-originating-ip: [103.91.219.177] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 43ab6dab-4cdb-4df5-2e73-08d7e5043670 x-ms-traffictypediagnostic: VI1PR04MB5167: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 03793408BA x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5150.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(346002)(376002)(366004)(136003)(39850400004)(396003)(186003)(8936002)(54906003)(4326008)(316002)(7696005)(6506007)(53546011)(2906002)(76116006)(6916009)(26005)(86362001)(5660300002)(44832011)(8676002)(55016002)(71200400001)(33656002)(478600001)(66476007)(81156014)(66946007)(9686003)(66446008)(64756008)(52536014)(66556008); DIR:OUT; SFP:1102; received-spf: None (protection.outlook.com: silicom.co.il does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bpb5n+ENG66htlvC9A7YH1SWO7isFRQNxyUT0ipGcZkUnSEZv1FOpMSdlaMJOFMh1DXdwg3xMnm6ykTXYuQNfkX1mHXKm9DUIUWRQKHhQmg6YQizKj43ljVu9rSt9CT1wLunDLieq5bh3Sutvnf3Q/1tnrkzQSGuPjTpBXFjzsO0gZ6J/J4UGsAe3OW4uTyK1fitYv5YmC+siGMuRnCeN0sP+v5SQztGZviUQKkRUAJb1OO9eEH2WJ5PDuEWHW9e39iKJIZ6Dfnu4JbQ/AgnIZEnEkf2/hsk9Hod2a6uCiLOLGwggQfJr4KyiDHOQbFPHZRYXK2xO1kca60hzWympqzUPKTHfY5CwWjL2DfXtbEJ/MNGoP4vIAq7ewMtoV++l0ROfet548rmKN27ThOL5uiHf0LPRm4MttvgkvMLlY1OSiQBwPXrE4K/kNa3qagu x-ms-exchange-antispam-messagedata: BVSRlusX7YC+4rHxZ4OR4Ql8i5dyNYbu1GnmciGUDyNT+msmYI/0i7b7w++H3BSnKwbY0gpaZMvzW3lnbdf4XdFMP9TeFEpmKGW5+ouQJ4N79kHiH1jwQcYTlAMjATjPu5MxtatsH5+Q73ZALAQD+A== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: silicom.co.il X-MS-Exchange-CrossTenant-Network-Message-Id: 43ab6dab-4cdb-4df5-2e73-08d7e5043670 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2020 08:24:15.0613 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c9e326d8-ce47-4930-8612-cc99d3c87ad1 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: l7RA1YoFV7GBhoEl+zU/NqizJjQ6cD4dO0vdWMkTy4KfyhrfUcAiCJc9k2RsE7Y3U+YvK6l15mMR/hkZgCeFnv9JOEXq2CHBYI8Av7WnlCs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5167 Subject: Re: [dpdk-dev] [PATCH v4 0/5] support fm10k switch management 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Xiaolong, Thank you! My gcc version is 4.8.5. I will try 7.5.0. Best regards, Xiaojun -----Original Message----- From: Ye Xiaolong [mailto:xiaolong.ye@intel.com]=20 Sent: Monday, April 20, 2020 4:15 PM To: Xiaojun Liu Cc: Ferruh Yigit; xiao.w.wang@intel.com; qi.z.zhang@intel.com; ngai-mint.kw= an@intel.com; jacob.e.keller@intel.com; dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v4 0/5] support fm10k switch management On 04/20, Xiaojun Liu wrote: >Hi Ferruh, > >Thanks! I checked the building by "devtools/test-build.sh x86_64-native-li= nux-gcc+next+shared", I didn't see any error. >Could you tell me how do you build it and what's the error ? Which gcc are you system using? I can reproduce the build error with gcc 7.= 5.0 via ./devtools/test-build.sh x86_64-native-linux-gcc+next+shared. Thanks, Xiaolong =20 > >Best regards, >Xiaojun > >-----Original Message----- >From: Ye Xiaolong [mailto:xiaolong.ye@intel.com]=20 >Sent: Monday, April 20, 2020 12:56 PM >To: Ferruh Yigit >Cc: Xiaojun Liu; xiao.w.wang@intel.com; qi.z.zhang@intel.com; ngai-mint.kw= an@intel.com; jacob.e.keller@intel.com; dev@dpdk.org >Subject: Re: [dpdk-dev] [PATCH v4 0/5] support fm10k switch management > >On 04/17, Ferruh Yigit wrote: >>On 4/9/2020 7:26 AM, Xiaojun Liu wrote: >>> V4: >>> * Add I2C to control the inside LED and PHY. >>> * Add SBUS to communicate with spico. >>> * Add registers defination. >>> * Add switch management log API. >>> * Add switch management structures. >>> * Add epl serdes include loading spico, >>> controlling pcsl, dma, dfe, ical. >>> * Add spico code. >>> * Add state machine for epl lane and port. >>> * Add external port management. >>> * Add ffu to support offload flow into HW. >>> It supports forward, mirror, push VLAN, pop VLAN. >>> * Add config file to configure debug log, port speed, >>> epl port mapping dpdk port, flowset. >>> * Add statistics includes epl port, ffu rule, dpdk port. >>> * Add flow interface to support offload flow into HW. >>> * Add switch management, includes initialization, >>> port mapping, epl port link, LED controller, interrupt handler. >>> * Split dev_init to 2 parts in ethdev. First only register >>> the port in switch management; second init hook will be >>> called after all the pf are registered. >>> * Add switch interrupt support. >>> * Add fm10k_mirror_rule_set/fm10k_mirror_rule_reset. >>> * Add fm10k_dev_filter_ctrl to support flow operation. >>> * Add dpdk port and pf mapping. >>> * Modify Makefile to add new files building >>>=20 >>> Xiaojun Liu (5): >>> net/fm10k: add basic functions for switch management >>> net/fm10k: add epl serdes and port control functions >>> net/fm10k: add ffu and statistics and config file functions >>> net/fm10k: add flow interface and switch management >>> net/fm10k: add switch management support >>>=20 >> >>With 'CONFIG_RTE_FM10K_SWITCH_MANAGEMENT=3Dy' I am getting following buil= d errors, >>can you please check them? >> > >Thanks Ferruh for catching the build error, forgot to build test with CONF= IG_RTE_FM10K_SWITCH_MANAGEMENT=3Dy=20 >when applying it :( > >Thanks, >Xiaolong