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 A2FBFA0588; Thu, 16 Apr 2020 10:34:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 12D7B1DB27; Thu, 16 Apr 2020 10:34:01 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 00D3C1DAFF for ; Thu, 16 Apr 2020 10:33:58 +0200 (CEST) IronPort-SDR: K8HjIesrCv1P88ZoH84v8TJpaKckgGJUhNVGi7dGHkUkvZLyl1DqUjORu3FOJVAJEEPOX3Uh2e ldMvpiEm42LQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Apr 2020 01:33:58 -0700 IronPort-SDR: Ha2j/XXK6ZqKUKzBDKTg6FTbf2r6SwadojDy5MHR/5j7TTqzxlVKXHdELVl5EpbBvLv4eWzvQB eKfcSlJtk7aQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,390,1580803200"; d="scan'208";a="363918760" Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5]) by fmsmga001.fm.intel.com with ESMTP; 16 Apr 2020 01:33:57 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX107.amr.corp.intel.com (10.22.240.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 16 Apr 2020 01:33:57 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 16 Apr 2020 01:33:57 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 16 Apr 2020 01:33:57 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 16 Apr 2020 01:33:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CTUY++7MfhBooV9s4Kg+F+Sc4+RCMR2HCEW90G1oEhu25RFiju6mTorw2/6NvpsQzptVrLkzU8atLFCVkprHJvN/GMEVELgzOT+6GzAK+RNkQZpAkwVh9w4JadVRxjCX8GirqR8+b9oBduae0TUBwCmD5/7JQjSh3tzDJKzIaKZmLAuCwRESoh6RjRanWOgbdPuVHfivSYm3aqQoRtmUSrWPzETPN9YrfyE09GLWoKb5r1MDWs7oslKCY8yKiC5f4SEbv3N/YGI0FsoBtXXiPMLeNi/tGGIOiXhJA2PU7OlsNQ2GOd6Tivs3EzL4Z5God6v2SqrXQBMEuCUP4bKaJw== 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=w9EPvscgqJCQxXEP2m38J25IhaOzudIk54VZlFed+cM=; b=I6vWhgFhSqBt+260T+YWiTbKbWdaZO+8i3CGHyjASPtw7S4F6ifSfe1XgjRQAEhHZOdGiAqoqd1Qznv/7KEeudW2LbPE78i459QZ1TrUYKYhZ4ZZKVBokDGK+cv19nre8TVUgCvpZ8CDkOsO4NF6enZcq/xoT5uyaAChSkijLIBnz2EVU5JzzmJE0i25xDylk+xSoyzWFsbp8Kx9MM9a75DTaud6sRWVvEl0De45vkVmTAiOksRMeZPThsraDEXB5ZAkglLFZzrlYyE2W89wsGw0y5OGLA9F10J/j560i+ld7PG6QD4NYaQyPIWjz4zMwp2Kvq/czT0cOAo52Um8RQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w9EPvscgqJCQxXEP2m38J25IhaOzudIk54VZlFed+cM=; b=oTVY3OHTXpel0tL1VI/74Qee3+HfMECHMgm/RzMAljkXVOFI6jmAKyB+gJVu90JT2AJtOojOH6okjGTp95FCwQxToAj5xbN4zgN00xQUDRCUnI1nlhFJb/bhRKJOzMk/xPEzSat2eSU/xpE62/2NkQcf8Lojyo9xQ3lj0hB5MCc= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN8PR11MB3649.namprd11.prod.outlook.com (2603:10b6:408:84::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.27; Thu, 16 Apr 2020 08:33:51 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::c1db:e5dc:114c:2aad]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::c1db:e5dc:114c:2aad%7]) with mapi id 15.20.2921.027; Thu, 16 Apr 2020 08:33:50 +0000 From: "Wang, Xiao W" To: Xiaojun Liu , "Zhang, Qi Z" , "Kwan, Ngai-mint" , "Keller, Jacob E" , "Ye, Xiaolong" CC: "dev@dpdk.org" Thread-Topic: [PATCH v4 0/5] support fm10k switch management Thread-Index: AQHWDjf7dRMfxyXftkSpKXlzSJkarqh7di8g Date: Thu, 16 Apr 2020 08:33:50 +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> In-Reply-To: <1586413588-5759-1-git-send-email-xiaojun.liu@silicom.co.il> 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=xiao.w.wang@intel.com; x-originating-ip: [192.102.204.45] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0ffa8d18-d00e-4f8b-1e79-08d7e1e0e3f1 x-ms-traffictypediagnostic: BN8PR11MB3649: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 0375972289 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(376002)(39860400002)(396003)(346002)(136003)(366004)(33656002)(86362001)(7696005)(6506007)(2906002)(5660300002)(81156014)(71200400001)(8676002)(53546011)(26005)(186003)(8936002)(76116006)(64756008)(66556008)(66476007)(66946007)(55016002)(66446008)(9686003)(316002)(4326008)(52536014)(6636002)(110136005)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: I4pKCxda+X9hUkWqfcx48zlfjXW4rvQ5eoVNppcWSxNLw9iz0ODVyTZxb4+AZPxhobETP9B0nUjdejqmxIVNzsHLxs8zhR1LAT9KWr1UZXJVhXlkX4oEiLej+AL++E4KxlSK9ogULMkHXk5l16cI0VtUBuzyfAsfeg8r1Jm6vaHMGFHG4livqziTZaGAfJrmPV9wVqkTOCNqiBVMMjPC1HqOfTYh7Qm2i6Lr2OKdSPkJ4ZP5SW6njLTn7DZT4lK10l1i8rkgVTQ6nI2yC5qwNK4n/+ZHUrdoNUjD7Ebl9KfMM0WZcVpwUiJbanG3t7ex5iMPg21Pr6QGd4UFgEvVc4sdjvEDy6F1mSR9E6B2WNwCytlU/3nReK3NZkv4CgZVbJoFfJeW8I4/ePSjRejVE2+tWVEjIkOjEeRt6KYOvDIhKlcpXcLsdoTv43cm12w1 x-ms-exchange-antispam-messagedata: IwCC/VZkhwRAsKyZjO0mJdzsbl8LKs+JxGLQCCMq+P75GUD+UvBlnP7KV9MLfP1AtyJxy7CccIsrI6E56yPlHa3/XMBqPmscZA29RVNjKfl6F350qoMpyT0L0eH4lYDMhgNSaXOgEDFwXKvOilad2A== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 0ffa8d18-d00e-4f8b-1e79-08d7e1e0e3f1 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2020 08:33:50.3172 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LSTFl4tR65zaE3tNOb48ltZuJtJTbCEsOFDCpGRs+0LmNJI7Pv4EdOD5HjAnR9giw0Z06+6iJst4J9yxc5pdyg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3649 X-OriginatorOrg: intel.com 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" For the series, Reviewed-by: Xiao Wang Best Regards, Xiao > -----Original Message----- > From: Xiaojun Liu > Sent: Thursday, April 9, 2020 2:26 PM > To: Wang, Xiao W ; Zhang, Qi Z > ; Kwan, Ngai-mint ; Kelle= r, > Jacob E > Cc: dev@dpdk.org; Xiaojun Liu > Subject: [PATCH v4 0/5] support fm10k switch management >=20 > 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 > config/common_linux | 5 + > doc/guides/nics/fm10k.rst | 5 + > doc/guides/rel_notes/release_20_05.rst | 7 + > drivers/net/fm10k/Makefile | 20 + > drivers/net/fm10k/base/fm10k_type.h | 1 + > drivers/net/fm10k/fm10k_ethdev.c | 555 ++++- > drivers/net/fm10k/switch/fm10k_config.c | 854 ++++++++ > drivers/net/fm10k/switch/fm10k_config.h | 176 ++ > drivers/net/fm10k/switch/fm10k_debug.h | 18 + > drivers/net/fm10k/switch/fm10k_ext_port.c | 837 ++++++++ > drivers/net/fm10k/switch/fm10k_ext_port.h | 134 ++ > drivers/net/fm10k/switch/fm10k_ffu.c | 1239 +++++++++++ > drivers/net/fm10k/switch/fm10k_ffu.h | 30 + > drivers/net/fm10k/switch/fm10k_flow.c | 864 ++++++++ > drivers/net/fm10k/switch/fm10k_flow.h | 26 + > drivers/net/fm10k/switch/fm10k_i2c.c | 309 +++ > drivers/net/fm10k/switch/fm10k_i2c.h | 55 + > drivers/net/fm10k/switch/fm10k_regs.h | 2298 +++++++++++++++++++++ > drivers/net/fm10k/switch/fm10k_sbus.c | 291 +++ > drivers/net/fm10k/switch/fm10k_sbus.h | 38 + > drivers/net/fm10k/switch/fm10k_serdes.c | 1929 +++++++++++++++++ > drivers/net/fm10k/switch/fm10k_serdes.h | 30 + > drivers/net/fm10k/switch/fm10k_sm.c | 188 ++ > drivers/net/fm10k/switch/fm10k_sm.h | 79 + > drivers/net/fm10k/switch/fm10k_spico_code.c | 2963 > +++++++++++++++++++++++++++ > drivers/net/fm10k/switch/fm10k_spico_code.h | 21 + > drivers/net/fm10k/switch/fm10k_stats.c | 1226 +++++++++++ > drivers/net/fm10k/switch/fm10k_stats.h | 253 +++ > drivers/net/fm10k/switch/fm10k_switch.c | 2362 +++++++++++++++++++++ > drivers/net/fm10k/switch/fm10k_switch.h | 465 +++++ > 30 files changed, 17242 insertions(+), 36 deletions(-) > create mode 100644 drivers/net/fm10k/switch/fm10k_config.c > create mode 100644 drivers/net/fm10k/switch/fm10k_config.h > create mode 100644 drivers/net/fm10k/switch/fm10k_debug.h > create mode 100644 drivers/net/fm10k/switch/fm10k_ext_port.c > create mode 100644 drivers/net/fm10k/switch/fm10k_ext_port.h > create mode 100644 drivers/net/fm10k/switch/fm10k_ffu.c > create mode 100644 drivers/net/fm10k/switch/fm10k_ffu.h > create mode 100644 drivers/net/fm10k/switch/fm10k_flow.c > create mode 100644 drivers/net/fm10k/switch/fm10k_flow.h > create mode 100644 drivers/net/fm10k/switch/fm10k_i2c.c > create mode 100644 drivers/net/fm10k/switch/fm10k_i2c.h > create mode 100644 drivers/net/fm10k/switch/fm10k_regs.h > create mode 100644 drivers/net/fm10k/switch/fm10k_sbus.c > create mode 100644 drivers/net/fm10k/switch/fm10k_sbus.h > create mode 100644 drivers/net/fm10k/switch/fm10k_serdes.c > create mode 100644 drivers/net/fm10k/switch/fm10k_serdes.h > create mode 100644 drivers/net/fm10k/switch/fm10k_sm.c > create mode 100644 drivers/net/fm10k/switch/fm10k_sm.h > create mode 100644 drivers/net/fm10k/switch/fm10k_spico_code.c > create mode 100644 drivers/net/fm10k/switch/fm10k_spico_code.h > create mode 100644 drivers/net/fm10k/switch/fm10k_stats.c > create mode 100644 drivers/net/fm10k/switch/fm10k_stats.h > create mode 100644 drivers/net/fm10k/switch/fm10k_switch.c > create mode 100644 drivers/net/fm10k/switch/fm10k_switch.h >=20 > -- > 1.8.3.1