Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
Dingress_ofld.c372 vport->metadata = metadata ? metadata : vport->default_metadata; in mlx5_esw_acl_ingress_vport_metadata_update()
382 vport->metadata = vport->default_metadata; in mlx5_esw_acl_ingress_vport_metadata_update()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c3143 vport->default_metadata = mlx5_esw_match_metadata_reserved(esw); in esw_offloads_vport_metadata_setup()
3145 vport->default_metadata = mlx5_esw_match_metadata_alloc(esw); in esw_offloads_vport_metadata_setup()
3147 vport->metadata = vport->default_metadata; in esw_offloads_vport_metadata_setup()
3154 if (!vport->default_metadata) in esw_offloads_vport_metadata_cleanup()
3160 WARN_ON(vport->metadata != vport->default_metadata); in esw_offloads_vport_metadata_cleanup()
3161 mlx5_esw_match_metadata_free(esw, vport->default_metadata); in esw_offloads_vport_metadata_cleanup()
Deswitch.h210 u32 default_metadata; member