qeth_bridgeport_setrole(9)
π
qeth_bridgeport_setrole(9) π
okay so bestie, welcome to the Kernel API Manual page for qeth_bridgeport_setrole(9) β this is the function that assigns a primary role to the port, and it's giving very specific little kernel-task energy. β¨
πΈ NAME πΈ
qeth_bridgeport_setroleβ assign primary role to the port. π«
π¦ SYNOPSIS π¦
int qeth_bridgeport_setrole (struct qeth_card *card , enum
qeth_sbp_roles role );
π ARGUMENTS π
cardβqeth_cardstructure pointer. Like, hand over your card struct pointer and let the function do its thing. π³roleβ role to assign. It's chillin' as anenum qeth_sbp_roles, so it's typed and iconic. π
β¨ DESCRIPTION β¨
Returns a negative errno-compatible error indication, or 0 on success. That's the whole return vibe, bestie. 0? Slay. Negative errno-compatible error indication? Okay noted, it's giving "something went sideways" but in the official kernel way. ππ₯
π SEE ALSO π
Kernel file: ./drivers/s390/net/qeth_l2_main.c β and the whole friend group is 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_query_ports(9)qeth_bridgeport_an_set(9)qeth_bridgeport_allowed(9)
made with π and zero skipped details β source/version: ./drivers/s390/net, date: October 2026, page: qeth_bridgeport_setrole(9). byeee bestie π«Άβ¨
π¦ 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