beiscsi_iface_config_vlan(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… beiscsi_iface_config_vlan β€” a Kernel API Manual moment (section 9, bestie)

okay so we're in the Kernel API Manual, section 9, and today's main character is beiscsi_iface_config_vlan. she's short, she's sweet, she sets a VLAN tag. let's get into it πŸŽ€


✨ NAME ✨

beiscsi_iface_config_vlan β€” literally just Set the VLAN TAG. that's the whole job. icon behavior.


πŸ¦‹ SYNOPSIS πŸ¦‹

int beiscsi_iface_config_vlan (struct Scsi_Host *shost , struct
       iscsi_iface_param_info *iface_param );

she takes two args and hands you back an int. no cap.


🌸 ARGUMENTS 🌸

  • shost β€” the Scsi Host for the driver instance. like, the actual host she's working with πŸ’–
  • iface_param β€” the Interface paramters. (yes that's how the page spells it, we don't gatekeep typos πŸ’€) this is where the interface details live.

⭐ DESCRIPTION ⭐

so what does she do? she sets the VLAN TAG for the adapter, or β€” plot twist β€” she disables the VLAN config. two moods, one function, we love a flexible queen πŸ‘‘

and the return situation:

returns Success: 0 Failure: Non-Zero Value

so 0 = slay, anything non-zero = something went sideways 😭


πŸ”₯ SEE ALSO πŸ”₯

the kernel file in question, for the curious:

./drivers/scsi/be2iscsi/be_iscsi.c

and the whole friend group of related functions β€” go say hi, they're all iconic:


that's the whole page bestie, we ate and left no crumbs 🫢

signing off from ./drivers/scsi/be2iscsi, dated October 2026 β€” catch you in the next manpage, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from