Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.h98 struct mod_hdr_tbl *mod_hdr,
135 struct mod_hdr_tbl *mod_hdr, in mlx5_tc_ct_init() argument
H A Dtc_ct.c1566 struct mlx5_modify_hdr *mod_hdr; in tc_ct_pre_ct_add_rules() local
1585 mod_hdr = mlx5_modify_header_alloc(dev, ct_priv->ns_type, in tc_ct_pre_ct_add_rules()
1589 if (IS_ERR(mod_hdr)) { in tc_ct_pre_ct_add_rules()
1590 err = PTR_ERR(mod_hdr); in tc_ct_pre_ct_add_rules()
1594 pre_ct->modify_hdr = mod_hdr; in tc_ct_pre_ct_add_rules()
1599 flow_act.modify_hdr = mod_hdr; in tc_ct_pre_ct_add_rules()
2157 struct mod_hdr_tbl *mod_hdr, in mlx5_tc_ct_init() argument
2197 ct_priv->mod_hdr_tbl = mod_hdr; in mlx5_tc_ct_init()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile42 en_rep.o en/rep/bond.o en/mod_hdr.o \
H A 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()
5142 mlx5e_mod_hdr_tbl_init(&tc->mod_hdr); in mlx5e_tc_nic_init()
5189 tc->ct = mlx5_tc_ct_init(priv, tc->chains, &tc->mod_hdr, in mlx5e_tc_nic_init()
5249 mlx5e_mod_hdr_tbl_destroy(&tc->mod_hdr); in mlx5e_tc_nic_cleanup()
5306 &esw->offloads.mod_hdr, in mlx5e_tc_esw_init()
H A Deswitch_offloads.c2240 struct mlx5_modify_hdr *mod_hdr; in esw_create_restore_table() local
2296 mod_hdr = mlx5_modify_header_alloc(esw->dev, in esw_create_restore_table()
2299 if (IS_ERR(mod_hdr)) { in esw_create_restore_table()
2300 err = PTR_ERR(mod_hdr); in esw_create_restore_table()
2308 esw->offloads.restore_copy_hdr_id = mod_hdr; in esw_create_restore_table()
H A Deswitch.h290 struct mod_hdr_tbl mod_hdr; member
H A Deswitch.c1881 mlx5e_mod_hdr_tbl_init(&esw->offloads.mod_hdr); in mlx5_eswitch_init()
1933 mlx5e_mod_hdr_tbl_destroy(&esw->offloads.mod_hdr); in mlx5_eswitch_cleanup()