be_cmd_set_vlan(9)
β¨ be_cmd_set_vlan(9) β¨
okay so bestie, we're in the Kernel API Manual today and the star of the show is be_cmd_set_vlan(9) π pull up a chair, this one's short and sweet.
π NAME π
be_cmd_set_vlan β Configure VLAN paramters on the adapter π (and yes, "paramters" is literally how the original manpage spells it β we're preserving the typo, it's iconic, no cap π
)
π¦ SYNOPSIS π¦
int be_cmd_set_vlan (struct beiscsi_hba *phba , uint16_t vlan_tag );
like, that's the whole signature, she's compact and she knows it β¨
πΈ ARGUMENTS πΈ
phbaβ device priv structure instance π«Ά so this is your device's little private-struct bestie, the one that knows everything about the adapter.vlan_tagβ TAG to be set π·οΈ the actual VLAN tag value you're handing over.
π DESCRIPTION π
Set the VLAN_TAG for the adapter, or Disable VLAN on adapter π that's the whole vibe check β you're either tagging her up or turning VLAN off entirely.
returns TAG for the MBX Cmd β yep, it hands you back the TAG for the MBX Cmd, that's the return, that's the whole deal.
lowkey love how this page is like four lines long β main character energy is knowing when to stop talking π
π SEE ALSO π
- Kernel file
./drivers/scsi/be2iscsi/be_cmds.cπ (go read the source, iykyk) be_cmd_create_default_pdu_queue(9)be_cmd_wrbq_create(9)beiscsi_get_fw_config(9)beiscsi_get_port_name(9)beiscsi_cmd_iscsi_cleanup(9)
and that's the page!! fr fr go touch some kernel code π§β¨
source: ./drivers/scsi/be2iscsi Β· October 2026 β mwah, that's the version and date, sending you off with a lil kiss from your fave manpage ππ«ΆπΈ
π¦ 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