Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dmpesw.c15 u32 pf_metadata; in mlx5_mpesw_metadata_cleanup() local
21 pf_metadata = ldev->lag_mpesw.pf_metadata[i]; in mlx5_mpesw_metadata_cleanup()
22 if (!pf_metadata) in mlx5_mpesw_metadata_cleanup()
27 mlx5_esw_match_metadata_free(esw, pf_metadata); in mlx5_mpesw_metadata_cleanup()
28 ldev->lag_mpesw.pf_metadata[i] = 0; in mlx5_mpesw_metadata_cleanup()
36 u32 pf_metadata; in mlx5_mpesw_metadata_set() local
42 pf_metadata = mlx5_esw_match_metadata_alloc(esw); in mlx5_mpesw_metadata_set()
43 if (!pf_metadata) { in mlx5_mpesw_metadata_set()
48 ldev->lag_mpesw.pf_metadata[i] = pf_metadata; in mlx5_mpesw_metadata_set()
50 pf_metadata); in mlx5_mpesw_metadata_set()
H A Dmpesw.h12 u32 pf_metadata[MLX5_MAX_PORTS]; member