Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/acl/
H A Dingress_ofld.c393 vport->metadata = metadata ? metadata : vport->default_metadata; in mlx5_esw_acl_ingress_vport_metadata_update()
403 vport->metadata = vport->default_metadata; in mlx5_esw_acl_ingress_vport_metadata_update()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c3160 vport->default_metadata = mlx5_esw_match_metadata_reserved(esw); in esw_offloads_vport_metadata_setup()
3162 vport->default_metadata = mlx5_esw_match_metadata_alloc(esw); in esw_offloads_vport_metadata_setup()
3164 vport->metadata = vport->default_metadata; in esw_offloads_vport_metadata_setup()
3171 if (!vport->default_metadata) in esw_offloads_vport_metadata_cleanup()
3177 WARN_ON(vport->metadata != vport->default_metadata); in esw_offloads_vport_metadata_cleanup()
3178 mlx5_esw_match_metadata_free(esw, vport->default_metadata); in esw_offloads_vport_metadata_cleanup()
H A Deswitch.h210 u32 default_metadata; member