STRUCT ETHTOOL_CMIS_CDB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a u8 and 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 a u8, and okay so this one's the allowable additional number of byte octets to the LPL in a READ or a WRITE CDB commands. yes, exactly like that. it's giving "extra octets on top of the LPL" and we respect it πŸ’…
  • max_completion_time β€” a u16 holding 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