[PATCH v2 1/2] app/testpmd: add support for setting device EEPROM
fengchengwen
fengchengwen at huawei.com
Thu Sep 12 11:05:12 CEST 2024
On 2024/9/12 14:54, Chaoyong He wrote:
> From: James Hershaw <james.hershaw at corigine.com>
>
> There is currently no means to test the .set_eeprom function callback of
> a given PMD in drivers/net/. This patch adds functionality to allow a
> user to set device eeprom from the testpmd cmdline.
>
> usage:
> testpmd> set port <port-id> eeprom magic <magic> value <value>
> offset <offset>
this should be a high risk command (it will modify the eeprom of NIC), if use mis-use may lead to serious problem.
if add it, I suggest add acknowledgement from user.
More information about the dev
mailing list