Damjan,
On 14.08.2025 11:39, Damjan Marion via lists.fd.io wrote:
Hi Pim,
nice work, started something like this long time ago but never reached the
finish line.
Only one comment, can you make it generic instead of dpdk specific. i.e.
- all code in vnet/ethernet
- show dpdk transceiver -> show interface transceiver
- expose dpdk read epprom trough vnet_device_class_t, similar to
set_rss_queues_function or flow_ops_function.
Can do. Take a look at https://gerrit.fd.io/r/c/vpp/+/43550 which is the
vnet part.
I agree it's a bit nicer to have this in one place, as other interface
types (eg mlnx if it's running in rdma mode) may be able to
reuse it.
I tested this gerrit by hacking together a 'show interface transceiver
<itf>' in vnet/interface_cli.c, and that correctly dumps the EEPROM of
DPDK interfaces, and ignores others because the .read_eeprom.function
isn't set. I'll rebase the SFF8472 parser on this one once it's merged.
--
Pim van Pelt <p...@ipng.ch>
PBVP1-RIPE https://ipng.ch/
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#26265): https://lists.fd.io/g/vpp-dev/message/26265
Mute This Topic: https://lists.fd.io/mt/114694432/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-