ice_pg_nm_cam_key_init(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ice_pg_nm_cam_key_init(9) ✨

okay bestie, so this one lives in the Kernel API Manual and it's literally just a little parsing function that takes a chunk of raw data and unpacks 41 bits of the Parse Graph NoMatch CAM Key into a struct. that's it. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

void ice_pg_nm_cam_key_init (struct ice_pg_nm_cam_key *key , u64 data );

like, you hand it a pointer and a u64 and it does its thing. no return value, no drama. periodt. πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • key β€” pointer to the Parse Graph NoMatch CAM Key structure 🫢 this is where the parsed goodies get dropped off, so pls make sure it's valid before you come at it.
  • data β€” the Parse Graph NoMatch CAM Key data to be parsed ✨ this is the raw material, the 41 bits, the whole point of the function ngl.
no cap, that's genuinely the entire parameter list. two things. in, out. iconic.

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file for this whole neighborhood is at ./drivers/net/ethernet/intel/ice/ice_parser.c β€” like, that's the source of truth bestie, go read it 😭

and because the ice parser fam is huge, here's the full guest list (all (9) man pages, all of them, don't come for me):

ice_parser_sect_item_get(9), ice_parser_create_table(9), ice_imem_dump(9), ice_imem_bm_init(9), ice_imem_bkb_init(9), ice_imem_npkb_init(9), ice_imem_pgkb_init(9), ice_imem_alu_init(9), ice_imem_parse_item(9), ice_imem_table_get(9), ice_metainit_dump(9), ice_metainit_parse_item(9), ice_metainit_table_get(9), ice_bst_tcam_search(9), ice_pg_cam_dump(9), ice_pg_nm_cam_dump(9), ice_pg_cam_action_init(9), ice_pg_cam_key_init(9), ice_pg_cam_parse_item(9), ice_pg_sp_cam_parse_item(9), ice_pg_nm_cam_parse_item(9), ice_pg_nm_sp_cam_parse_item(9), ice_pg_cam_table_get(9), ice_pg_sp_cam_table_get(9), ice_pg_nm_cam_table_get(9), ice_pg_nm_sp_cam_table_get(9), ice_pg_cam_match(9), ice_pg_nm_cam_match(9)

okay and there's more, buckle up 🧚

ice_bst_tcam_dump(9), ice_bst_alu_init(9), ice_bst_pgkb_init(9), ice_bst_npkb_init(9), ice_bst_parse_item(9), ice_bst_tcam_table_get(9), ice_bst_lbl_table_get(9), ice_bst_tcam_match(9), ice_ptype_mk_tcam_dump(9), ice_ptype_mk_tcam_table_get(9), ice_ptype_mk_tcam_match(9), ice_mk_grp_dump(9), ice_mk_grp_table_get(9), ice_proto_grp_dump(9), ice_proto_off_parse(9), ice_proto_grp_parse_item(9), ice_proto_grp_table_get(9), ice_flg_rd_dump(9), ice_flg_rd_parse_item(9), ice_flg_rd_table_get(9), ice_flg_redirect(9)

and the grand finale, the translation-keyboard-and-parser squad πŸ‘‘πŸ”₯

ice_xlt_kb_dump(9), ice_kb_entry_init(9), ice_parse_kb_data(9), ice_xlt_kb_get_sw(9), ice_xlt_kb_get_acl(9), ice_xlt_kb_get_fd(9), ice_xlt_kb_get_rss(9), ice_xlt_kb_flag_get(9), ice_parser_create(9), ice_parser_destroy(9), ice_parser_run(9), ice_parser_result_dump(9), ice_parser_dvm_set(9), ice_parser_vxlan_tunnel_set(9), ice_parser_geneve_tunnel_set(9), ice_parser_ecpri_tunnel_set(9), ice_nearest_proto_id(9), ice_parser_profile_init(9), ice_parser_profile_dump(9)

like I said. huge. ate though. 🌈


sign-off era πŸ’œ this lil page ships out of ./drivers/net/ethernet/intel/ice and it's dated October 2026 β€” so yeah, future-coded of it, we love that for us. go parse those 41 bits bestie, ily, bye! πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from