Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/mlx5/
Dport.h156 int mlx5_set_port_pfc(struct mlx5_core_dev *dev, u8 pfc_en_tx, u8 pfc_en_rx);
158 u8 *pfc_en_rx);
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dport.c511 int mlx5_set_port_pfc(struct mlx5_core_dev *dev, u8 pfc_en_tx, u8 pfc_en_rx) in mlx5_set_port_pfc() argument
518 MLX5_SET(pfcc_reg, in, pfcrx, pfc_en_rx); in mlx5_set_port_pfc()
527 int mlx5_query_port_pfc(struct mlx5_core_dev *dev, u8 *pfc_en_tx, u8 *pfc_en_rx) in mlx5_query_port_pfc() argument
539 if (pfc_en_rx) in mlx5_query_port_pfc()
540 *pfc_en_rx = MLX5_GET(pfcc_reg, out, pfcrx); in mlx5_query_port_pfc()
Den_stats.c1198 u8 pfc_en_rx; in mlx5e_query_pfc_combined() local
1204 err = mlx5_query_port_pfc(mdev, &pfc_en_tx, &pfc_en_rx); in mlx5e_query_pfc_combined()
1206 return err ? 0 : pfc_en_tx | pfc_en_rx; in mlx5e_query_pfc_combined()