Home
last modified time | relevance | path

Searched refs:mod_hdr (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-cpd.c268 const struct ipu6_cpd_module_data_hdr *mod_hdr = moduledata; in ipu6_cpd_validate_moduledata() local
272 if (moduledata_size < sizeof(*mod_hdr) || in ipu6_cpd_validate_moduledata()
273 moduledata_size < mod_hdr->hdr_len) { in ipu6_cpd_validate_moduledata()
278 dev_dbg(&isp->pdev->dev, "FW version: %x\n", mod_hdr->fw_pkg_date); in ipu6_cpd_validate_moduledata()
279 ret = ipu6_cpd_validate_cpd(isp, moduledata + mod_hdr->hdr_len, in ipu6_cpd_validate_moduledata()
280 moduledata_size - mod_hdr->hdr_len, in ipu6_cpd_validate_moduledata()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c223 struct mlx5_modify_hdr *mod_hdr; in create_chain_restore() local
277 mod_hdr = mlx5_modify_header_alloc(chains->dev, chains->ns, in create_chain_restore()
279 if (IS_ERR(mod_hdr)) { in create_chain_restore()
280 err = PTR_ERR(mod_hdr); in create_chain_restore()
283 chain->miss_modify_hdr = mod_hdr; in create_chain_restore()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c2248 struct mlx5_modify_hdr *mod_hdr; in esw_create_restore_table() local
2304 mod_hdr = mlx5_modify_header_alloc(esw->dev, in esw_create_restore_table()
2307 if (IS_ERR(mod_hdr)) { in esw_create_restore_table()
2308 err = PTR_ERR(mod_hdr); in esw_create_restore_table()
2316 esw->offloads.restore_copy_hdr_id = mod_hdr; in esw_create_restore_table()
H A Deswitch.h288 struct mod_hdr_tbl mod_hdr; member
H A Deswitch.c1890 mlx5e_mod_hdr_tbl_init(&esw->offloads.mod_hdr); in mlx5_eswitch_init()
1942 mlx5e_mod_hdr_tbl_destroy(&esw->offloads.mod_hdr); in mlx5_eswitch_cleanup()