ice_parser_create_table(9)
π ice_parser_create_table (9) β Kernel API Manual vibes β¨
okay so bestie, welcome to the group chat π this lil function lives in the Kernel API Manual and honestly? it's giving "table architect." let's get into it π«Ά
β¨ NAME β¨
ice_parser_create_table β create an item table from a section π
πΈ SYNOPSIS πΈ
void * ice_parser_create_table (struct ice_hw *hw , u32 sect_type , u32
item_size , u32 length , void (*parse_item)(struct ice_hw *hw, u16 idx,
void *item, void *data, int size) , bool no_offset );
like yes she takes SIX things, she's a busy queen π
π¦ ARGUMENTS π¦
hwβ pointer to the hardware structure. the main character, the hardware itself π₯οΈsect_typeβ section type. which section we're pulling from, iykyk ποΈitem_sizeβ item size in bytes. gotta know how chunky each item is πlengthβ number of items in the table to create. how many lil guys are we fitting in here π’parse_itemβ the function to parse the item. the callback that does the actual parsing work, periodt π§no_offsetβ ignore header offset, calculate index from 0. so we're starting fresh from zero, no skipping π
π RETURN π
a pointer to the allocated table or ERR_PTR. so like... either you get your table, or you get an error pointer dressed as one π check it, bestie, always check it π₯
π SEE ALSO π
the kernel file where it all goes down π
- Kernel file
./drivers/net/ethernet/intel/ice/ice_parser.c
and the whole extended fam, no cap, every single one π«Ά:
ice_parser_sect_item_get(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_nm_cam_key_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)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)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)
lowkey that's a LOT of cross-references and every single one matters, so don't skip 'em π
and that's the whole page bestie, we ate and left no crumbs π
sign-off time π: this icon lives in ./drivers/net/ethernet/intel/ice β dated October 2026 β and the manual is ice_parser_create_table(9). slay π
β¨
π¦ 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