STRUCT IDPF_MAC_FILTER(9)
πΈ struct idpf_mac_filter(9) πΈ
okay so bestie, welcome to the Kernel API Manual, and buckle up because today we're looking at a lil struct out of ./drivers/net/ethernet/intel/idpf π it's giving "small but important" and honestly? we're obsessed.
β¨ NAME β¨
struct idpf_mac_filter β no cap, that's the whole name section. the original page literally leaves the description blank, so we're not gonna invent one π she's mysterious, she's lowkey an icon, and that's that.
β¨ SYNOPSIS β¨
here's the whole vibe, copied exactly so you can't mess it up:
struct idpf_mac_filter {
struct list_head list;
u8 macaddr[ETH_ALEN];
bool remove;
bool add;
};
β¨ Members β¨
listβ the list member field. that's it, that's the whole job π she's astruct list_headdoing list-member things.macaddrβ the MAC address, chillin' in au8 macaddr[ETH_ALEN]. π¦removeβ aboolsaying the filter should be removed (virtchnl). bye bestie πaddβ aboolsaying the filter should be added (virtchnl). hiiii bestie πΈ
fr fr, those two flags are literally tagged (virtchnl) in the source β keep that in mind, iykyk.
β¨ SEE ALSO β¨
the whole friend group π«Ά all of these live in the kernel file ./drivers/net/ethernet/intel/idpf/idpf.h:
enum idpf_state(9)enum idpf_flags(9)enum idpf_cap_field(9)enum idpf_vport_state(9)struct idpf_netdev_priv(9)struct idpf_reset_reg(9)struct idpf_vport_max_q(9)struct idpf_reg_ops(9)struct idpf_dev_ops(9)enum idpf_vport_reset_cause(9)enum idpf_vport_flags(9)struct idpf_tstamp_stats(9)struct idpf_q_vec_rsrc(9)struct idpf_vport(9)enum idpf_user_flags(9)struct idpf_rss_data(9)struct idpf_q_coalesce(9)struct idpf_vport_user_config_data(9)enum idpf_vport_config_flags(9)struct idpf_avail_queue_info(9)struct idpf_vector_info(9)struct idpf_vector_lifo(9)struct idpf_queue_id_reg_chunk(9)struct idpf_queue_id_reg_info(9)struct idpf_vport_config(9)struct idpf_adapter(9)idpf_is_queue_model_split(9)idpf_is_rdma_cap_ena(9)idpf_get_reserved_vecs(9)idpf_get_reserved_rdma_vecs(9)idpf_get_default_vports(9)idpf_get_max_vports(9)idpf_get_max_tx_bufs(9)idpf_get_min_tx_pkt_len(9)idpf_is_reset_detected(9)idpf_is_reset_in_prog(9)idpf_netdev_to_vport(9)idpf_netdev_to_adapter(9)idpf_is_feature_ena(9)idpf_get_max_tx_hdr_size(9)idpf_vport_ctrl_lock(9)idpf_vport_ctrl_unlock(9)
and that's the whole page, bestie! π§π huge shoutout to the source at ./drivers/net/ethernet/intel/idpf, dated October 2026, rendered in the Kernel API Manual β mwah, slay, periodt. πβ¨
π¦ 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