qeth_bridgeport_query_ports(9)
β¨ qeth_bridgeport_query_ports β¨
okay so bestie, this is a page from the Kernel API Manual and it's literally all about asking your local bridgeport "hey girl, what's your status?" π
it's qeth_bridgeport_query_ports, and honestly? she's giving utility icon. π₯
πΈ NAME πΈ
qeth_bridgeport_query_ports β query local bridgeport status. that's it, that's the whole vibe. π
π¦ SYNOPSIS π¦
int qeth_bridgeport_query_ports (struct qeth_card *card , enum
qeth_sbp_roles *role , enum qeth_sbp_states *state , bool *os_mismatch
);
like, look at that signature. she's organized. she knows what she wants. π
π ARGUMENTS π
cardβ aqeth_cardstructure pointer, aka the main character of this whole operation. πroleβ the role of the port, and the vibes are numbered:0-none,1-primary,2-secondary. pick your lane, periodt. πstateβ the state of the port:0-inactive,1-standby,2-active. it's giving traffic light energy ngl. π¦os_mismatchβ if this one is non-NULL, it gets set totruewhen the firmware reports an OS family mismatch. so like... drama detected, basically. π
π DESCRIPTION π
okay so what does she return? she returns a negative errno-compatible error indication, or 0 on success. no cap. β¨
and also β hardware operation failure. that's a thing that's listed here, so bestie, we're listing it. hardware said no, and that's just how it is sometimes. π
fr fr, keep an eye on that negative return value β it's not decorative. π«Ά
π SEE ALSO π
kernel file ./drivers/s390/net/qeth_l2_main.c plus this whole squad right here:
qeth_l2_pnso(9)qeth_l2_dev2br_fdb_notify(9)qeth_l2_dev2br_an_set(9)qeth_l2_br2dev_worker(9)qeth_l2_bridge_setlink(9)qeth_l2_detect_dev2br_support(9)qeth_bridge_emit_host_event(9)qeth_bridgeport_query_support(9)qeth_bridgeport_setrole(9)qeth_bridgeport_an_set(9)qeth_bridgeport_allowed(9)
go read those too, iykyk. ππ«
and that's the page, bestie!! π this little gem lives over in ./drivers/s390/net and it's dated October 2026 β so yeah, she's from the future and she's still iconic. ππ slay, honestly. π¦πΈ
π¦ 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