Please submit a patch. From: [email protected] <[email protected]> On Behalf Of Lijian Zhang Sent: Wednesday, July 31, 2019 10:37 PM To: [email protected] Cc: Juraj Linkeš <[email protected]>; Honnappa Nagarahalli <[email protected]>; nd <[email protected]> Subject: [vpp-dev] Time-consuming with 'show hardware-interfaces' command
Hi, It takes a long time to execute "show hardware-interfaces detail" in CSIT script. It's quite time-consuming for 'show hardware-interfaces' reading eeprom of the SFP, via function rte_eth_dev_get_module_eeprom (xd->port_id, &ei), in DPDK. Function rte_eth_dev_get_module_eeprom() is reading a 512 byte-length of SFP eeprom with a software emulated I2C bus. On Taishan server, it will take 6 seconds dumping each SFP eeprom. Currently "show hardware-interfaces", "show hardware-interfaces verbose" and "show hardware-interfaces detail" give exactly the same output, and they all will dump SFP eeprom. Is that possible to move the SFP eeprom dump to "show hardware-interfaces detail" only and to use "show hardware-interfaces verbose" in CSIT script (Juraj has confirmed that SFP info is not really used in CSIT script)? Thanks.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13641): https://lists.fd.io/g/vpp-dev/message/13641 Mute This Topic: https://lists.fd.io/mt/32675016/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
