ice_locate_vsi_using_queue(9)
π ice_locate_vsi_using_queue(9) β Kernel API Manual π
okay bestie, so this is a Kernel API Manual page and it's literally about finding your VSI by its queue, no big deal. it's giving "where's my stuff" energy but make it β¨operating systemβ¨ π
π SYNOPSIS π
struct ice_vsi * ice_locate_vsi_using_queue(struct ice_vsi *vsi, int queue);
like, that's the whole vibe. it takes your vsi and your queue and hands you back a struct ice_vsi *, periodt. π«Ά
πΈ ARGUMENTS πΈ
vsiβ a pointer to your VSI. literally just a pointer. that's it. that's the whole thing. π¦queueβ the queue index. which queue? that queue. the one you're looking for. iykyk. π
β¨ DESCRIPTION β¨
so here's the tea, bestie. this function locates the VSI using the specified queue. that's it. that's the function. π
but wait, there's a twist (there's always a twist π):
- when ADQ is not enabled, it always just returns the input VSI. like, no cap, it doesn't even try. it's just like "here u go, same one, bye π"
- otherwise (when ADQ is enabled, slay), it locates the corresponding VSI based on the per-channel
offsetandqcount. like a little scavenger hunt but for network queues. iconic detective behavior fr fr π₯
so like... vibe check: it either gives you back what you gave it, or it goes digging through the per-channel offset and qcount to find the right one. both valid. both slay. π
π§ SEE ALSO π§
okay so the whole friend group is here, everybody came to the function page party π:
it all lives in the kernel file ./drivers/net/ethernet/intel/ice/ice_tc_lib.c (main character file energy), and these are all the besties you should also check out:
ice_tc_count_lkups(9)ice_tc_fill_rules(9)ice_tc_tun_get_type(9)ice_tc_forward_action(9)ice_add_tc_flower_adv_fltr(9)ice_tc_set_pppoe(9)ice_tc_set_ipv4(9)ice_tc_set_ipv6(9)ice_tc_set_tos_ttl(9)ice_tc_set_port(9)ice_parse_gtp_type(9)ice_parse_cls_flower(9)ice_add_switch_fltr(9)ice_prep_adq_filter(9)ice_handle_tclass_action(9)ice_parse_tc_flower_actions(9)ice_del_tc_fltr(9)ice_add_tc_fltr(9)ice_find_tc_flower_fltr(9)ice_add_cls_flower(9)ice_del_cls_flower(9)ice_replay_tc_fltrs(9)
like a whole squad of (9) pages, we love to see it πβ
ngl bestie, this one's short and sweet β no danger flags, no deprecated warnings, no undefined behavior lurking in the shadows. just a polite little "which VSI?" function. we stan a low-stakes king ππ
kisses and good vibes, this page came from ./drivers/net/ethernet/intel/ice, dated October 2026, and the whole thing is titled ice_locate_vsi_using_queue(9) β that's a wrap, bestie! ππ
π¦ 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