ENUM IPA_CMD_OPCODE(9)
π enum ipa_cmd_opcode(9) π
okay bestie, this is a page straight outta the Kernel API Manual β it's the enum ipa_cmd_opcode situation, and it's all about IPA immediate commands. yes, we're in kernel-land. bring a snack. π
β¨ NAME β¨
enum ipa_cmd_opcode β IPA immediate commands, bestie. that's the whole vibe check.
π¦ SYNOPSIS π¦
enum ipa_cmd_opcode {
IPA_CMD_NONE ,
IPA_CMD_IP_V4_FILTER_INIT ,
IPA_CMD_IP_V6_FILTER_INIT ,
IPA_CMD_IP_V4_ROUTING_INIT ,
IPA_CMD_IP_V6_ROUTING_INIT ,
IPA_CMD_HDR_INIT_LOCAL ,
IPA_CMD_REGISTER_WRITE ,
IPA_CMD_IP_PACKET_INIT ,
IPA_CMD_DMA_SHARED_MEM ,
IPA_CMD_IP_PACKET_TAG_STATUS
};
like, that's the whole cast of characters. main character energy from every single one. π
π Constants π
okay so here's the group chat roster, one by one:
IPA_CMD_NONEβ the special (invalid) "not a command" value. literally the nobody of this enum, it's giving placeholder. not a real command, bestie, don't be fooled. πIPA_CMD_IP_V4_FILTER_INITβ initializes the IPv4 filter table. slay. πIPA_CMD_IP_V6_FILTER_INITβ initializes the IPv6 filter table. v6 girlies rise. β¨IPA_CMD_IP_V4_ROUTING_INITβ initializes the IPv4 routing table. iconic. π₯IPA_CMD_IP_V6_ROUTING_INITβ initializes the IPv6 routing table. periodt. πIPA_CMD_HDR_INIT_LOCALβ initializes IPA-local header memory. obsessed with her. πIPA_CMD_REGISTER_WRITEβ a register write performed by IPA. she does the writing, not you. π«ΆIPA_CMD_IP_PACKET_INITβ sets up the next packet's destination endpoint. routing that packet to its destiny. π¦IPA_CMD_DMA_SHARED_MEMβ a DMA command performed by IPA. memory says share. πΈIPA_CMD_IP_PACKET_TAG_STATUSβ makes the next packet generate tag * status. yes, with the asterisk. keep it exactly like that. β
π Description π
so like, the one thing you gotta know: all immediate commands are issued using the AP command TX endpoint.
that's it, that's the tea. every single one of these cuties goes out through that endpoint, no exceptions, no cap. π
π SEE ALSO π
- Kernel file
./drivers/net/ipa/ipa_cmd.h ipa_cmd_table_init_valid(9)ipa_cmd_pool_init(9)ipa_cmd_pool_exit(9)ipa_cmd_table_init_add(9)ipa_cmd_hdr_init_local_add(9)ipa_cmd_register_write_add(9)ipa_cmd_dma_shared_mem_add(9)ipa_cmd_pipeline_clear_add(9)ipa_cmd_pipeline_clear_count(9)ipa_cmd_pipeline_clear_wait(9)ipa_cmd_trans_alloc(9)ipa_cmd_init(9)
go read those next, iykyk. no seriously, go read them. π
ngl this whole page lives in ./drivers/net/ipa and it's dated October 2026 β that's the source, the version, and the date all in one, so jot that down. π§
and that's the page, bestie!! you ate. enum ipa_cmd_opcode(9), out. πππ
π¦ 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