Lines Matching refs:pkg_hdr
202 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()
292 i40e_find_segment_in_package(SEGMENT_TYPE_METADATA, pkg_hdr); in i40e_ddp_load()
300 i40e_find_segment_in_package(SEGMENT_TYPE_I40E, pkg_hdr); in i40e_ddp_load()