beiscsi_iface_config_vlan(9)
π 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:
beiscsi_session_create(9)beiscsi_session_destroy(9)beiscsi_session_fail(9)beiscsi_conn_create(9)beiscsi_conn_bind(9)beiscsi_ep_get_param(9)beiscsi_get_port_state(9)beiscsi_get_port_speed(9)beiscsi_get_host_param(9)beiscsi_conn_get_stats(9)beiscsi_set_params_for_offld(9)beiscsi_conn_start(9)beiscsi_get_cid(9)beiscsi_put_cid(9)beiscsi_free_ep(9)beiscsi_open_conn(9)beiscsi_ep_connect(9)beiscsi_ep_poll(9)beiscsi_flush_cq(9)beiscsi_conn_close(9)beiscsi_ep_disconnect(9)
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
- 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