On 2024/9/12 14:54, Chaoyong He wrote:
> From: James Hershaw <james.hers...@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.

Reply via email to