idpf_restore_mac_filters(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– idpf_restore_mac_filters(9) πŸ’–

okay so bestie, you're in the Kernel API Manual β€” welcome, you're gonna do great 🫢


✨ NAME ✨

idpf_restore_mac_filters β€” literally just re-adds, like, all the MAC filters in the list πŸ’…


🌸 SYNOPSIS 🌸

void idpf_restore_mac_filters (struct idpf_vport *vport );

πŸŽ€ ARGUMENTS πŸŽ€

  • vport β€” the main vport struct, the icon, the main character πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the tea β˜• β€” it takes the mac_filter_list_lock spinlock (yes, the spinlock, we're being polite and locking properly πŸ”’).

Then it sets the add field to true for the filters, so the filters get resynced back to HW. That's it. That's the whole vibe. Slay. ✨


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/net/ethernet/intel/idpf/idpf_lib.c πŸ“

and the whole friend group, fr fr β€” idpf_init_vector_stack(9), idpf_deinit_vector_stack(9), idpf_mb_intr_rel_irq(9), idpf_intr_rel(9), idpf_mb_intr_clean(9), idpf_mb_irq_enable(9), idpf_mb_intr_req_irq(9), idpf_mb_intr_init(9), idpf_vector_lifo_push(9), idpf_vector_lifo_pop(9), idpf_vector_stash(9), idpf_req_rel_vector_indexes(9), idpf_intr_req(9), idpf_del_all_flow_steer_filters(9), idpf_find_mac_filter(9), __idpf_del_mac_filter(9), idpf_del_mac_filter(9), __idpf_add_mac_filter(9), idpf_add_mac_filter(9), idpf_del_all_mac_filters(9), idpf_remove_mac_filters(9), idpf_deinit_mac_addr(9), idpf_init_mac_addr(9), idpf_cfg_netdev(9), idpf_get_free_slot(9), idpf_remove_features(9), idpf_vport_stop(9), idpf_stop(9), idpf_decfg_netdev(9), idpf_vport_rel(9), idpf_vport_dealloc(9), idpf_is_hsplit_supported(9), idpf_vport_get_hsplit(9), idpf_vport_set_hsplit(9), idpf_vport_alloc(9), idpf_get_stats64(9), idpf_statistics_task(9), idpf_mbx_task(9), idpf_service_task(9), idpf_restore_features(9), idpf_set_real_num_queues(9), idpf_up_complete(9), idpf_rx_init_buf_tail(9), idpf_vport_open(9), idpf_init_task(9), idpf_sriov_ena(9), idpf_sriov_configure(9), idpf_deinit_task(9), idpf_check_reset_complete(9), idpf_init_hard_reset(9), idpf_vc_event_task(9), idpf_initiate_soft_reset(9), idpf_addr_sync(9), idpf_addr_unsync(9), idpf_set_rx_mode(9), idpf_set_features(9), idpf_open(9), idpf_change_mtu(9), idpf_chk_tso_segment(9), idpf_features_check(9), idpf_set_mac(9)


okay that's the whole page, you ate that πŸ’…βœ¨

shoutout to the source, ./drivers/net/ethernet/intel/idpf, dated October 2026 β€” mwah, ily, bye bestie πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from