Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/pci/intel/ipu6/
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_info(&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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.h98 struct mod_hdr_tbl *mod_hdr,
135 struct mod_hdr_tbl *mod_hdr, in mlx5_tc_ct_init() argument
Dtc_ct.c1584 struct mlx5_modify_hdr *mod_hdr; in tc_ct_pre_ct_add_rules() local
1603 mod_hdr = mlx5_modify_header_alloc(dev, ct_priv->ns_type, in tc_ct_pre_ct_add_rules()
1607 if (IS_ERR(mod_hdr)) { in tc_ct_pre_ct_add_rules()
1608 err = PTR_ERR(mod_hdr); in tc_ct_pre_ct_add_rules()
1612 pre_ct->modify_hdr = mod_hdr; in tc_ct_pre_ct_add_rules()
1617 flow_act.modify_hdr = mod_hdr; in tc_ct_pre_ct_add_rules()
2245 struct mod_hdr_tbl *mod_hdr, in mlx5_tc_ct_init() argument
2285 ct_priv->mod_hdr_tbl = mod_hdr; in mlx5_tc_ct_init()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c218 struct mlx5_modify_hdr *mod_hdr; in create_chain_restore() local
272 mod_hdr = mlx5_modify_header_alloc(chains->dev, chains->ns, in create_chain_restore()
274 if (IS_ERR(mod_hdr)) { in create_chain_restore()
275 err = PTR_ERR(mod_hdr); in create_chain_restore()
278 chain->miss_modify_hdr = mod_hdr; in create_chain_restore()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile42 en_rep.o en/rep/bond.o en/mod_hdr.o \
Den_tc.c90 struct mod_hdr_tbl mod_hdr; member
654 &esw->offloads.mod_hdr : in get_mod_hdr_table()
655 &tc->mod_hdr; in get_mod_hdr_table()
5245 mlx5e_mod_hdr_tbl_init(&tc->mod_hdr); in mlx5e_tc_nic_init()
5292 tc->ct = mlx5_tc_ct_init(priv, tc->chains, &tc->mod_hdr, in mlx5e_tc_nic_init()
5352 mlx5e_mod_hdr_tbl_destroy(&tc->mod_hdr); in mlx5e_tc_nic_cleanup()
5409 &esw->offloads.mod_hdr, in mlx5e_tc_esw_init()
Deswitch.h291 struct mod_hdr_tbl mod_hdr; member
Deswitch_offloads.c2251 struct mlx5_modify_hdr *mod_hdr; in esw_create_restore_table() local
2307 mod_hdr = mlx5_modify_header_alloc(esw->dev, in esw_create_restore_table()
2310 if (IS_ERR(mod_hdr)) { in esw_create_restore_table()
2311 err = PTR_ERR(mod_hdr); in esw_create_restore_table()
2319 esw->offloads.restore_copy_hdr_id = mod_hdr; in esw_create_restore_table()
Deswitch.c1882 mlx5e_mod_hdr_tbl_init(&esw->offloads.mod_hdr); in mlx5_eswitch_init()
1934 mlx5e_mod_hdr_tbl_destroy(&esw->offloads.mod_hdr); in mlx5_eswitch_cleanup()