ixgbe_mta_vector(9)
π ixgbe_mta_vector β a kernel API manual page (section 9, bestie)
Okay so first things first: this is ixgbe_mta_vector(9), living its best life in the Kernel API Manual, section 9. Yes, the function is literally named ixgbe_mta_vector and yes we're gonna get into it. π«Ά
β¨ NAME β¨
ixgbe_mta_vector β Determines bit-vector in multicast table to set
Like, that's the whole job. It figures out which bit-vector in the multicast table needs setting. Iconic, honestly. π
πΈ SYNOPSIS πΈ
int ixgbe_mta_vector (struct ixgbe_hw *hw , u8 *mc_addr );
That's it. That's the whole call. Two args, one int coming back at you. Slay. β¨
π ARGUMENTS π
hwβ pointer to hardware structure. Like, the actual hardware bestie. You're handing it over. πmc_addrβ the multicast address. The whole reason we're here.
π¦ DESCRIPTION π¦
So here's the tea, bestie. β This function extracts the 12 bits from a multicast address β yes, exactly 12 β to determine which bit-vector to set in the multicast table. That's the whole vibe check.
The hardware uses 12 bits, taken from incoming rx multicast addresses, to determine the bit-vector to check in the MTA. And because the universe loves options, there are 4 combinations of those 12-bits the hardware could be using β and which one it uses is set by the MO field of the MCSTCTRL.
And when does the MO field get set? During initialization, to mc_filter_type. So it's already decided before you even show up. Main character energy from the MO field, honestly. π
Ngl, the important part: you don't pick the combination. It was chosen at init time. You just extract the 12 bits and go. Periodt.
π₯ SEE ALSO π₯
Kernel file ./drivers/net/ethernet/intel/ixgbe/ixgbe_common.c β that's where this lives, go say hi. π
And then the entire friend group, in order, no cap:
ixgbe_device_supports_autoneg_fc(9)ixgbe_setup_fc_generic(9)ixgbe_start_hw_generic(9)ixgbe_start_hw_gen2(9)ixgbe_init_hw_generic(9)ixgbe_clear_hw_cntrs_generic(9)ixgbe_read_pba_string_generic(9)ixgbe_get_mac_addr_generic(9)ixgbe_get_bus_info_generic(9)ixgbe_set_lan_id_multi_port_pcie(9)ixgbe_stop_adapter_generic(9)ixgbe_init_led_link_act_generic(9)ixgbe_led_on_generic(9)ixgbe_led_off_generic(9)ixgbe_init_eeprom_params_generic(9)ixgbe_write_eeprom_buffer_bit_bang_generic(9)ixgbe_write_eeprom_buffer_bit_bang(9)ixgbe_write_eeprom_generic(9)ixgbe_read_eeprom_buffer_bit_bang_generic(9)ixgbe_read_eeprom_buffer_bit_bang(9)ixgbe_read_eeprom_bit_bang_generic(9)ixgbe_read_eerd_buffer_generic(9)ixgbe_detect_eeprom_page_size_generic(9)ixgbe_read_eerd_generic(9)ixgbe_write_eewr_buffer_generic(9)ixgbe_write_eewr_generic(9)ixgbe_poll_eerd_eewr_done(9)ixgbe_acquire_eeprom(9)ixgbe_get_eeprom_semaphore(9)ixgbe_release_eeprom_semaphore(9)ixgbe_ready_eeprom(9)ixgbe_standby_eeprom(9)ixgbe_shift_out_eeprom_bits(9)ixgbe_shift_in_eeprom_bits(9)ixgbe_raise_eeprom_clk(9)ixgbe_lower_eeprom_clk(9)ixgbe_release_eeprom(9)ixgbe_calc_eeprom_checksum_generic(9)ixgbe_validate_eeprom_checksum_generic(9)ixgbe_update_eeprom_checksum_generic(9)ixgbe_set_rar_generic(9)ixgbe_clear_rar_generic(9)ixgbe_init_rx_addrs_generic(9)ixgbe_set_mta(9)ixgbe_update_mc_addr_list_generic(9)ixgbe_enable_mc_generic(9)ixgbe_disable_mc_generic(9)ixgbe_fc_enable_generic(9)ixgbe_negotiate_fc(9)ixgbe_fc_autoneg_fiber(9)ixgbe_fc_autoneg_backplane(9)ixgbe_fc_autoneg_copper(9)ixgbe_fc_autoneg(9)ixgbe_pcie_timeout_poll(9)ixgbe_disable_pcie_primary(9)ixgbe_acquire_swfw_sync(9)ixgbe_release_swfw_sync(9)prot_autoc_read_generic(9)prot_autoc_write_generic(9)ixgbe_disable_rx_buff_generic(9)ixgbe_enable_rx_buff_generic(9)ixgbe_enable_rx_dma_generic(9)ixgbe_blink_led_start_generic(9)ixgbe_blink_led_stop_generic(9)ixgbe_get_san_mac_addr_offset(9)ixgbe_get_san_mac_addr_generic(9)ixgbe_get_pcie_msix_count_generic(9)ixgbe_clear_vmdq_generic(9)ixgbe_set_vmdq_generic(9)ixgbe_set_vmdq_san_mac_generic(9)ixgbe_init_uta_tables_generic(9)ixgbe_find_vlvf_slot(9)ixgbe_set_vfta_generic(9)ixgbe_clear_vfta_generic(9)ixgbe_need_crosstalk_fix(9)ixgbe_check_mac_link_generic(9)ixgbe_get_wwn_prefix_generic(9)ixgbe_set_mac_anti_spoofing(9)ixgbe_set_vlan_anti_spoofing(9)ixgbe_get_device_caps_generic(9)ixgbe_set_rxpba_generic(9)ixgbe_calculate_checksum(9)ixgbe_hic_unlocked(9)ixgbe_host_interface_command(9)ixgbe_set_fw_drv_ver_generic(9)ixgbe_clear_tx_pending(9)ixgbe_get_ets_data(9)ixgbe_get_thermal_sensor_data_generic(9)ixgbe_init_thermal_sensor_thresh_generic(9)ixgbe_get_orom_version(9)ixgbe_get_oem_prod_version(9)ixgbe_get_etk_id(9)ixgbe_setup_mac_link_multispeed_fiber(9)ixgbe_set_soft_rate_select_speed(9)
Okay that's genuinely the whole page, no filler, we ate and left no crumbs. π
Shoutout to the source this came from, ./drivers/net/ethernet/intel/i..., dated October 2026 β mwah, ily, thanks for the lore. πβ¨
π¦ 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