From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 7DCFEA00C5;
	Tue, 15 Feb 2022 16:07:46 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 0F2CF410F7;
	Tue, 15 Feb 2022 16:07:46 +0100 (CET)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
 [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 622DA410F3
 for <dev@dpdk.org>; Tue, 15 Feb 2022 16:07:45 +0100 (CET)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41])
 by mailout.nyi.internal (Postfix) with ESMTP id 94EA25C0389;
 Tue, 15 Feb 2022 10:07:44 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute1.internal (MEProxy); Tue, 15 Feb 2022 10:07:44 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 cc:cc:content-transfer-encoding:content-type:date:date:from:from
 :in-reply-to:in-reply-to:message-id:mime-version:references
 :reply-to:sender:subject:subject:to:to; s=fm3; bh=p0DP0C70AUJYZx
 6ludaESwvlRbvGhMk6jwoTAO/rmjQ=; b=o2gvv9tg9Dpl3JHv4iPt9CLJQkrH6p
 l3SASXnG1CYKLv8FG7Uil9godkmjSuRJDISPm6nlb13wSjWax90PClAKpVWPEJg3
 g6y9kSzKTXOQXFOjWskprxMFNpwVLlYU8HtZaNajAfaokFQQdqt90Wvn1lxNdel1
 VboIpFts0Zvl2JFUYBlkln54d/bCX+M1SkOnxFzdwnuPMnGQaU1ItIAn570dupQL
 Jrv4YoksU1EJ0rvAakMr/kFLI+8bLmwsugJ4UDdSPPxmXzR5K1uA4nBdbHT7IJNj
 aoP3T6Q3Tnby5hZ7su3i1smeFDDNY3UR3z3P8561OzR5NZcjiG17DqsA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-transfer-encoding
 :content-type:date:date:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm2; bh=p0DP0C70AUJYZx6ludaESwvlRbvGhMk6jwoTAO/rm
 jQ=; b=GYnC/IzjnlrIiXFIuAqgyYQ8tWmHVpeAJZ+GCCsBP2pKHXI4EedcWZ/IH
 avPD9ZZaUnpfUa+Wjm/+gNpVsUi6xmvboqHVChRWx9Ebp5wuiLTbJnjhinOdyQmp
 /7x5KP84DNxo1LVNRoamSsXy452S1+YxEdyF2uE7hWRNAonXbCztqum3WOIRvYq2
 6LVBXt8XugfGo9uqnEyB4ysutbA47hcd4qS43VQ0oTwMLadyuPFKe3AXb8JCBumK
 +ZUwN8JyRsa1oZU0mEXniJ5Zs5mc0m7P5RD1QpX5PQFaFPpE3EkUddQ2mZQJFHGg
 3geMFyNxF+TfxFXJ7IV7P/XVnQTOw==
X-ME-Sender: <xms:v8ELYtzp0MroYZ3f9K2vSkhrda_U1UyRHD_UTh8SNlGHaswyAD8bIQ>
 <xme:v8ELYtRW1bNsdboz1k-3C0rWcqHKtCqYpdHb0UYrHLHCK4eBdd0WwTX7wm0rvFxoS
 dB_gZD9sgOuK-M2eg>
X-ME-Received: <xmr:v8ELYnXIqBhQHfztFkyUQE4eMfGMr7nt3I9vqbxwxfzIEjvf0KR5w21lwJLW0gkohirX1O0AUrlMKT0eLG6fUuuHBA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrjeeggdejudcutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs
 ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf
 frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei
 iedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh
 hmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:v8ELYvjjtaobc3vqJoAoeGP0M2cGdnkEiE0kD_jwAmtf_4IOFk1hGw>
 <xmx:v8ELYvCkJo9pmwkyhm-5eOcyR73alA1_9pI3YLwPb5DNEi3I0v7fdw>
 <xmx:v8ELYoJ2yllync0ZMzsco5Uk4upX6y2nVAvZMP6dw6X9cx3n7jMmgw>
 <xmx:wMELYj24HoHuIJQ_dTVWM1Fp5WlrAdLy7xbrkdGBJr1H86BnU3V7gA>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
 15 Feb 2022 10:07:41 -0500 (EST)
From: Thomas Monjalon <thomas@monjalon.net>
To: Robin Zhang <robinx.zhang@intel.com>, dev@dpdk.org,
 Qi Zhang <qi.z.zhang@intel.com>, Ferruh Yigit <ferruh.yigit@intel.com>
Cc: xiaoyun.li@intel.com, aman.deep.singh@intel.com, yuying.zhang@intel.com,
 junfeng.guo@intel.com, stevex.yang@intel.com,
 David Marchand <david.marchand@redhat.com>
Subject: Re: [PATCH] app/testpmd: format dump information of module EEPROM
Date: Tue, 15 Feb 2022 16:07:39 +0100
Message-ID: <3208558.0oRPG1VZx4@thomas>
In-Reply-To: <cbd03458-6f9b-d73b-f1f4-a4e3a9292c71@intel.com>
References: <20220215101853.919735-1-robinx.zhang@intel.com>
 <cbd03458-6f9b-d73b-f1f4-a4e3a9292c71@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

15/02/2022 14:28, Ferruh Yigit:
> On 2/15/2022 10:18 AM, Robin Zhang wrote:
> > This patch add a format specific information of different module eeprom.
> > The format support for SFP(Small Formfactor Pluggable)/SFP+
> > /QSFP+(Quad Small Formfactor Pluggable)/QSFP28 modules based on
> > SFF(Small Form Factor) Committee specifications
> > SFF-8079/SFF-8472/SFF-8024/SFF-8636.
> > 
> 
> Hi Robin,
> 
> First of all, can you please clarify the motivation of this
> patch? Why we are adding this eeprom parsing, and who will be
> user of this patch?
> 
> 
> And, just to confirm, this parses the eeprom module based on
> SFF spec, right? So it doesn't specific or depends any vendor.
> 
> But still, this is too much SFF specific code in the testpmd,
> and it is not small amount of code. I am not comfortable to
> get this into testpmd unless there is a good reason.

Please remember that testpmd is supposed to be the application
for testing ethdev API and drivers.
It doesn't make sense to add code if it does not directly help
with the goal above.

> What do you think to have this as a sample application?

It can be in the directory app/ maybe.