Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dint_port.c28 struct mapping_ctx *metadata_mapping; /* Metadata for source port rewrite and matching */ member
131 err = mapping_add(priv->metadata_mapping, mapped_key, id); in mlx5e_int_port_metadata_alloc()
145 mapping_remove(priv->metadata_mapping, id); in mlx5e_int_port_metadata_free()
321 int_port_priv->metadata_mapping = mapping_create_for_id(mapping_id, MAPPING_TYPE_INT_PORT, in mlx5e_tc_int_port_init()
324 if (IS_ERR(int_port_priv->metadata_mapping)) { in mlx5e_tc_int_port_init()
326 PTR_ERR(int_port_priv->metadata_mapping)); in mlx5e_tc_int_port_init()
349 mapping_destroy(priv->metadata_mapping); in mlx5e_tc_int_port_cleanup()