qeth_bridgeport_setrole(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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_card structure pointer. Like, hand over your card struct pointer and let the function do its thing. πŸ’³
  • role β€” role to assign. It's chillin' as an enum 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:


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