epf_ntb_conf...ad_bar_clear(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ epf_ntb_config_sspad_bar_clear(9) πŸŽ€

okay so bestie, we're in the Kernel API Manual, on the epf_ntb_conf...ad_bar_clear(9) page. This one is short but it is doing real work β€” it is the clear function for the Config + Self scratchpad BAR. no cap. πŸ’…


✨ NAME ✨

  • epf_ntb_config_sspad_bar_clear β€” Clear Config + Self scratchpad BAR

πŸ¦‹ SYNOPSIS πŸ¦‹

void epf_ntb_config_sspad_bar_clear (struct epf_ntb *ntb );

🫢 ARGUMENTS 🫢

  • ntb β€” the EPC associated with one of the HOST which holds peer's outbound address.

🌸 DESCRIPTION 🌸

Okay so what it actually does: it clears BAR0 of EP CONTROLLER 1, which contains HOST1's config and self scratchpad region β€” and yes, that removes the inbound ATU configuration. πŸ’₯

While BAR0 is the default self scratchpad BAR, an NTB could have other BARs for self scratchpad (because of reserved BARs). This function can get the exact BAR used for self scratchpad from epf_ntb_bar[BAR_CONFIG].

Please note: the self scratchpad region and config region is combined to a single region and mapped using the same BAR. Also note: VHOST's peer scratchpad is HOST's self scratchpad. iykyk πŸ‘‘


🌈 RETURN 🌈

void β€” no value comes back, bestie. It just clears and vibes. πŸ’–


πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/pci/endpoint/functions/pci-epf-vntb.c

and the whole squad:


cute sign-off: from ./drivers/pci/endpoint/functions, dated October 2026, for the epf_ntb_conf...ad_bar_clear(9) page. mwah πŸ’‹βœ¨
πŸ“¦ where this page comes from