[PATCH v2 1/2] app/testpmd: add support for setting device EEPROM

Chaoyong He chaoyong.he at corigine.com
Fri Sep 13 12:07:13 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.

Yeah, we'll send a new version patch to see if it can make it better.
Thanks for your review.


More information about the dev mailing list