CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2019/04/10 04:14:37

Modified files:
        sbin/ifconfig  : Makefile ifconfig.c 
Added files:
        sbin/ifconfig  : sff.c 

Log message:
add support for fetching and parsing SFF module info and diags

this is very basic, and will get cut up a lot by sthen@ soon, but
it was enough to get us started with. at the moment it shows the
type of module, some vendor and products strings, and detects if
the device supports diag and then shows it. qsfp info is structured
very differently, but i'll let sfp support settle before trying to
make it look the same.

so far only ix(4) and some ixl(4) with up to date firmware implement
the backend ioctl for this. no em(4) yet :(

suggestions from mikeb@
ok deraadt@ sthen@

this was started because of a question from rachel roch

Reply via email to