STRUCT ETHTOOL_CMIS_CDB(9)
π struct ethtool_cmis_cdb(9) β like, the CDB commands parameters page, bestie
okay so this is a page from the Kernel API Manual (yes, that Kernel API Manual, the one that lives rent-free in every kernel dev's brain) and it's all about struct ethtool_cmis_cdb β the little struct that holds the params for your CDB commands. small struct, big main character energy β¨
πΈ NAME πΈ
struct ethtool_cmis_cdb β CDB commands parameters, fr fr. that's the whole vibe.
π SYNOPSIS π
struct ethtool_cmis_cdb {
u8 cmis_rev;
u8 read_write_len_ext;
u16 max_completion_time;
};
look at her. three fields. absolutely iconic. no notes π
β¨ Members β¨
cmis_revβ this one's au8and it's the CMIS revision major. like the major version number of CMIS. that's it, that's the field π«Άread_write_len_extβ also au8, and okay so this one's the allowable additional number of byte octets to the LPL in aREADor aWRITECDB commands. yes, exactly like that. it's giving "extra octets on top of the LPL" and we respect it πmax_completion_timeβ au16holding the maximum CDB command completion time in msec. msec!! milliseconds!! so you know exactly how long to wait before you start spiraling πβ±οΈ
π₯ SEE ALSO π₯
- the kernel file
./net/ethtool/cmis.hβ go read it, iykyk π struct ethtool_cmis_cdb_request(9)struct ethtool_cmis_cdb_cmd_args(9)struct ethtool_cmis_cdb_rpl_hdr(9)struct ethtool_cmis_cdb_rpl(9)
the whole friend group, lowkey a slay π
not me writing a whole manpage and it's literally three struct fields. anyway bestie, memorize them, the vibe check is tomorrow ππ
that's it, that's the page!! this cutie lives in ./net/ethtool, dated October 2026, and it's brought to you straight from the Kernel API Manual β periodt, go forth and cmis responsibly π§ββοΈπΈπ¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms