idpf_add_mac_filter(9)
π NAME π
okay so bestie, this is idpf_add_mac_filter(9), and weβre in the Kernel API Manual β¨ The whole point is literally Add a mac filter to the filter list β thatβs the name, thatβs the vibe, it ate. π
β¨ SYNOPSIS β¨
the signature is giving βkernel function realness,β so keep it exactly like this:
int idpf_add_mac_filter (struct idpf_vport *vport , struct
idpf_netdev_priv *np , const u8 *macaddr , bool async );
π«Ά ARGUMENTS π«Ά
vportβ Main vport structure. the main-character struct, no cap.npβ Netdev private structure. private like a finsta, but for netdev.macaddrβ The MAC address. the MAC address, literally the moment.asyncβ Don't wait for return message. lowkey βIβll check the group chat laterβ energy.
π DESCRIPTION π
Returns 0 on success or error on failure β periodt. If interface is up, weβll also send the virtchnl message to tell hardware about the filter. thatβs the tea, bestie: success gets 0, failure gets an error, and when the interface is up the hardware gets the virtchnl memo about the filter. π«Ά
π SEE ALSO π
okay this list is long but we are not skipping a single link, because every reference is iconic in its own way. The kernel file is ./drivers/net/ethernet/intel/idpf/idpf_lib.c, and then hereβs the whole crew:
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_del_all_mac_filters(9),idpf_restore_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)
xoxo, sourced from ./drivers/net/ethernet/intel/idpf, dated October 2026, page idpf_add_mac_filter(9) β bye bestie, go add those mac filters with main-character energy ππ«Ά
π¦ 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