From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E56A8A09E4; Thu, 28 Jan 2021 10:14:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 880DC4067A; Thu, 28 Jan 2021 10:14:07 +0100 (CET) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id B3AD240395 for ; Thu, 28 Jan 2021 10:14:05 +0100 (CET) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 84637C76; Thu, 28 Jan 2021 04:14:04 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 28 Jan 2021 04:14:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= 5tURRcbiQ4dywBHWwun8laroE55W0MeyDoenPedb1wk=; b=Sw0I4gpNiEwnraKO 3hmmHi1Qw8Bfvn7l/nCsFCuweV0TCCPZ2zYBAB1WgWnQiw+bDcTFHuU1t6u8E8gF foql05/mUaZlAtgEVdGSvqoA5nOKGKy6UeLCpevwO/QJU9zoGTYspAAs+iz7LKcc kUrGLRe9spf33vCVP2ukaqHDb/befY58rS00yq/YWSKWzoP58VHstw7u2Ihp5vCG 6vt59SycPywTiAqUxxMHe3p/db52DG3uxd3hWF3nQAc9JRfvvn6d7dlZ/QPBXybB RrPDWCWUJMBMb4iy6z6gEmeGIGJBfiMQbPb2UwTJPRSY6cHqU109bsSmOP7UeRZ4 nrr6Xw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=5tURRcbiQ4dywBHWwun8laroE55W0MeyDoenPedb1 wk=; b=Vdjp1JkjIrqvHi1rWLA4Gdg/obZ0lXiuS1xd3h/T0891wjcEDHwMfqA0+ iu21V2L6tMSfAQwn6YxMMyjusavkJl9uI+E4TbhLoI/O7GSMPBafdn5yRjA1Y8he 7GRtrhD84YPQm4X2Ykm/MmEyrKBdkzXHRygQNEXmlr7NfZQhp0rSdfmp/BbCLW1G NNF5ZY7ximcl7yGKX+cqIQv2U2gpRl3kkBJuxyo08C0TikIsBurhFRtibdKFrpWd 4qxGqUgF1+6TCIAlTcb/rCkEksWByOuBxUbN9/RwStcyI1AyCIoGTMQk9kl5mQS1 ol8/rMggOEwNz+qydZ+QriJHzM+6g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdelgdduvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id D4EE11080069; Thu, 28 Jan 2021 04:14:02 -0500 (EST) From: Thomas Monjalon To: Ferruh Yigit , oulijun Cc: dev@dpdk.org, linuxarm@openeuler.org, Rahul Lakkireddy Date: Thu, 28 Jan 2021 10:14:01 +0100 Message-ID: <1816265.QTXJ6IRgZW@thomas> In-Reply-To: References: <1611150232-609-1-git-send-email-oulijun@huawei.com> <7afa888c-7087-53a7-0328-96ca890b04cc@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 1/3] doc: add FEC in NIC features X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" 28/01/2021 02:55, oulijun: > >> +FEC > >> +--- > >> + > >> +Supports Forward error correction. Forward error correction (FEC) is > >> a bit error correction mode. > >> +It adds error correction information to data packets at the transmit > >> end, and uses the error correction > >> +information to correct the bit errors generated during data packet > >> transmission at the receive end. This > >> +improves signal quality but also brings a delay to signals. This > >> function can be enabled or disabled as required. > >> + > >> +* **[implements] eth_dev_ops**: ``fec_get_capability``, ``fec_get``, > >> ``fec_set``. > >> +* **[provides] rte_eth_fec_capa**: ``speed:ETH_SPEED_NUM_*``, > >> ``capa:RTE_ETH_FEC_MODE_TO_CAPA()``. > >> +* **[related] API**: ``rte_eth_fec_get_capability()``, > >> ``rte_eth_fec_get()``, ``rte_eth_fec_set()``. > >> + > > > > Feature doc looks good, thanks for adding this. > > > > Can you add another patch in this series to update .ini files for hns3 & > > cxgbe to advertise FEC feature? > > > ok. I will do it in next version. I suppose updating drivers can be done in the same patch.