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 ACA80423A2; Tue, 10 Jan 2023 08:22:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AABAD42C4D; Tue, 10 Jan 2023 08:22:14 +0100 (CET) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 0843D40689 for ; Tue, 10 Jan 2023 08:22:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673335333; x=1704871333; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mwYjr+e7MxdAIQgMV8GyDqrOSTrBJFqQsQ0QondjH0A=; b=fltIL1Lu5KQFFBQrBN7ZamBBXo3j0PamBZhRAvoAnsBy9geF6fG00cF1 ezcFFYnXjMVpETLdLP1ucHMI0p2G0dJX//j+Mi+KzMV2bhgGWxNvnU/f/ m4DR9hAlnw+oRuLO2KrrOANl5BgBqMw+/YSh3+t2KlGqRoaKETxNj8XXZ dcHXdEAG3EmhRBrAhSTo+mY/jyoVhzH7qSIUmR6H7noZsMUfihKqa12go A/r3MP89KbvIRKQBTdDmBdarrwMnoSUjc2veBWY4xBxonlckBlhzJrQxr EnQSWE2rSXEb0YvXzPGC4urkLQA6ooGOGZYrWjJmaYacRHfy6/L0xR/He Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10585"; a="385383983" X-IronPort-AV: E=Sophos;i="5.96,314,1665471600"; d="scan'208";a="385383983" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jan 2023 23:22:12 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10585"; a="606854918" X-IronPort-AV: E=Sophos;i="5.96,314,1665471600"; d="scan'208";a="606854918" Received: from unknown (HELO localhost.localdomain) ([10.239.252.20]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jan 2023 23:22:11 -0800 From: Song Jiale To: dts@dpdk.org Cc: Song Jiale Subject: [dts] [PATCH V2 2/2] test_plans/userspace_ethtool: add note to support ixgbe nic Date: Tue, 10 Jan 2023 15:19:55 +0000 Message-Id: <20230110151955.857186-2-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230110151955.857186-1-songx.jiale@intel.com> References: <20230110151955.857186-1-songx.jiale@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org according to the solution provided by the EPG team, if you read eeprom on the ixgbe nic, use the "length" parameter to reduce the size to 0x4000. Signed-off-by: Song Jiale --- test_plans/userspace_ethtool_test_plan.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test_plans/userspace_ethtool_test_plan.rst b/test_plans/userspace_ethtool_test_plan.rst index a0863e0a..24a1571a 100644 --- a/test_plans/userspace_ethtool_test_plan.rst +++ b/test_plans/userspace_ethtool_test_plan.rst @@ -76,6 +76,10 @@ Dump eeprom binary by linux's ethtool and dpdk's ethtool separately:: ethtool --eeprom-dump INTF_0 raw on > ethtool_eeprom_0.bin ethtool --eeprom-dump INTF_1 raw on > ethtool_eeprom_1.bin +.. note:: + In case on ixgbe NIC to read the eeprom, please use 'length' parameter to reduce size to 0x4000. + For example: ethtool --eeprom-dump {INTF} length 0x4000. + Retrieve eeprom on specified port using dpdk's ethtool and compare csum with the file dumped by ethtool:: -- 2.25.1