Re: [dpdk-dev] [PATCH v1] testpmd: eeprom display

2018-09-21 Thread Ferruh Yigit
On 9/21/2018 5:13 PM, Gaëtan Rivet wrote: > On Fri, Sep 21, 2018 at 04:41:10PM +0100, Ferruh Yigit wrote: >> On 9/18/2018 9:59 AM, Gaetan Rivet wrote: >>> The interactive command >>> >>> show port eeprom >>> >>> will dump the content of the EEPROM for the selected port. >>> Dumping eeprom of all

Re: [dpdk-dev] [PATCH v1] testpmd: eeprom display

2018-09-21 Thread Gaëtan Rivet
On Fri, Sep 21, 2018 at 04:41:10PM +0100, Ferruh Yigit wrote: > On 9/18/2018 9:59 AM, Gaetan Rivet wrote: > > The interactive command > > > > show port eeprom > > > > will dump the content of the EEPROM for the selected port. > > Dumping eeprom of all ports at once is not supported. > > > > S

Re: [dpdk-dev] [PATCH v1] testpmd: eeprom display

2018-09-21 Thread Ferruh Yigit
On 9/18/2018 9:59 AM, Gaetan Rivet wrote: > The interactive command > > show port eeprom > > will dump the content of the EEPROM for the selected port. > Dumping eeprom of all ports at once is not supported. > > Signed-off-by: Gaetan Rivet <...> > +void > +port_eeprom_display(portid_t port

Re: [dpdk-dev] [PATCH v1] testpmd: eeprom display

2018-09-18 Thread Gaëtan Rivet
Hi, I am looking at support on e1000/IGB ports, and I have used this command to verify support. It works for fiber but not for copper. I can see in the get_module_info callback that copper SFPs are not supported. Same thing as the kernel driver. Is it possible to use MDIO for dumping the SFP EEP

[dpdk-dev] [PATCH v1] testpmd: eeprom display

2018-09-18 Thread Gaetan Rivet
The interactive command show port eeprom will dump the content of the EEPROM for the selected port. Dumping eeprom of all ports at once is not supported. Signed-off-by: Gaetan Rivet --- app/test-pmd/cmdline.c | 9 +++-- app/test-pmd/config.c | 32 app/