ixgbe_lpbthresh(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… ixgbe_lpbthresh(9) ๐Ÿ’…

okok so this is a page from the Kernel API Manual โ€” yes, that's the manual name, we're doing kernel internals today bestie, put your hair up ๐ŸŽ€


โœจ NAME โœจ

ixgbe_lpbthresh โ€” calculate low water mark for flow control ๐Ÿšฐโœจ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

int ixgbe_lpbthresh (struct ixgbe_adapter *adapter , int pb );

that's it. that's the whole vibe. one function, two args, she's iconic ๐Ÿ’…


๐Ÿฆ‹ ARGUMENTS ๐Ÿฆ‹

  • adapter โ€” the board private structure you're calculating for ๐Ÿซถ like, the whole adapter's private little world, and you're doing math on it
  • pb โ€” the packet buffer you're calculating, fr fr. this is the number that goes in ๐Ÿงฎ

๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘

lowkey the longest see-also section you've ever seen and honestly? she ate. first up, the actual source file:

  • Kernel file ./drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ๐Ÿ“

and then the whole extended friend group ๐Ÿ’– (all (9) sections, no cap):

  • ixgbe_pcie_from_parent, ixgbe_read_reg, ixgbe_set_ivar, ixgbe_get_vf_idx, ixgbe_tx_timeout_reset, ixgbe_tx_maxrate
  • ixgbe_update_tx_ring_stats, ixgbe_update_rx_ring_stats, ixgbe_pf_handle_tx_hang, ixgbe_vf_handle_tx_hang, ixgbe_check_illegal_queue, ixgbe_handle_mdd_event
  • ixgbe_clean_tx_irq, ixgbe_rx_is_fcoe, ixgbe_rx_checksum, ixgbe_alloc_rx_buffers, ixgbe_process_skb_fields, ixgbe_is_non_eop
  • ixgbe_pull_tail, ixgbe_dma_sync_frag, ixgbe_cleanup_headers, ixgbe_reuse_rx_page, ixgbe_add_rx_frag, ixgbe_clean_rx_irq
  • ixgbe_configure_msix, ixgbe_update_itr, ixgbe_write_eitr, ixgbe_check_overtemp_subtask, ixgbe_check_phy_fw_load, ixgbe_check_module_power
  • ixgbe_check_link_cfg_err, ixgbe_process_link_status_event, ixgbe_handle_link_status_event, ixgbe_schedule_fw_event, ixgbe_aci_event_cleanup, ixgbe_handle_fw_event
  • ixgbe_irq_enable, ixgbe_poll, ixgbe_request_msix_irqs, ixgbe_intr, ixgbe_request_irq, ixgbe_irq_disable
  • ixgbe_configure_msi_and_legacy, ixgbe_configure_tx_ring, ixgbe_configure_tx, ixgbe_rss_indir_tbl_entries, ixgbe_store_key, ixgbe_init_rss_key
  • ixgbe_store_reta, ixgbe_store_vfreta, ixgbe_configure_rscctl, ixgbe_configure_rx, ixgbe_vlan_strip_disable, ixgbe_vlan_strip_enable
  • ixgbe_write_mc_addr_list, ixgbe_set_rx_mode, ixgbe_configure_dcb, ixgbe_hpbthresh, ixgbe_clean_rx_ring, ixgbe_enable_link_status_events
  • ixgbe_disable_link_status_events, ixgbe_sfp_link_config, ixgbe_non_sfp_link_config, ixgbe_check_media_subtask, ixgbe_clear_vf_stats_counters, ixgbe_clean_tx_ring
  • ixgbe_clean_all_rx_rings, ixgbe_clean_all_tx_rings, ixgbe_set_eee_capable, ixgbe_tx_timeout, ixgbe_sw_init, ixgbe_setup_tx_resources
  • ixgbe_setup_all_tx_resources, ixgbe_setup_rx_resources, ixgbe_setup_all_rx_resources, ixgbe_free_tx_resources, ixgbe_free_all_tx_resources, ixgbe_free_rx_resources
  • ixgbe_free_all_rx_resources, ixgbe_max_xdp_frame_size, ixgbe_change_mtu, ixgbe_open, ixgbe_close, ixgbe_update_stats
  • ixgbe_fdir_reinit_subtask, ixgbe_check_hang_subtask, ixgbe_watchdog_update_link, ixgbe_watchdog_link_is_up, ixgbe_watchdog_link_is_down, ixgbe_watchdog_flush_tx
  • ixgbe_watchdog_subtask, ixgbe_sfp_detection_subtask, ixgbe_sfp_link_config_subtask, ixgbe_service_timer, ixgbe_check_fw_error, ixgbe_service_task
  • ixgbe_set_mac, ixgbe_add_sanmac_netdev, ixgbe_del_sanmac_netdev, ixgbe_validate_rtr, ixgbe_set_prio_tc_map, ixgbe_setup_tc
  • ixgbe_configure_bridge_mode, ixgbe_irq_disable_single, ixgbe_txrx_ring_disable, ixgbe_txrx_ring_enable, ixgbe_enumerate_functions, ixgbe_wol_supported
  • ixgbe_set_fw_version_e610, ixgbe_set_fw_version, ixgbe_recovery_probe, ixgbe_probe, ixgbe_remove, ixgbe_io_error_detected
  • ixgbe_io_slot_reset, ixgbe_io_resume, ixgbe_init_module, ixgbe_exit_module

๐Ÿ’€ reminder bestie: this is a kernel API page. no options, no flags, no exit codes, no env vars โ€” just one function and her 118 closest friends. if you were waiting for an OPTIONS section, she's not coming ๐Ÿซถ

and that's the whole page bestie, go calculate that low water mark for flow control ๐Ÿ’– this came out of ./drivers/net/ethernet/intel/i... with a date of October 2026, so mark your calendar, mwah ๐Ÿ’…โœจ๐ŸŽ€

๐Ÿ“ฆ where this page comes from