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 17D93A0561; Mon, 20 Apr 2020 08:37:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DB3E51C433; Mon, 20 Apr 2020 08:37:20 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140138.outbound.protection.outlook.com [40.107.14.138]) by dpdk.org (Postfix) with ESMTP id 95AA21C246 for ; Mon, 20 Apr 2020 08:37:19 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aXgO+VYpocncZa6VADBeVQf9iaKM0Xi1V6ivMes/5tBZ8wXWX095QzPQSOmvWicSMM755mMiVug+U/97eQ3XL/HZl3FJs+/9tj9XUMqtY5dfA2OkNlqh/1nsp4t7yfCu0yRvnorzPA1i6DMuL3sQ8tWgwTIBGeZ+rQ5GexKdMLpFtjyI+se6dqCFSF2SeQLvgzT9zjSFYZRfI6y9ZKbjr7G1IsSjdEvHkxuqN37kwSZXI1A3Aff9eOEnS6vRYQMbresQBYz5U5LRFwghHX/Tn+R8Ha9V9trjGuob9LCKG/uFJLQZyC06K9betgnBEmmA5xsXBo4eD8iqnVGtfwSTyA== 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=CN3Du7DJ/BKP3MFHENzYZ3gd64uc5eJapNGvLoA4tZ0=; b=MWnJ8p+cvaG52QTDyIHjQaoSrnhBtTKo1ZFL2LCwV5PEwO8+pPLJ1V6+/zpSKXaxyDGawlXDGSo6igV0ecMTCLTL7PQaAYqEdUtoMt1jsr5obMIRpr6iZM+5uoIVD9JHpblrdF2Jnv+Ds00OojAiTpLtj3kyCyQpoWtSUT953qoz4LoUnpr7akD6nKUO2RjLUmrqSJsdMb29nPDl6qprHuSq2VW8R66YUAgML4MYZdWxoH+nguimj6SftvR5X61TzOyEm/XbY7173jY0GHO0MtPQ+xsztTS9DgUpTuN/VGMAcoVhfDkLbqfnLrGdNF12Er19K9h+lalt63tAvaRNoA== 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=CN3Du7DJ/BKP3MFHENzYZ3gd64uc5eJapNGvLoA4tZ0=; b=sP4KKAI7eRjwiGPYZ3C2AO4wVrQPZyvIAmvrQwAwqyLu6hjeh7Dzza26HbSR0KSkrwnECr3NxrBv2kSj+0RinbzSzV2SHt4HjJJxMq8OUecEMnol1H8bfy/KJXviCJB+tvUMSktNByFssXXv/n/wLsYEr7gXFpC7XSiHHmJ5t6c= Received: from VI1PR04MB5150.eurprd04.prod.outlook.com (2603:10a6:803:5c::19) by VI1PR04MB3119.eurprd04.prod.outlook.com (2603:10a6:802:10::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.28; Mon, 20 Apr 2020 06:37:17 +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 06:37:16 +0000 From: Xiaojun Liu To: Ye Xiaolong , Ferruh Yigit CC: "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+dEduLUWHjMqh9acYAgAQZsgCAABry4A== Date: Mon, 20 Apr 2020 06:37:16 +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> In-Reply-To: <20200420045546.GA33101@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: 9220c7fb-6f65-4c67-ffcc-08d7e4f544d7 x-ms-traffictypediagnostic: VI1PR04MB3119: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; 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)(396003)(39850400004)(346002)(136003)(376002)(366004)(66446008)(53546011)(52536014)(8936002)(33656002)(86362001)(26005)(2906002)(7696005)(6506007)(4326008)(8676002)(81156014)(54906003)(66476007)(66556008)(55016002)(76116006)(9686003)(66946007)(44832011)(110136005)(64756008)(5660300002)(316002)(71200400001)(186003)(478600001); 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: YM9DGnewtFZ+epUrZOEq/AAxkvaQROvFwNgHUgg9oK7P36WOzY+lCj3/GsOv4bdbvcAMaWa+p0CeA5DC3se9NiST+FVb007GKbuL1dtTDU3FsB5dfZt10K4ZZD1rgteBvx4DgmfXO6HKHi74Ewg/wdPCYOYV0CuETxxbAJPAQ+4odXEweUvz7/wPskg7UC3ailCCcmLgZgXzl+kHr/H5qDaT2Knn4Weqon6YgBKzg7N6OG0cJPSR413nHhSjsDnGwzlhct1U+6d+8x/Ge83vr/tB7dfe0mhrrefrSYGBk6LZMmXFjT0AlvyTWV4IlTrLWAxSlyo4IauLI1E69Irzi4kL7xnFZJtxoneKPeblFwTmUelxGrNOucKMklIVasCqYdYL95t14Z3I7Snh7qUXiqO0CLZEycOmOLC0AG40e+25m7yc21MJ6CBpjeN8cPJO x-ms-exchange-antispam-messagedata: wIDPlo3NbOr1Zgd7EKYZ1QvJCK0GxCkjaKr39JZgUA2Qu/JbR+M/4X18pTu/2tBtxguuVdSJcS3W5ZOlHb/LI2WXjJNBKd/V5ZefmhGQBMlpr8PpF507xbtr0pTag+D9SuvNc6yrNSr2EqjoWf4jPQ== 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: 9220c7fb-6f65-4c67-ffcc-08d7e4f544d7 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2020 06:37:16.7879 (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: JeFtzzpfeEu0d7pQmnhI1LRDanLuSxOBakjHPkmRtsCyi+W0j1AeZ7gBdhCXU6uAWWRhbWFLwGgfoUL8PnKGsm06HzRAVteHHGgdSqCf9m0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3119 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 Ferruh, Thanks! I checked the building by "devtools/test-build.sh x86_64-native-lin= ux-gcc+next+shared", I didn't see any error. Could you tell me how do you build it and what's the error ? 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.kwa= n@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 build= errors, >can you please check them? > Thanks Ferruh for catching the build error, forgot to build test with CONFI= G_RTE_FM10K_SWITCH_MANAGEMENT=3Dy=20 when applying it :( Thanks, Xiaolong