[V2,2/2] test_plans/userspace_ethtool: add note to support ixgbe nic

Message ID 20230110151955.857186-2-songx.jiale@intel.com (mailing list archive)
State Accepted
Headers
Series [V2,1/2] tests/userspace_ethtool: modify dts script to support ixgbe nic |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-suite-test success Testing OK

Commit Message

Jiale, SongX Jan. 10, 2023, 3:19 p.m. UTC
  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 <songx.jiale@intel.com>
---
 test_plans/userspace_ethtool_test_plan.rst | 4 ++++
 1 file changed, 4 insertions(+)
  

Comments

Tu, Lijuan Jan. 10, 2023, 8:01 a.m. UTC | #1
On Tue, 10 Jan 2023 15:19:55 +0000, Song Jiale <songx.jiale@intel.com> wrote:
> 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 <songx.jiale@intel.com>

Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Series applied, thanks
  

Patch

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::