Searched refs:pfc_en_tx (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/include/linux/mlx5/ |
D | port.h | 180 int mlx5_set_port_pfc(struct mlx5_core_dev *dev, u8 pfc_en_tx, u8 pfc_en_rx); 181 int mlx5_query_port_pfc(struct mlx5_core_dev *dev, u8 *pfc_en_tx,
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | port.c | 584 int mlx5_set_port_pfc(struct mlx5_core_dev *dev, u8 pfc_en_tx, u8 pfc_en_rx) in mlx5_set_port_pfc() argument 590 MLX5_SET(pfcc_reg, in, pfctx, pfc_en_tx); in mlx5_set_port_pfc() 600 int mlx5_query_port_pfc(struct mlx5_core_dev *dev, u8 *pfc_en_tx, u8 *pfc_en_rx) in mlx5_query_port_pfc() argument 609 if (pfc_en_tx) in mlx5_query_port_pfc() 610 *pfc_en_tx = MLX5_GET(pfcc_reg, out, pfctx); in mlx5_query_port_pfc()
|
D | en_stats.c | 1767 u8 pfc_en_tx; in mlx5e_query_pfc_combined() local 1774 err = mlx5_query_port_pfc(mdev, &pfc_en_tx, &pfc_en_rx); in mlx5e_query_pfc_combined() 1776 return err ? 0 : pfc_en_tx | pfc_en_rx; in mlx5e_query_pfc_combined()
|