Home
last modified time | relevance | path

Searched refs:pkg_hdr (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_ddp.c202 struct i40e_package_header *pkg_hdr, in i40e_ddp_is_pkg_hdr_valid() argument
209 if (!pkg_hdr) in i40e_ddp_is_pkg_hdr_valid()
212 if (pkg_hdr->version.major > 0) { in i40e_ddp_is_pkg_hdr_valid()
213 struct i40e_ddp_version ver = pkg_hdr->version; in i40e_ddp_is_pkg_hdr_valid()
229 pkg_hdr_size = sizeof(u32) * (pkg_hdr->segment_count + 2U); in i40e_ddp_is_pkg_hdr_valid()
234 for (segment = 0; segment < pkg_hdr->segment_count; ++segment) { in i40e_ddp_is_pkg_hdr_valid()
235 u32 offset = pkg_hdr->segment_offset[segment]; in i40e_ddp_is_pkg_hdr_valid()
272 struct i40e_package_header *pkg_hdr; in i40e_ddp_load() local
280 pkg_hdr = (struct i40e_package_header *)data; in i40e_ddp_load()
281 if (!i40e_ddp_is_pkg_hdr_valid(netdev, pkg_hdr, size)) in i40e_ddp_load()
[all …]
Di40e_common.c5516 struct i40e_package_header *pkg_hdr) in i40e_find_segment_in_package() argument
5522 for (i = 0; i < pkg_hdr->segment_count; i++) { in i40e_find_segment_in_package()
5524 (struct i40e_generic_seg_header *)((u8 *)pkg_hdr + in i40e_find_segment_in_package()
5525 pkg_hdr->segment_offset[i]); in i40e_find_segment_in_package()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_ddp.c1476 struct ice_pkg_hdr *pkg_hdr) in ice_find_seg_in_pkg() argument
1481 pkg_hdr->pkg_format_ver.major, pkg_hdr->pkg_format_ver.minor, in ice_find_seg_in_pkg()
1482 pkg_hdr->pkg_format_ver.update, in ice_find_seg_in_pkg()
1483 pkg_hdr->pkg_format_ver.draft); in ice_find_seg_in_pkg()
1486 for (i = 0; i < le32_to_cpu(pkg_hdr->seg_count); i++) { in ice_find_seg_in_pkg()
1490 *)((u8 *)pkg_hdr + in ice_find_seg_in_pkg()
1491 le32_to_cpu(pkg_hdr->seg_offset[i])); in ice_find_seg_in_pkg()
1508 struct ice_pkg_hdr *pkg_hdr) in ice_init_pkg_info() argument
1512 if (!pkg_hdr) in ice_init_pkg_info()
1515 seg_hdr = ice_find_seg_in_pkg(hw, SEGMENT_TYPE_ICE, pkg_hdr); in ice_init_pkg_info()