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 9B34CA04C8; Fri, 18 Sep 2020 14:13:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8144F1DA10; Fri, 18 Sep 2020 14:13:26 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 999E61DA06 for ; Fri, 18 Sep 2020 14:13:24 +0200 (CEST) IronPort-SDR: C8ersoR8nWis7T+bKBLFH2V2VZbRHlxXUysfGpXhLba0TloSwhhcTPEwkN1aUAThKUbcooX6Au acHlbBNDnkBw== X-IronPort-AV: E=McAfee;i="6000,8403,9747"; a="159224372" X-IronPort-AV: E=Sophos;i="5.77,274,1596524400"; d="scan'208";a="159224372" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2020 05:13:21 -0700 IronPort-SDR: Ji2gYINywhWCG6viqeb8d/29UguCzadXxTkHAyeYNsOGIpJSP+blBZT0WAD5udqWIUGhGpIlSj OqaU2clusp5Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,274,1596524400"; d="scan'208";a="320589928" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga002.jf.intel.com with ESMTP; 18 Sep 2020 05:13:21 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 18 Sep 2020 05:13:21 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 18 Sep 2020 05:13:20 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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 via Frontend Transport; Fri, 18 Sep 2020 05:13:20 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.173) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Fri, 18 Sep 2020 05:13:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cpRlClqQzF80bnkwJ2Bdi5IlCQLPOefQzb31xZ/ALYKIxzUwWmlpJB4KxaHvpgGeCzmsRqfvFkI7+7vHm4EDaxttoiaqhyb/KofP+pf7pLh1Qo0YzkN/hWeubADgfctSmT5PWWXzmBAx5COMlDUFoHo+93sD6MMhXDaxaLCbiVtzfi1CyR1K1ZawMEyUVTXxXrxh/ccfkbsNtYocp1XS3QvpOouWd4jWzvXEVtY2fmYJGBWnJ0UcWj9jEtYckFFgi0U0oCQ0IaXEoiKeFOossikarsdc1VtFfxHXLQnAENj0HFqCgEOwCZVFWFELPiaWoStnFRPvMBsRLgxPf3uJsw== 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=Nim8/swd4TPfqEyrpbou2YUwWB5tYQ/fJpEDMUIejr0=; b=Waq/+FxOTTZazAvPfD1ezx/gI8sScTEX7/SQ956uTtQaLheOTZe36fuw54HjmcedTrNRznV4kKbhzPLYJJXASLp6pN9K5hC0flJcNQiVcLExMtegQq+KCv74BAKUHkh++nazeV6CRPKrRUc16qU14qbZjd05BsFskMFyb8hpi893Kd8eU7IxzT6tS92IpdArFvtuB1vXhlIeQYCNRc1YItXBfFmwcr7Wm4uK6ifr3U0yGRpqYr6Iz5i85ho35oieQ2rdEYDV9kC+8Irj83NU2uRpEJiRzjsr5rY3d832PJH83KWO07eu+Gxo4cXrGG1PVGIEHi61dju+9WRBsyC1Ag== 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=Nim8/swd4TPfqEyrpbou2YUwWB5tYQ/fJpEDMUIejr0=; b=cwAGZHBvSSK82ELyukuXezGRKhYiX6xl8Zm+YY3MxCeGRc1Xxctk66i/aZYktEVNDiRf7cSG8Jku6JPWMLYUOEsZUnOvjKW8ElxTgxr6u0mqzvdz3uFYeUq8MYq9LF9SQZSpV0TiNOHb9OQ3Etxp9ZYxZ/USfldEDaFIi52K9kc= Received: from BYAPR11MB3301.namprd11.prod.outlook.com (2603:10b6:a03:7f::26) by BYAPR11MB3766.namprd11.prod.outlook.com (2603:10b6:a03:b5::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.15; Fri, 18 Sep 2020 12:13:14 +0000 Received: from BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f43b:a137:dab8:8b0b]) by BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f43b:a137:dab8:8b0b%6]) with mapi id 15.20.3391.011; Fri, 18 Sep 2020 12:13:14 +0000 From: "Ananyev, Konstantin" To: "Min Hu (Connor)" , "dev@dpdk.org" CC: "thomas@monjalon.net" , "arybchenko@solarflare.com" , "Yigit, Ferruh" , "linuxarm@huawei.com" Thread-Topic: [PATCH V7 1/3] ethdev: introduce FEC API Thread-Index: AQHWjbIHRYNKJjbleEaPrHmg65Xjg6luTeXQ Date: Fri, 18 Sep 2020 12:13:14 +0000 Message-ID: References: <1599534347-20430-1-git-send-email-humin29@huawei.com> <1600429707-6879-1-git-send-email-humin29@huawei.com> <1600429707-6879-2-git-send-email-humin29@huawei.com> In-Reply-To: <1600429707-6879-2-git-send-email-humin29@huawei.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [46.7.39.127] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: db660b10-0a4f-410f-c53d-08d85bcc37f9 x-ms-traffictypediagnostic: BYAPR11MB3766: 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:2887; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: joOtZVfGkmgQ+A9M1Y/6BnAOsTSALH7I880BI+m7+4IV4sqZwL6naQLcdtuD4jJ/R5FhjREpKfpOV79AkCl2800DuNM0bOcAcB3LonRdLi79TCGvEDAt5V6hLPMZfy7pkCcSM3KZwyCnJn1lVueI1XUBEHv0Y7WquWJ34Kdvk4BzQ26a+GHLgWd/14fd7eI390cUlF+eHtatg26wrbRV+zzef99LTAREZzXNO5/H/1stVp+lXnEhlHJHNJe2MDBH4r3Cchzk2b6dyoqT96wVzFwHeSDvnhm+6ROPTERBfGmGnvI3r/qCT+dylnxXUCSnz00CuE5B7SUALV1z82fD1w== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3301.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(39860400002)(136003)(346002)(376002)(366004)(7696005)(4744005)(2906002)(110136005)(8936002)(5660300002)(4326008)(26005)(55016002)(186003)(9686003)(52536014)(6506007)(54906003)(86362001)(478600001)(66476007)(76116006)(66946007)(71200400001)(33656002)(66556008)(8676002)(83380400001)(316002)(66446008)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 6AAoXAy8wmgmTb0qnD2tys1WoZp+mcysRqRyiLChY3IZlebdjTH42LRS3UnEmwrCMWJJEJ5/nn4bcrqznVRWLQ2Gu+jnpQkspf2zV8goZI/3fNtAFtNfn/WAgoNpDLfn7eID6IjFZ/Yq8gebknlN3CBXwxpOfwqxIzSW75mP4yHJ1Ot5Fv2NOGMdyo9PfV4kcXYpqVZDG4VxmafemLJ4RnZf3Bp2wXooLskvkejW3JfMUNropmv0GQDePc/t9buib5ka6imgH0/nE8JMuxRdeDWSEE6+baWyQpxxyf7fxGo+aaOx7yj3qI2MsgmZj6Wzg+f+1FlEp0k/x7NFNQDXhiYEdC6TL1Fp/WiDayZ+h1r259LVvHfURdRS7Da7rrJiTdi9VZemHqIrSDOTWuZIoVvFzAFuv/mH8wSnSNu2YPDNoS/QdZzWUDjEK9ExcKxIhRvjW+bEBn7FBF3fCMhHU2fSMa0zuxLEyTgGMjLzWYsImTmJtazzm/Vg13vtHWA6ArlqguLO9Q9Nostex++Sxl/+TgiW5gj8UANuSX4b1xGjga8HIW280zC2Lnl4NpqQCSUIfXtXiaESdeJHzEBuMTYxslEZpEAgvYOrv3jtT5Pr9zXHuvU48N5xQZOC70pcuFLHqbj069hcCua7nwrVfg== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR11MB3301.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: db660b10-0a4f-410f-c53d-08d85bcc37f9 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2020 12:13:14.1258 (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: HY/GcgEZQUFJf85T6HgqvGqjI/afhflYu4YLr1VqvtRTIIWXJS7rizcEOorQiRPjlYT/znLvG/u/yNpIT++Y0HjFR0ciok4cPpd+F6SGC6E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3766 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH V7 1/3] ethdev: introduce FEC API 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" > This patch adds Forward error correction(FEC) support for ethdev. > Introduce APIs which support query and config FEC information in > hardware. >=20 > Signed-off-by: Min Hu (Connor) > Reviewed-by: Wei Hu (Xavier) > Reviewed-by: Chengwen Feng > Reviewed-by: Chengchang Tang > --- > v6->v7: > deleted RTE_ETH_FEC_NUM to prevent ABI breakage. > add new macro to indicate translation from fec mode > to capa. >=20 > --- > v5->v6: > modified release notes. > deleted check duplicated for FEC API > fixed code styles according to DPDK coding style. > added _eth prefix. >=20 > --- > v4->v5: > Modifies FEC capa definitions using macros. > Add RTE_ prefix for public FEC mode enum. > add release notes about FEC for dpdk20_11. >=20 > --- > v2->v3: > add function return value "-ENOTSUP" for API >=20 > --- Acked-by: Konstantin Ananyev > 2.7.4