ice_vsi_ini...ted_vlan_ops(9)
π
ice_vsi_init_unsupported_vlan_ops π
okay so this is a page straight out of the Kernel API Manual bestie, and honestly? it's a short one but it's doing exactly what it needs to do. no notes. π«Ά
β¨ NAME β¨
ice_vsi_init_unsupported_vlan_ops β literally just sets all the VSI VLAN ops to "unsupported", that's the whole job π
πΈ SYNOPSIS πΈ
void ice_vsi_init_unsupported_vlan_ops(struct ice_vsi *vsi);
π¦ ARGUMENTS π¦
vsiβ the VSI you're initializing, and yeah we're setting its VSI VLAN ops to unsupported. that's the vibe check happening here π
π₯ DESCRIPTION π₯
so here's the tea: by default, all the inner and outer VSI VLAN ops return -EOPNOTSUPP. every single one. π
and the reason they did it this way β instead of just leaving the ops null β is to prevent unexpected crashes. like, not me leaving a null pointer hanging around, that's giving main character energy in the worst way possible π. so instead, if somebody calls an unsupported VSI VLAN op, it just politely returns -EOPNOTSUPP and everyone moves on with their lives. slay. β¨
no cap, this is the safe-girl-boss approach to function pointers: never leave 'em null, give 'em a default answer. π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/ice/ice_vsi_vlan_ops.c ice_vsi_init_vlan_ops(9)ice_get_compat_vsi_vlan_ops(9)
go read those next, iykyk π§
aaaand that's the page fr fr π β brought to you by ./drivers/net/ethernet/intel/ice, dated October 2026, same header name ice_vsi_ini...ted_vlan_ops(9) on both ends because symmetry ate π
π
π¦ 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