ixgbe_disable_pcie_primary(9)
π ixgbe_disable_pcie_primary β a little field guide π
okay so bestie, welcome to the Kernel API Manual β¨ this one's about ixgbe_disable_pcie_primary, and honestly? the name is giving exactly what it does. no plot twists. let's go π¦
πΈ NAME πΈ
ixgbe_disable_pcie_primary β literally just Disable PCI-express primary access. that's it. that's the whole vibe. π
β¨ SYNOPSIS β¨
int ixgbe_disable_pcie_primary (struct ixgbe_hw *hw );
like, it returns an int and it takes one pointer. iconic minimalism π
π ARGUMENTS π
hwβ pointer to hardware structure π«Ά (yes, that's the whole description, and honestly? she said what she said.)
π DESCRIPTION π
so what she does is: disables PCI-Express primary access and then verifies there are no pending requests. very "turn it off and double-check that it's actually off" of her. π₯
and here's the return tea, iykyk: -EALREADY gets returned if the primary disable bit hasn't caused the primary requests to be disabled π β like the bit tried but the requests said "no ma'am." otherwise you get 0 returned, which signifies primary requests disabled. slay β
π
ngl, if you see -EALREADY it's not a "you broke it" situation, it's a "the thing is still pending" situation. read the room. π«Ά
π¦ SEE ALSO π¦
the source-of-truth file lives at: ./drivers/net/ethernet/intel/ixgbe/ixgbe_common.c π and here's the whole extended friend group β every single one of them, 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_mta_vector(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_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)
likeβ¦ that's a whole friend group and every single one made the guest list ππ«Ά
and that's the page, bestie β¨ this lil guy came from the source ./drivers/net/ethernet/intel/i... and the date on the tin is October 2026 π
β go forth and disable that primary access, you absolute main character πππΈ
π¦ 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